Home
last modified time | relevance | path

Searched refs:TPM2B_PUBLIC_KEY_RSA (Results 1 – 25 of 34) sorted by relevance

12

/external/tpm2-tss/test/integration/
Dsapi-asymmetric-encrypt-decrypt.int.c52 TPM2B_PUBLIC_KEY_RSA input_message = {sizeof(TPM2B_PUBLIC_KEY_RSA)-2,}; in test_invoke()
53 TPM2B_PUBLIC_KEY_RSA output_message = {sizeof(TPM2B_PUBLIC_KEY_RSA)-2,}; in test_invoke()
54 TPM2B_PUBLIC_KEY_RSA output_data = {sizeof(TPM2B_PUBLIC_KEY_RSA)-2,}; in test_invoke()
Desys-rsa-encrypt-decrypt.int.c48 TPM2B_PUBLIC_KEY_RSA *cipher = NULL; in test_esys_rsa_encrypt_decrypt()
49 TPM2B_PUBLIC_KEY_RSA *plain2 = NULL; in test_esys_rsa_encrypt_decrypt()
159 TPM2B_PUBLIC_KEY_RSA plain = {.size = plain_size,.buffer = {1, 2, 3} in test_esys_rsa_encrypt_decrypt()
/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_RSA_Encrypt.c18 const TPM2B_PUBLIC_KEY_RSA *message, in Tss2_Sys_RSA_Encrypt_Prepare()
84 TPM2B_PUBLIC_KEY_RSA *outData) in Tss2_Sys_RSA_Encrypt_Complete()
105 const TPM2B_PUBLIC_KEY_RSA *message, in Tss2_Sys_RSA_Encrypt()
108 TPM2B_PUBLIC_KEY_RSA *outData, in Tss2_Sys_RSA_Encrypt()
DTss2_Sys_RSA_Decrypt.c18 const TPM2B_PUBLIC_KEY_RSA *cipherText, in Tss2_Sys_RSA_Decrypt_Prepare()
85 TPM2B_PUBLIC_KEY_RSA *message) in Tss2_Sys_RSA_Decrypt_Complete()
106 const TPM2B_PUBLIC_KEY_RSA *cipherText, in Tss2_Sys_RSA_Decrypt()
109 TPM2B_PUBLIC_KEY_RSA *message, in Tss2_Sys_RSA_Decrypt()
/external/tpm2-tss/src/tss2-esys/api/
DEsys_RSA_Decrypt.c70 const TPM2B_PUBLIC_KEY_RSA *cipherText, in Esys_RSA_Decrypt()
73 TPM2B_PUBLIC_KEY_RSA **message) in Esys_RSA_Decrypt()
146 const TPM2B_PUBLIC_KEY_RSA *cipherText, in Esys_RSA_Decrypt_Async()
247 TPM2B_PUBLIC_KEY_RSA **message) in Esys_RSA_Decrypt_Finish()
268 *message = calloc(sizeof(TPM2B_PUBLIC_KEY_RSA), 1); in Esys_RSA_Decrypt_Finish()
DEsys_RSA_Encrypt.c71 const TPM2B_PUBLIC_KEY_RSA *message, in Esys_RSA_Encrypt()
74 TPM2B_PUBLIC_KEY_RSA **outData) in Esys_RSA_Encrypt()
148 const TPM2B_PUBLIC_KEY_RSA *message, in Esys_RSA_Encrypt_Async()
244 TPM2B_PUBLIC_KEY_RSA **outData) in Esys_RSA_Encrypt_Finish()
265 *outData = calloc(sizeof(TPM2B_PUBLIC_KEY_RSA), 1); in Esys_RSA_Encrypt_Finish()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DRSA_Decrypt_fp.h48 TPM2B_PUBLIC_KEY_RSA cipherText;
55 TPM2B_PUBLIC_KEY_RSA message;
DRSA_Encrypt_fp.h48 TPM2B_PUBLIC_KEY_RSA message;
55 TPM2B_PUBLIC_KEY_RSA outData;
DCryptRsa_fp.h131 TPM2B_PUBLIC_KEY_RSA *cOut, // OUT: the encrypted data
/external/tpm2-tss/src/tss2-fapi/api/
DFapi_Encrypt.c256 TPM2B_PUBLIC_KEY_RSA *tpmCipherText = NULL; in Fapi_Encrypt_Finish()
298 TPM2B_PUBLIC_KEY_RSA *rsa_message = (TPM2B_PUBLIC_KEY_RSA *)&context->aux_data; in Fapi_Encrypt_Finish()
DFapi_Decrypt.c241 TPM2B_PUBLIC_KEY_RSA *tpmPlainText = NULL; in Fapi_Decrypt_Finish()
303 TPM2B_PUBLIC_KEY_RSA *aux_data = (TPM2B_PUBLIC_KEY_RSA *)&context->aux_data; in Fapi_Decrypt_Finish()
/external/tpm2-tss/src/tss2-mu/
Dtpm2b-types.c322 TPM2B_MARSHAL (TPM2B_PUBLIC_KEY_RSA);
323 TPM2B_UNMARSHAL(TPM2B_PUBLIC_KEY_RSA, buffer);
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DRsaKeyCache.c79 TPM2B_PUBLIC_KEY_RSA publicModulus;
DAlgorithmTests.c350 static TPM2B_PUBLIC_KEY_RSA testInput; in TestRsaEncryptDecrypt()
351 static TPM2B_PUBLIC_KEY_RSA testOutput; in TestRsaEncryptDecrypt()
DCryptRsa.c1064 TPM2B_PUBLIC_KEY_RSA *cOut, // OUT: the encrypted data in CryptRsaEncrypt()
1075 TPM2B_PUBLIC_KEY_RSA dataIn; in CryptRsaEncrypt()
/external/tpm2-tss/include/tss2/
Dtss2_sys.h471 const TPM2B_PUBLIC_KEY_RSA *message,
477 TPM2B_PUBLIC_KEY_RSA *outData);
483 const TPM2B_PUBLIC_KEY_RSA *message,
486 TPM2B_PUBLIC_KEY_RSA *outData,
492 const TPM2B_PUBLIC_KEY_RSA *cipherText,
498 TPM2B_PUBLIC_KEY_RSA *message);
504 const TPM2B_PUBLIC_KEY_RSA *cipherText,
507 TPM2B_PUBLIC_KEY_RSA *message,
Dtss2_esys.h725 const TPM2B_PUBLIC_KEY_RSA *message,
728 TPM2B_PUBLIC_KEY_RSA **outData);
737 const TPM2B_PUBLIC_KEY_RSA *message,
744 TPM2B_PUBLIC_KEY_RSA **outData);
755 const TPM2B_PUBLIC_KEY_RSA *cipherText,
758 TPM2B_PUBLIC_KEY_RSA **message);
767 const TPM2B_PUBLIC_KEY_RSA *cipherText,
774 TPM2B_PUBLIC_KEY_RSA **message);
Dtss2_tpm2_types.h1413 } TPM2B_PUBLIC_KEY_RSA; typedef
1472 TPM2B_PUBLIC_KEY_RSA sig; /* The signature is the size of a public key. */
1531 TPM2B_PUBLIC_KEY_RSA rsa;
/external/tpm2-tss/src/tss2-fapi/
Dtpm_json_deserialize.h331 TPM2B_PUBLIC_KEY_RSA *out);
Dtpm_json_serialize.h378 ifapi_json_TPM2B_PUBLIC_KEY_RSA_serialize(const TPM2B_PUBLIC_KEY_RSA *in,
/external/tpm2-tss/test/unit/
Desys-tcti-rcs.c746 TPM2B_PUBLIC_KEY_RSA message = DUMMY_2B_DATA(.buffer); in test_RSA_Encrypt()
749 TPM2B_PUBLIC_KEY_RSA *outData; in test_RSA_Encrypt()
768 TPM2B_PUBLIC_KEY_RSA cipherText = DUMMY_2B_DATA(.buffer); in test_RSA_Decrypt()
771 TPM2B_PUBLIC_KEY_RSA *message; in test_RSA_Decrypt()
Desys-tpm-rcs.c726 TPM2B_PUBLIC_KEY_RSA message = DUMMY_2B_DATA(.buffer); in test_RSA_Encrypt()
729 TPM2B_PUBLIC_KEY_RSA *outData; in test_RSA_Encrypt()
748 TPM2B_PUBLIC_KEY_RSA cipherText = DUMMY_2B_DATA(.buffer); in test_RSA_Decrypt()
751 TPM2B_PUBLIC_KEY_RSA *message; in test_RSA_Decrypt()
Desys-resubmissions.c783 TPM2B_PUBLIC_KEY_RSA message = DUMMY_2B_DATA(.buffer); in test_RSA_Encrypt()
786 TPM2B_PUBLIC_KEY_RSA *outData; in test_RSA_Encrypt()
807 TPM2B_PUBLIC_KEY_RSA cipherText = DUMMY_2B_DATA(.buffer); in test_RSA_Decrypt()
810 TPM2B_PUBLIC_KEY_RSA *message; in test_RSA_Decrypt()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DTpmTypes.h1945 } TPM2B_PUBLIC_KEY_RSA; /* Structure */ typedef
2000 TPM2B_PUBLIC_KEY_RSA sig;
2082 TPM2B_PUBLIC_KEY_RSA rsa;
/external/tpm2-tss/doc/
Ddoxygen.dox825 …ndle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_PUBLIC_KEY_RSA *cipherText…
826 …_TR shandle3, const TPM2B_PUBLIC_KEY_RSA *cipherText, const TPMT_RSA_DECRYPT *inScheme, const TPM2…
827 \fn TSS2_RC Esys_RSA_Decrypt_Finish(ESYS_CONTEXT *esysContext, TPM2B_PUBLIC_KEY_RSA **message)
833 …ndle, ESYS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_PUBLIC_KEY_RSA *message, c…
834 …S_TR shandle3, const TPM2B_PUBLIC_KEY_RSA *message, const TPMT_RSA_DECRYPT *inScheme, const TPM2B_…
835 \fn TSS2_RC Esys_RSA_Encrypt_Finish(ESYS_CONTEXT *esysContext, TPM2B_PUBLIC_KEY_RSA **outData)
2076 \fn bool ifapi_TPM2B_PUBLIC_KEY_RSA_cmp(TPM2B_PUBLIC_KEY_RSA *in1,
2077 TPM2B_PUBLIC_KEY_RSA *in2)
2598 \fn TSS2_RC ifapi_json_TPM2B_PUBLIC_KEY_RSA_serialize(const TPM2B_PUBLIC_KEY_RSA *in, json_object *…
2852 TPM2B_PUBLIC_KEY_RSA *out)

12