Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dec_key.cpp32 EVP_PKEY_Ptr EcKey::InternalToEvp() const { in InternalToEvp()
33 EVP_PKEY_Ptr pkey(EVP_PKEY_new()); in InternalToEvp()
Dcurve25519_key.cpp42 EVP_PKEY_Ptr Curve25519Key::InternalToEvp() const { in InternalToEvp()
44 return EVP_PKEY_Ptr( in InternalToEvp()
Drsa_key.cpp31 EVP_PKEY_Ptr RsaKey::InternalToEvp() const { in InternalToEvp()
32 EVP_PKEY_Ptr pkey(EVP_PKEY_new()); in InternalToEvp()
Decdh_operation.cpp57 auto pkey = EVP_PKEY_Ptr(pkeyRaw); in Finish()
100 auto pkey = EVP_PKEY_Ptr(pkeyRaw); in Finish()
145 EVP_PKEY_Ptr pkey(ecdh_key.InternalToEvp()); in CreateOperation()
Dattestation_utils.cpp220 EVP_PKEY_Ptr get_attestation_key(keymaster_algorithm_t algorithm, const AttestationContext& context, in get_attestation_key()
226 EVP_PKEY_Ptr retval( in get_attestation_key()
264 EVP_PKEY_Ptr pkey(key.InternalToEvp()); in generate_attestation()
311 EVP_PKEY_Ptr signing_key; in generate_attestation()
Drsa_key_factory.cpp85 EVP_PKEY_Ptr pkey(EVP_PKEY_new()); in GenerateKey()
147 EVP_PKEY_Ptr pkey; in ImportKey()
178 EVP_PKEY_Ptr pkey; in UpdateImportKeyDescription()
Dasymmetric_key.cpp38 EVP_PKEY_Ptr pkey(InternalToEvp()); in formatted_key_material()
Dopenssl_utils.cpp110 EVP_PKEY_Ptr* pkey) { in KeyMaterialToEvpKey()
167 EVP_PKEY_Ptr pubKey(X509_get_pubkey(cert.get())); in GetEcdsa256KeyFromCert()
Dec_key_factory.cpp232 EVP_PKEY_Ptr pkey; in ImportKey()
323 EVP_PKEY_Ptr pkey; in ImportRawKey()
Decdsa_operation.cpp39 EVP_PKEY_Ptr pkey(ecdsa_key.InternalToEvp()); in CreateOperation()
Dcertificate_utils.cpp345 EVP_PKEY_Ptr pkey(key.InternalToEvp()); in generate_self_signed_cert()
Drsa_operation.cpp46 EVP_PKEY_Ptr pkey(rsa_key.InternalToEvp()); in GetRsaKey()
/system/keymaster/include/keymaster/km_openssl/
Dasymmetric_key.h43 virtual EVP_PKEY_Ptr InternalToEvp() const = 0;
Dattestation_utils.h47 EVP_PKEY_Ptr signing_key;
Dec_key.h41 EVP_PKEY_Ptr InternalToEvp() const override;
Dcurve25519_key.h48 EVP_PKEY_Ptr InternalToEvp() const override;
Drsa_key.h41 EVP_PKEY_Ptr InternalToEvp() const override;
Decdh_operation.h51 EVP_PKEY_Ptr ecdh_key_;
/system/security/keystore2/src/crypto/tests/
Dcertificate_utils_test.cpp160 EVP_PKEY_Ptr pkey(pkey_ptr); in TEST_P()
208 EVP_PKEY_Ptr decoded_pkey(X509_get_pubkey(decoded_cert.get())); in TEST_P()
259 EVP_PKEY_Ptr pkey(EVP_parse_private_key(&cbs)); in TEST_P()
315 EVP_PKEY_Ptr decoded_pkey(X509_get_pubkey(decoded_cert.get())); in TEST_P()
/system/keymaster/legacy_support/
Decdsa_keymaster1_operation.cpp87 EVP_PKEY_Ptr pkey(key.InternalToEvp()); in GetEvpKey()
Drsa_keymaster1_operation.cpp108 EVP_PKEY_Ptr pkey(key.InternalToEvp()); in GetEvpKey()
/system/security/keystore2/src/km_compat/
Dcertificate_test.cpp84 EVP_PKEY_Ptr decoded_pkey(X509_get_pubkey(decoded_cert.get())); in verify()
/system/keymaster/cppcose/
Dcppcose.cpp32 using EVP_PKEY_Ptr = bssl::UniquePtr<EVP_PKEY>; typedef
92 auto pkey = EVP_PKEY_Ptr(EVP_PKEY_new()); in ecdh()
114 auto privPkey = EVP_PKEY_Ptr(EVP_PKEY_new()); in ecdh()
/system/security/keystore2/test_utils/
Dffi_test_utils.cpp15 using keymaster::EVP_PKEY_Ptr;
151 EVP_PKEY_Ptr signing_pubkey(X509_get_pubkey(signing_cert.get())); in ChainSignaturesAreValid()
/system/keymaster/key_blob_utils/
Dsoftware_keyblobs.cpp215 EVP_PKEY_Ptr pkey(d2i_PrivateKey(type, nullptr, &p, privateLen)); in ParseOldSoftkeymasterBlob()