Home
last modified time | relevance | path

Searched refs:cipherText (Results 1 – 25 of 26) sorted by relevance

12

/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_RSA_Decrypt.c18 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/
DFapi_Encrypt.c78 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()
DFapi_Decrypt.c72 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/src/tss2-esys/api/
DEsys_RSA_Decrypt.c70 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/tpm2-tss/test/integration/
Dfapi-data-crypt.int.c193 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/libese/ready_se/google/keymint/KM200/Applet/src/com/android/javacard/keymaster/
DKMCose.java343 short protectedHeaders, short unprotectedHeaders, short cipherText) { in constructRecipientsStructure() argument
356 KMArray.cast(arrPtr).add((short) 2, cipherText); in constructRecipientsStructure() local
401 short protectedHeader, short unProtectedHeader, short cipherText, short recipients) { in constructCoseEncrypt() argument
414 KMArray.cast(arrPtr).add((short) 2, cipherText); in constructCoseEncrypt() local
/external/rust/beto-rust/nearby/presence/ldt_np_jni/java/LdtNpJni/src/test/java/com/google/android/gms/nearby/presence/hazmat/
DLdtNpJniTests.kt139 val cipherText = EXPECTED_CIPHER_TEXT.decodeHex() in <lambda>() constant
143 val result = cipher.decryptAndVerify(salt, cipherText); in <lambda>()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DRSA_Decrypt_fp.h48 TPM2B_PUBLIC_KEY_RSA cipherText; member
/external/tpm2-tss/include/tss2/
Dtss2_fapi.h313 uint8_t **cipherText,
324 uint8_t **cipherText,
330 uint8_t const *cipherText,
338 uint8_t const *cipherText,
Dtss2_sys.h492 const TPM2B_PUBLIC_KEY_RSA *cipherText,
504 const TPM2B_PUBLIC_KEY_RSA *cipherText,
Dtss2_esys.h755 const TPM2B_PUBLIC_KEY_RSA *cipherText,
767 const TPM2B_PUBLIC_KEY_RSA *cipherText,
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java1314 byte[] cipherText = c.wrap(sk); in test_Cipher()
1318 Key decryptedKey = c.unwrap(cipherText, sk.getAlgorithm(), Cipher.SECRET_KEY); in test_Cipher()
1335 byte[] cipherText = c.doFinal(getActualPlainText(algorithm)); in test_Cipher()
1338 assertEquals(cipherID, Arrays.toString(cipherText), Arrays.toString(cipherText2)); in test_Cipher()
1345 byte[] decryptedPlainText = c.doFinal(cipherText); in test_Cipher()
1352 byte[] decryptedPlainText2 = c.doFinal(cipherText); in test_Cipher()
1363 decryptKey, cipherText); in test_Cipher()
1565 byte[] cipherText = c.doFinal(text); in test_Cipher_aborted_doFinal()
1570 byte[] plainText = c.doFinal(cipherText); in test_Cipher_aborted_doFinal()
1605 byte[] cipherText = encryptCipher.doFinal(prePaddedPlainText); in testInputPKCS1Padding()
[all …]
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherTest.java1327 byte[] cipherText = c.wrap(sk); in test_Cipher()
1331 Key decryptedKey = c.unwrap(cipherText, sk.getAlgorithm(), Cipher.SECRET_KEY); in test_Cipher()
1348 byte[] cipherText = c.doFinal(getActualPlainText(algorithm)); in test_Cipher()
1351 assertEquals(cipherID, Arrays.toString(cipherText), Arrays.toString(cipherText2)); in test_Cipher()
1358 byte[] decryptedPlainText = c.doFinal(cipherText); in test_Cipher()
1365 byte[] decryptedPlainText2 = c.doFinal(cipherText); in test_Cipher()
1376 decryptKey, cipherText); in test_Cipher()
1577 byte[] cipherText = c.doFinal(text); in test_Cipher_aborted_doFinal()
1582 byte[] plainText = c.doFinal(cipherText); in test_Cipher_aborted_doFinal()
1617 byte[] cipherText = encryptCipher.doFinal(prePaddedPlainText); in testInputPKCS1Padding()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Asymmetric/
DRSA_Decrypt.c101 result = CryptRsaDecrypt(&out->message.b, &in->cipherText.b, rsaKey, in TPM2_RSA_Decrypt()
/external/google-cloud-java/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/
Dtask.proto318 // The value of the cipherText response from the `encrypt` method.
/external/google-cloud-java/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/
Dtask.proto336 // The value of the cipherText response from the `encrypt` method.
/external/googleapis/google/cloud/batch/v1/
Dtask.proto424 // The value of the cipherText response from the `encrypt` method.
/external/tpm2-tss/test/unit/
Desys-tpm-rcs.c748 TPM2B_PUBLIC_KEY_RSA cipherText = DUMMY_2B_DATA(.buffer); in test_RSA_Decrypt() local
757 &cipherText, &inScheme, &label, &message); in test_RSA_Decrypt()
Desys-tcti-rcs.c768 TPM2B_PUBLIC_KEY_RSA cipherText = DUMMY_2B_DATA(.buffer); in test_RSA_Decrypt() local
777 &cipherText, &inScheme, &label, &message); in test_RSA_Decrypt()
Desys-resubmissions.c807 TPM2B_PUBLIC_KEY_RSA cipherText = DUMMY_2B_DATA(.buffer); in test_RSA_Decrypt() local
816 &cipherText, &inScheme, &label, &message); in test_RSA_Decrypt()
/external/googleapis/google/cloud/batch/v1alpha/
Dtask.proto443 // The value of the cipherText response from the `encrypt` method.
/external/tpm2-tss/doc/
Ddoxygen.dox825 …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/googleapis/google/cloud/lifesciences/v2beta/
Dworkflows.proto304 // The value of the cipherText response from the `encrypt` method. This field
/external/google-cloud-java/java-life-sciences/proto-google-cloud-life-sciences-v2beta/src/main/proto/google/cloud/lifesciences/v2beta/
Dworkflows.proto304 // The value of the cipherText response from the `encrypt` method. This field
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCommandDispatcher.h437 result = TPM2B_PUBLIC_KEY_RSA_Unmarshal(&in->cipherText, paramBuffer, paramBufferSize);

12