/external/tpm2-tss/src/tss2-sys/api/ |
D | Tss2_Sys_RSA_Decrypt.c | 18 const TPM2B_PUBLIC_KEY_RSA *cipherText, in Tss2_Sys_RSA_Decrypt_Prepare() argument 38 if (!cipherText) { in Tss2_Sys_RSA_Decrypt_Prepare() 46 rval = Tss2_MU_TPM2B_PUBLIC_KEY_RSA_Marshal(cipherText, in Tss2_Sys_RSA_Decrypt_Prepare() 106 const TPM2B_PUBLIC_KEY_RSA *cipherText, in Tss2_Sys_RSA_Decrypt() argument 118 rval = Tss2_Sys_RSA_Decrypt_Prepare(sysContext, keyHandle, cipherText, in Tss2_Sys_RSA_Decrypt()
|
/external/tpm2-tss/src/tss2-fapi/api/ |
D | Fapi_Encrypt.c | 78 uint8_t **cipherText, in Fapi_Encrypt() argument 89 check_not_null(cipherText); in Fapi_Encrypt() 116 r = Fapi_Encrypt_Finish(context, cipherText, cipherTextSize); in Fapi_Encrypt() 242 uint8_t **cipherText, in Fapi_Encrypt_Finish() argument 251 check_not_null(cipherText); in Fapi_Encrypt_Finish() 342 *cipherText = malloc(tpmCipherText->size); in Fapi_Encrypt_Finish() 343 goto_if_null2(*cipherText, "Out of memory", r, TSS2_FAPI_RC_MEMORY, in Fapi_Encrypt_Finish() 346 memcpy(*cipherText, &tpmCipherText->buffer[0], tpmCipherText->size); in Fapi_Encrypt_Finish()
|
D | Fapi_Decrypt.c | 72 uint8_t const *cipherText, in Fapi_Decrypt() argument 84 check_not_null(cipherText); in Fapi_Decrypt() 100 r = Fapi_Decrypt_Async(context, keyPath, cipherText, cipherTextSize); in Fapi_Decrypt() 155 uint8_t const *cipherText, in Fapi_Decrypt_Async() argument 159 LOG_TRACE("cipherText: %s", cipherText); in Fapi_Decrypt_Async() 166 check_not_null(cipherText); in Fapi_Decrypt_Async() 182 memcpy(inData, cipherText, cipherTextSize); in Fapi_Decrypt_Async()
|
/external/tpm2-tss/test/integration/ |
D | fapi-data-crypt.int.c | 193 uint8_t *cipherText = NULL; in test_fapi_data_crypt() local 239 SIZE, &cipherText, &cipherTextSize); in test_fapi_data_crypt() 250 r = Fapi_Decrypt(context, "HS/SRK/myRsaCryptKey", cipherText, cipherTextSize, in test_fapi_data_crypt() 260 Fapi_Free(cipherText); in test_fapi_data_crypt() 268 Fapi_Free(cipherText); in test_fapi_data_crypt()
|
/external/tpm2-tss/src/tss2-esys/api/ |
D | Esys_RSA_Decrypt.c | 70 const TPM2B_PUBLIC_KEY_RSA *cipherText, in Esys_RSA_Decrypt() argument 78 shandle3, cipherText, inScheme, label); in Esys_RSA_Decrypt() 146 const TPM2B_PUBLIC_KEY_RSA *cipherText, in Esys_RSA_Decrypt_Async() argument 153 esysContext, keyHandle, cipherText, inScheme, label); in Esys_RSA_Decrypt_Async() 178 : keyHandleNode->rsrc.handle, cipherText, in Esys_RSA_Decrypt_Async()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/ |
D | RSA_Decrypt_fp.h | 48 TPM2B_PUBLIC_KEY_RSA cipherText; member
|
/external/tpm2-tss/include/tss2/ |
D | tss2_fapi.h | 313 uint8_t **cipherText, 324 uint8_t **cipherText, 330 uint8_t const *cipherText, 338 uint8_t const *cipherText,
|
D | tss2_sys.h | 492 const TPM2B_PUBLIC_KEY_RSA *cipherText, 504 const TPM2B_PUBLIC_KEY_RSA *cipherText,
|
D | tss2_esys.h | 755 const TPM2B_PUBLIC_KEY_RSA *cipherText, 767 const TPM2B_PUBLIC_KEY_RSA *cipherText,
|
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/ |
D | CipherTest.java | 1277 byte[] cipherText = c.wrap(sk); in test_Cipher() 1281 Key decryptedKey = c.unwrap(cipherText, sk.getAlgorithm(), Cipher.SECRET_KEY); in test_Cipher() 1298 byte[] cipherText = c.doFinal(getActualPlainText(algorithm)); in test_Cipher() 1301 assertEquals(cipherID, Arrays.toString(cipherText), Arrays.toString(cipherText2)); in test_Cipher() 1308 byte[] decryptedPlainText = c.doFinal(cipherText); in test_Cipher() 1315 byte[] decryptedPlainText2 = c.doFinal(cipherText); in test_Cipher() 1326 decryptKey, cipherText); in test_Cipher() 1528 byte[] cipherText = c.doFinal(text); in test_Cipher_aborted_doFinal() 1533 byte[] plainText = c.doFinal(cipherText); in test_Cipher_aborted_doFinal() 1568 byte[] cipherText = encryptCipher.doFinal(prePaddedPlainText); in testInputPKCS1Padding() [all …]
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/ |
D | CipherTest.java | 1281 byte[] cipherText = c.wrap(sk); in test_Cipher() 1285 Key decryptedKey = c.unwrap(cipherText, sk.getAlgorithm(), Cipher.SECRET_KEY); in test_Cipher() 1302 byte[] cipherText = c.doFinal(getActualPlainText(algorithm)); in test_Cipher() 1305 assertEquals(cipherID, Arrays.toString(cipherText), Arrays.toString(cipherText2)); in test_Cipher() 1312 byte[] decryptedPlainText = c.doFinal(cipherText); in test_Cipher() 1319 byte[] decryptedPlainText2 = c.doFinal(cipherText); in test_Cipher() 1330 decryptKey, cipherText); in test_Cipher() 1532 byte[] cipherText = c.doFinal(text); in test_Cipher_aborted_doFinal() 1537 byte[] plainText = c.doFinal(cipherText); in test_Cipher_aborted_doFinal() 1572 byte[] cipherText = encryptCipher.doFinal(prePaddedPlainText); in testInputPKCS1Padding() [all …]
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Asymmetric/ |
D | RSA_Decrypt.c | 101 result = CryptRsaDecrypt(&out->message.b, &in->cipherText.b, rsaKey, in TPM2_RSA_Decrypt()
|
/external/tpm2-tss/test/unit/ |
D | esys-tcti-rcs.c | 768 TPM2B_PUBLIC_KEY_RSA cipherText = DUMMY_2B_DATA(.buffer); in test_RSA_Decrypt() local 777 &cipherText, &inScheme, &label, &message); in test_RSA_Decrypt()
|
D | esys-tpm-rcs.c | 748 TPM2B_PUBLIC_KEY_RSA cipherText = DUMMY_2B_DATA(.buffer); in test_RSA_Decrypt() local 757 &cipherText, &inScheme, &label, &message); in test_RSA_Decrypt()
|
D | esys-resubmissions.c | 807 TPM2B_PUBLIC_KEY_RSA cipherText = DUMMY_2B_DATA(.buffer); in test_RSA_Decrypt() local 816 &cipherText, &inScheme, &label, &message); in test_RSA_Decrypt()
|
/external/tpm2-tss/doc/ |
D | doxygen.dox | 825 …ndle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_PUBLIC_KEY_RSA *cipherText, const TPMT_RSA_… 826 …ndle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_PUBLIC_KEY_RSA *cipherText, const TPMT_RSA_… 1320 uint8_t **cipherText, 1331 uint8_t **cipherText, 1341 uint8_t const *cipherText, 1349 uint8_t const *cipherText,
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/ |
D | CommandDispatcher.h | 437 result = TPM2B_PUBLIC_KEY_RSA_Unmarshal(&in->cipherText, paramBuffer, paramBufferSize);
|
D | CommandDispatchData.h | 1151 /* offsets */ {(UINT16)(offsetof(RSA_Decrypt_In, cipherText)),
|