Home
last modified time | relevance | path

Searched refs:decryptKey (Results 1 – 10 of 10) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptUtil.c650 OBJECT *decryptKey, // IN: decrypt key in CryptSecretDecrypt() argument
663 switch(decryptKey->publicArea.type) in CryptSecretDecrypt()
670 = &decryptKey->publicArea.parameters.rsaDetail.scheme; in CryptSecretDecrypt()
680 scheme.details.oaep.hashAlg = decryptKey->publicArea.nameAlg; in CryptSecretDecrypt()
699 decryptKey, &scheme, label); in CryptSecretDecrypt()
718 decryptKey->publicArea.parameters.eccDetail.curveID, in CryptSecretDecrypt()
719 &eccPublic, &decryptKey->sensitive.sensitive.ecc, in CryptSecretDecrypt()
726 CryptHashGetDigestSize(decryptKey->publicArea.nameAlg); in CryptSecretDecrypt()
741 CryptKDFe(decryptKey->publicArea.nameAlg, &eccSecret.x.b, label, in CryptSecretDecrypt()
743 &decryptKey->publicArea.unique.ecc.x.b, in CryptSecretDecrypt()
[all …]
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
DKeyAgreementHelper.java38 void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception { in test() argument
41 keyAgreement.doPhase(decryptKey, true); in test()
DSignatureHelper.java40 public void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception { in test() argument
46 signature.initVerify(decryptKey); in test()
DCipherHelper.java39 public void test(Key encryptKey, Key decryptKey) throws Exception { in test() argument
44 cipher.init(mode2, decryptKey); in test()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
DKeyAgreementHelper.java42 void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception { in test() argument
45 keyAgreement.doPhase(decryptKey, true); in test()
DSignatureHelper.java44 public void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception { in test() argument
50 signature.initVerify(decryptKey); in test()
DCipherHelper.java43 public void test(Key encryptKey, Key decryptKey) throws Exception { in test() argument
48 cipher.init(mode2, decryptKey); in test()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java1224 Key decryptKey = getDecryptKey(algorithm); in test_Cipher() local
1226 test_Cipher_init_Decrypt_NullParameters(c, decryptMode, decryptKey, decryptSpec != null); in test_Cipher()
1228 c.init(decryptMode, decryptKey, decryptSpec); in test_Cipher()
1280 … c.init(Cipher.UNWRAP_MODE, decryptKey, getDecryptAlgorithmParameterSpec(encryptSpec, c)); in test_Cipher()
1304 c.init(Cipher.DECRYPT_MODE, decryptKey, decryptSpec); in test_Cipher()
1326 decryptKey, cipherText); in test_Cipher()
1328 test_Cipher_aborted_doFinal(c, algorithm, providerName, encryptKey, decryptKey); in test_Cipher()
1515 Key encryptKey, Key decryptKey) throws Exception { in test_Cipher_aborted_doFinal() argument
1529 c.init(Cipher.DECRYPT_MODE, decryptKey, getDecryptAlgorithmParameterSpec(encryptSpec, c)); in test_Cipher_aborted_doFinal()
1565 …adding(String provider, byte[] prePaddedPlainText, Key encryptKey, Key decryptKey) throws Exceptio… in testInputPKCS1Padding() argument
[all …]
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherTest.java1228 Key decryptKey = getDecryptKey(algorithm); in test_Cipher() local
1230 test_Cipher_init_Decrypt_NullParameters(c, decryptMode, decryptKey, decryptSpec != null); in test_Cipher()
1232 c.init(decryptMode, decryptKey, decryptSpec); in test_Cipher()
1284 … c.init(Cipher.UNWRAP_MODE, decryptKey, getDecryptAlgorithmParameterSpec(encryptSpec, c)); in test_Cipher()
1308 c.init(Cipher.DECRYPT_MODE, decryptKey, decryptSpec); in test_Cipher()
1330 decryptKey, cipherText); in test_Cipher()
1332 test_Cipher_aborted_doFinal(c, algorithm, providerName, encryptKey, decryptKey); in test_Cipher()
1519 Key encryptKey, Key decryptKey) throws Exception { in test_Cipher_aborted_doFinal() argument
1533 c.init(Cipher.DECRYPT_MODE, decryptKey, getDecryptAlgorithmParameterSpec(encryptSpec, c)); in test_Cipher_aborted_doFinal()
1569 …adding(String provider, byte[] prePaddedPlainText, Key encryptKey, Key decryptKey) throws Exceptio… in testInputPKCS1Padding() argument
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DCryptUtil_fp.h184 OBJECT *decryptKey, // IN: decrypt key