/system/keymaster/km_openssl/ |
D | ec_key.cpp | 27 bool EcKey::EvpToInternal(const EVP_PKEY* pkey) { in EvpToInternal() 33 EVP_PKEY_Ptr pkey(EVP_PKEY_new()); in InternalToEvp() local
|
D | rsa_key.cpp | 26 bool RsaKey::EvpToInternal(const EVP_PKEY* pkey) { in EvpToInternal() 32 EVP_PKEY_Ptr pkey(EVP_PKEY_new()); in InternalToEvp() local
|
D | ecdh_operation.cpp | 57 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
|
D | openssl_utils.cpp | 71 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()
|
D | asymmetric_key.cpp | 38 EVP_PKEY_Ptr pkey(InternalToEvp()); in formatted_key_material() local
|
D | rsa_key_factory.cpp | 84 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
|
D | ec_key_factory.cpp | 107 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
|
D | curve25519_key.cpp | 38 bool Curve25519Key::EvpToInternal(const EVP_PKEY* pkey) { in EvpToInternal()
|
D | asymmetric_key_factory.cpp | 56 EVP_PKEY* pkey = d2i_PrivateKey(asym_key->evp_key_type(), nullptr /* pkey */, &tmp, in LoadKey() local
|
D | ecdsa_operation.cpp | 39 EVP_PKEY_Ptr pkey(ecdsa_key.InternalToEvp()); in CreateOperation() local
|
D | certificate_utils.cpp | 344 EVP_PKEY_Ptr pkey(key.InternalToEvp()); in generate_self_signed_cert() local
|
D | attestation_utils.cpp | 264 EVP_PKEY_Ptr pkey(key.InternalToEvp()); in generate_attestation() local
|
D | rsa_operation.cpp | 46 EVP_PKEY_Ptr pkey(rsa_key.InternalToEvp()); in GetRsaKey() local
|
/system/extras/verity/ |
D | generate_verity_key.c | 65 EVP_PKEY *pkey = NULL; in convert_x509() local 127 EVP_PKEY* pkey = EVP_PKEY_new(); in generate_key() local
|
/system/keymint/boringssl/src/ |
D | ec.rs | 76 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
|
D | rsa.rs | 175 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/ |
D | ecdsa_keymaster1_operation.cpp | 87 EVP_PKEY_Ptr pkey(key.InternalToEvp()); in GetEvpKey() local
|
D | rsa_keymaster1_operation.cpp | 108 EVP_PKEY_Ptr pkey(key.InternalToEvp()); in GetEvpKey() local
|
D | keymaster1_engine.cpp | 146 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/ |
D | certificate_utils_test.cpp | 160 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/ |
D | CertUtils.cpp | 307 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/ |
D | software_keyblobs.cpp | 215 EVP_PKEY_Ptr pkey(d2i_PrivateKey(type, nullptr, &p, privateLen)); in ParseOldSoftkeymasterBlob() local
|
/system/security/keystore-engine/ |
D | keystore2_engine.cpp | 415 auto pkey = extractPubKey(*response.metadata.certificate); in EVP_PKEY_from_keystore2() local
|
/system/keymaster/cppcose/ |
D | cppcose.cpp | 92 auto pkey = EVP_PKEY_Ptr(EVP_PKEY_new()); in ecdh() local
|
/system/security/keystore2/src/km_compat/ |
D | km_compat.cpp | 1087 auto pkey = EVP_parse_public_key(&cbs); in makeCert() local
|