Home
last modified time | relevance | path

Searched refs:EVP_PKEY_Ptr (Results 1 – 12 of 12) sorted by relevance

/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp157 using EVP_PKEY_Ptr = bssl::UniquePtr<EVP_PKEY>; typedef
174 EVP_PKEY_Ptr generateP256Key() { in generateP256Key()
176 EVP_PKEY_Ptr pkey(EVP_PKEY_new()); in generateP256Key()
661 auto pkey = EVP_PKEY_Ptr(EVP_PKEY_new()); in certificateSignedByPublicKey()
707 EVP_PKEY_Ptr signingPubkey(X509_get_pubkey(signingCert.get())); in certificateChainValidate()
735 auto pkey = EVP_PKEY_Ptr(EVP_PKEY_new()); in checkEcDsaSignature()
832 EVP_PKEY_Ptr pkey = generateP256Key(); in createEcKeyPairAndAttestation()
860 EVP_PKEY_Ptr pkey = generateP256Key(); in createEcKeyPairWithAttestationKey()
912 auto pkey = EVP_PKEY_Ptr(EVP_PKEY_new()); in createAttestationForEcPublicKey()
942 auto pkey = EVP_PKEY_Ptr(EVP_PKEY_new()); in createEcKeyPair()
[all …]
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyBlobUpgradeTest.cpp528 EVP_PKEY_Ptr localPrivKey(EVP_PKEY_new_raw_private_key( in TEST_P()
550 EVP_PKEY_Ptr kmPubKey = EVP_PKEY_Ptr(X509_get_pubkey(kmKeyCert.get())); in TEST_P()
DKeyMintTest.cpp1246 EVP_PKEY_Ptr signing_pubkey; in TEST_P()
1323 EVP_PKEY_Ptr signing_pubkey; in TEST_P()
4322 EVP_PKEY_Ptr kmPubKey(X509_get_pubkey(kmKeyCert.get())); in TEST_P()
4360 EVP_PKEY_Ptr kmPubKey(X509_get_pubkey(kmKeyCert.get())); in TEST_P()
8477 void GenerateLocalEcKey(EcCurve localCurve, EVP_PKEY_Ptr* localPrivKey, in GenerateLocalEcKey()
8484 *localPrivKey = EVP_PKEY_Ptr(EVP_PKEY_new_raw_private_key( in GenerateLocalEcKey()
8493 *localPrivKey = EVP_PKEY_Ptr(EVP_PKEY_new()); in GenerateLocalEcKey()
8506 void GenerateKeyMintEcKey(EcCurve curve, EVP_PKEY_Ptr* kmPubKey) { in GenerateKeyMintEcKey()
8523 *kmPubKey = EVP_PKEY_Ptr(X509_get_pubkey(kmKeyCert.get())); in GenerateKeyMintEcKey()
8532 void CheckAgreement(EVP_PKEY_Ptr kmPubKey, EVP_PKEY_Ptr localPrivKey, in CheckAgreement()
[all …]
DKeyMintAidlTestBase.cpp994 EVP_PKEY_Ptr pub_key(X509_get_pubkey(key_cert.get())); in LocalVerifyMessage()
1118 EVP_PKEY_Ptr pub_key(X509_get_pubkey(key_cert.get())); in LocalRsaEncryptMessage()
2023 EVP_PKEY_Ptr signing_pubkey(X509_get_pubkey(signing_cert.get())); in ChainSignaturesAreValid()
2221 void p256_pub_key(const vector<uint8_t>& coseKeyData, EVP_PKEY_Ptr* signingKey) { in p256_pub_key()
2250 EVP_PKEY_Ptr pubKey = EVP_PKEY_Ptr(EVP_PKEY_new()); in p256_pub_key()
DKeyMintAidlTestBase.h429 void p256_pub_key(const vector<uint8_t>& coseKeyData, EVP_PKEY_Ptr* signingKey);
/hardware/interfaces/security/keymint/support/
Dremote_prov_utils.cpp51 using EVP_PKEY_Ptr = bssl::UniquePtr<EVP_PKEY>; typedef
119 ErrMsgOr<bytevec> getRawPublicKey(const EVP_PKEY_Ptr& pubKey) { in getRawPublicKey()
805 EVP_PKEY_Ptr pubKey(X509_get_pubkey(keyCert->get())); in validateCertChain()
809 EVP_PKEY_Ptr signingPubKey(X509_get_pubkey(signingCert->get())); in validateCertChain()
/hardware/interfaces/keymaster/4.1/vts/functional/
DDeviceUniqueAttestationTest.cpp204 EVP_PKEY_Ptr signing_pubkey(X509_get_pubkey(signing_cert.get())); in check_certificate_chain_signatures()
/hardware/interfaces/identity/aidl/vts/
DUtil.cpp78 ::aidl::android::hardware::security::keymint::EVP_PKEY_Ptr publicKey; in createFakeRemotelyProvisionedCertificateChain()
/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp271 EVP_PKEY_Ptr signing_pubkey(X509_get_pubkey(signing_cert.get())); in verify_chain()
306 EVP_PKEY_Ptr signing_pubkey(X509_get_pubkey(signing_cert.get())); in verify_chain()
1700 EVP_PKEY_Ptr pkey(d2i_PUBKEY(nullptr /* alloc new */, &p, pubkey.size())); in TEST_P()
1782 EVP_PKEY_Ptr pkey(d2i_PUBKEY(nullptr /* alloc new */, &p, pubkey.size())); in TEST_P()
2449 EVP_PKEY_Ptr pkey(d2i_PUBKEY(nullptr /* alloc new */, &p, exported.size())); in TEST_P()
/hardware/interfaces/security/keymint/aidl/vts/performance/
DKeyMintBenchmark.cpp325 EVP_PKEY_Ptr pub_key(X509_get_pubkey(key_cert.get())); in LocalRsaEncryptMessage()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp307 EVP_PKEY_Ptr signing_pubkey(X509_get_pubkey(signing_cert.get())); in verify_chain()
2076 EVP_PKEY_Ptr pkey(d2i_PUBKEY(nullptr /* alloc new */, &p, pubkey.size())); in TEST_P()
2160 EVP_PKEY_Ptr pkey(d2i_PUBKEY(nullptr /* alloc new */, &p, pubkey.size())); in TEST_P()
2617 EVP_PKEY_Ptr pkey(d2i_PUBKEY(nullptr /* alloc new */, &p, exported.size())); in TEST_P()
/hardware/interfaces/security/rkp/aidl/vts/functional/
DVtsRemotelyProvisionedComponentTests.cpp399 EVP_PKEY_Ptr signing_pubkey; in TEST_P()