Home
last modified time | relevance | path

Searched defs:pkey (Results 1 – 25 of 25) sorted by relevance

/system/keymaster/km_openssl/
Dec_key.cpp27 bool EcKey::EvpToInternal(const EVP_PKEY* pkey) { in EvpToInternal()
33 EVP_PKEY_Ptr pkey(EVP_PKEY_new()); in InternalToEvp() local
Drsa_key.cpp26 bool RsaKey::EvpToInternal(const EVP_PKEY* pkey) { in EvpToInternal()
32 EVP_PKEY_Ptr pkey(EVP_PKEY_new()); in InternalToEvp() local
Decdh_operation.cpp57 auto pkey = EVP_PKEY_Ptr(pkeyRaw); in Finish() local
100 auto pkey = EVP_PKEY_Ptr(pkeyRaw); in Finish() local
145 EVP_PKEY_Ptr pkey(ecdh_key.InternalToEvp()); in CreateOperation() local
Dopenssl_utils.cpp71 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* pkey) { in convert_pkcs8_blob_to_evp()
110 EVP_PKEY_Ptr* pkey) { in KeyMaterialToEvpKey()
117 keymaster_error_t EvpKeyToKeyMaterial(const EVP_PKEY* pkey, KeymasterKeyBlob* key_blob) { in EvpKeyToKeyMaterial()
Dasymmetric_key.cpp38 EVP_PKEY_Ptr pkey(InternalToEvp()); in formatted_key_material() local
Drsa_key_factory.cpp84 EVP_PKEY_Ptr pkey(EVP_PKEY_new()); in GenerateKey() local
146 EVP_PKEY_Ptr pkey; in ImportKey() local
177 EVP_PKEY_Ptr pkey; in UpdateImportKeyDescription() local
Dec_key_factory.cpp107 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey; in GenerateKey() local
231 EVP_PKEY_Ptr pkey; in ImportKey() local
322 EVP_PKEY_Ptr pkey; in ImportRawKey() local
383 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey; in UpdateImportKeyDescription() local
Dcurve25519_key.cpp38 bool Curve25519Key::EvpToInternal(const EVP_PKEY* pkey) { in EvpToInternal()
Dasymmetric_key_factory.cpp56 EVP_PKEY* pkey = d2i_PrivateKey(asym_key->evp_key_type(), nullptr /* pkey */, &tmp, in LoadKey() local
Decdsa_operation.cpp39 EVP_PKEY_Ptr pkey(ecdsa_key.InternalToEvp()); in CreateOperation() local
Dcertificate_utils.cpp344 EVP_PKEY_Ptr pkey(key.InternalToEvp()); in generate_self_signed_cert() local
Dattestation_utils.cpp264 EVP_PKEY_Ptr pkey(key.InternalToEvp()); in generate_attestation() local
Drsa_operation.cpp46 EVP_PKEY_Ptr pkey(rsa_key.InternalToEvp()); in GetRsaKey() local
/system/extras/verity/
Dgenerate_verity_key.c65 EVP_PKEY *pkey = NULL; in convert_x509() local
127 EVP_PKEY* pkey = EVP_PKEY_new(); in generate_key() local
/system/keymint/boringssl/src/
Dec.rs76 let pkey = ossl!(openssl::pkey::PKey::generate_ed25519())?; in generate_ed25519_key() localVariable
90 let pkey = ossl!(openssl::pkey::PKey::generate_x25519())?; in generate_x25519_key() localVariable
112 let pkey = ossl!(openssl::pkey::PKey::private_key_from_raw_bytes( in ed25519_public_key() localVariable
120 let pkey = ossl!(openssl::pkey::PKey::private_key_from_raw_bytes( in x25519_public_key() localVariable
194 let pkey = ossl!(openssl::pkey::PKey::from_ec_key(ec_key))?; in finish() localVariable
249 pkey: openssl::pkey::PKey<openssl::pkey::Private>, field
271 let pkey = ossl!(openssl::pkey::PKey::from_ec_key(ec_key))?; in new() localVariable
369 pkey: openssl::pkey::PKey<openssl::pkey::Private>, field
375 let pkey = ossl!(openssl::pkey::PKey::private_key_from_raw_bytes( in new() localVariable
Drsa.rs175 pkey: openssl::pkey::PKey<openssl::pkey::Private>, field
199 let pkey = ossl!(openssl::pkey::PKey::from_rsa(rsa_key))?; in new() localVariable
/system/keymaster/legacy_support/
Decdsa_keymaster1_operation.cpp87 EVP_PKEY_Ptr pkey(key.InternalToEvp()); in GetEvpKey() local
Drsa_keymaster1_operation.cpp108 EVP_PKEY_Ptr pkey(key.InternalToEvp()); in GetEvpKey() local
Dkeymaster1_engine.cpp146 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey( in BuildRsaKey() local
185 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey( in BuildEcKey() local
/system/security/keystore2/src/crypto/tests/
Dcertificate_utils_test.cpp160 EVP_PKEY_Ptr pkey(pkey_ptr); in TEST_P() local
259 EVP_PKEY_Ptr pkey(EVP_parse_private_key(&cbs)); in TEST_P() local
/system/security/ondevice-signing/
DCertUtils.cpp307 Result<std::vector<uint8_t>> extractPublicKey(EVP_PKEY* pkey) { in extractPublicKey()
355 static Result<std::vector<uint8_t>> extractRsaPublicKey(EVP_PKEY* pkey) { in extractRsaPublicKey()
390 bssl::UniquePtr<EVP_PKEY> pkey(X509_get_pubkey(x509)); in verifyAndExtractCertInfoFromX509() local
/system/keymaster/key_blob_utils/
Dsoftware_keyblobs.cpp215 EVP_PKEY_Ptr pkey(d2i_PrivateKey(type, nullptr, &p, privateLen)); in ParseOldSoftkeymasterBlob() local
/system/security/keystore-engine/
Dkeystore2_engine.cpp415 auto pkey = extractPubKey(*response.metadata.certificate); in EVP_PKEY_from_keystore2() local
/system/keymaster/cppcose/
Dcppcose.cpp92 auto pkey = EVP_PKEY_Ptr(EVP_PKEY_new()); in ecdh() local
/system/security/keystore2/src/km_compat/
Dkm_compat.cpp1087 auto pkey = EVP_parse_public_key(&cbs); in makeCert() local