/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/ |
D | KeyAgreementHelper.java | 38 void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception { in test() argument 40 keyAgreement.init(encryptKey); in test()
|
D | SignatureHelper.java | 40 public void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception { in test() argument 42 signature.initSign(encryptKey); in test()
|
D | CipherHelper.java | 39 public void test(Key encryptKey, Key decryptKey) throws Exception { in test() argument 41 cipher.init(mode1, encryptKey); in test()
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/ |
D | KeyAgreementHelper.java | 42 void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception { in test() argument 44 keyAgreement.init(encryptKey); in test()
|
D | SignatureHelper.java | 44 public void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception { in test() argument 46 signature.initSign(encryptKey); in test()
|
D | CipherHelper.java | 43 public void test(Key encryptKey, Key decryptKey) throws Exception { in test() argument 45 cipher.init(mode1, encryptKey); in test()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | CryptUtil.c | 524 OBJECT *encryptKey, // IN: encryption key object in CryptSecretEncrypt() argument 537 data->t.size = CryptHashGetDigestSize(encryptKey->publicArea.nameAlg); in CryptSecretEncrypt() 540 scheme.details.anySig.hashAlg = encryptKey->publicArea.nameAlg; in CryptSecretEncrypt() 542 if(!IS_ATTRIBUTE(encryptKey->publicArea.objectAttributes, TPMA_OBJECT, decrypt)) in CryptSecretEncrypt() 544 switch(encryptKey->publicArea.type) in CryptSecretEncrypt() 554 encryptKey, &scheme, label, NULL); in CryptSecretEncrypt() 570 encryptKey->publicArea.parameters.eccDetail.curveID, in CryptSecretEncrypt() 571 &encryptKey->publicArea.unique.ecc)) in CryptSecretEncrypt() 580 encryptKey->publicArea.parameters.eccDetail.curveID); in CryptSecretEncrypt() 591 encryptKey->publicArea.parameters.eccDetail.curveID, in CryptSecretEncrypt() [all …]
|
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/ |
D | CipherTest.java | 1158 Key encryptKey = getEncryptKey(algorithm); in test_Cipher() local 1179 test_Cipher_init_NullParameters(c, encryptMode, encryptKey); in test_Cipher() 1181 c.init(encryptMode, encryptKey, encryptSpec); in test_Cipher() 1276 c.init(Cipher.WRAP_MODE, encryptKey, encryptSpec); in test_Cipher() 1294 c.init(Cipher.ENCRYPT_MODE, encryptKey, encryptSpec); in test_Cipher() 1323 encryptKey, getActualPlainText(algorithm)); in test_Cipher() 1328 test_Cipher_aborted_doFinal(c, algorithm, providerName, encryptKey, decryptKey); in test_Cipher() 1402 private void test_Cipher_init_NullParameters(Cipher c, int encryptMode, Key encryptKey) in test_Cipher_init_NullParameters() argument 1405 c.init(encryptMode, encryptKey, (AlgorithmParameterSpec) null); in test_Cipher_init_NullParameters() 1413 c.init(encryptMode, encryptKey, (AlgorithmParameterSpec) null, (SecureRandom) null); in test_Cipher_init_NullParameters() [all …]
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/ |
D | CipherTest.java | 1162 Key encryptKey = getEncryptKey(algorithm); in test_Cipher() local 1183 test_Cipher_init_NullParameters(c, encryptMode, encryptKey); in test_Cipher() 1185 c.init(encryptMode, encryptKey, encryptSpec); in test_Cipher() 1280 c.init(Cipher.WRAP_MODE, encryptKey, encryptSpec); in test_Cipher() 1298 c.init(Cipher.ENCRYPT_MODE, encryptKey, encryptSpec); in test_Cipher() 1327 encryptKey, getActualPlainText(algorithm)); in test_Cipher() 1332 test_Cipher_aborted_doFinal(c, algorithm, providerName, encryptKey, decryptKey); in test_Cipher() 1406 private void test_Cipher_init_NullParameters(Cipher c, int encryptMode, Key encryptKey) in test_Cipher_init_NullParameters() argument 1409 c.init(encryptMode, encryptKey, (AlgorithmParameterSpec) null); in test_Cipher_init_NullParameters() 1417 c.init(encryptMode, encryptKey, (AlgorithmParameterSpec) null, (SecureRandom) null); in test_Cipher_init_NullParameters() [all …]
|
/external/tpm2-tss/test/integration/ |
D | sapi-session-util.c | 602 TPM2B_MAX_BUFFER encryptKey = TPM2B_MAX_BUFFER_INIT; in encrypt_param_cfb() local 605 rval = gen_session_key(session, &encryptKey, &iv, auth_value); in encrypt_param_cfb() 609 return encrypt_cfb(encrypted_data, clear_data, &encryptKey, &iv); in encrypt_param_cfb() 620 TPM2B_MAX_BUFFER encryptKey = TPM2B_MAX_BUFFER_INIT; in decrypt_param_cfb() local 623 rval = gen_session_key(session, &encryptKey, &iv, auth_value); in decrypt_param_cfb() 627 return decrypt_cfb(clear_data, encrypted_data, &encryptKey, &iv); in decrypt_param_cfb()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/ |
D | CryptUtil_fp.h | 155 OBJECT *encryptKey, // IN: encryption key object
|