/system/security/softkeymaster/ |
D | keymaster_openssl.cpp | 109 static int wrap_key(EVP_PKEY* pkey, int type, uint8_t** keyBlob, size_t* keyBlobLength) { in wrap_key() 211 Unique_EVP_PKEY pkey(EVP_PKEY_new()); in unwrap_key() local 226 static int generate_dsa_keypair(EVP_PKEY* pkey, const keymaster_dsa_keygen_params_t* dsa_params) { in generate_dsa_keypair() 276 static int generate_ec_keypair(EVP_PKEY* pkey, const keymaster_ec_keygen_params_t* ec_params) { in generate_ec_keypair() 331 static int generate_rsa_keypair(EVP_PKEY* pkey, const keymaster_rsa_keygen_params_t* rsa_params) { in generate_rsa_keypair() 368 Unique_EVP_PKEY pkey(EVP_PKEY_new()); in openssl_generate_keypair() local 421 Unique_EVP_PKEY pkey(EVP_PKCS82PKEY(pkcs8.get())); in openssl_import_keypair() local 444 Unique_EVP_PKEY pkey(unwrap_key(key_blob, key_blob_length)); in openssl_get_keypair_public() local 474 static int sign_dsa(EVP_PKEY* pkey, keymaster_dsa_sign_params_t* sign_params, const uint8_t* data, in sign_dsa() 506 static int sign_ec(EVP_PKEY* pkey, keymaster_ec_sign_params_t* sign_params, const uint8_t* data, in sign_ec() [all …]
|
/system/extras/verity/ |
D | generate_verity_key.c | 40 static int convert_to_mincrypt_format(RSA *rsa, RSAPublicKey *pkey) in convert_to_mincrypt_format() 89 RSAPublicKey pkey; in write_public_keyfile() local 118 EVP_PKEY *pkey = NULL; in convert_x509() local 180 EVP_PKEY* pkey = EVP_PKEY_new(); in generate_key() local
|
D | verify_boot_signature.c | 316 EVP_PKEY *pkey = NULL; in verify_signature() local
|
/system/keymaster/ |
D | openssl_utils.cpp | 84 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* pkey) { in convert_pkcs8_blob_to_evp() 109 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* pkey) { in KeyMaterialToEvpKey() 117 keymaster_error_t EvpKeyToKeyMaterial(const EVP_PKEY* pkey, KeymasterKeyBlob* key_blob) { in EvpKeyToKeyMaterial()
|
D | ec_key.cpp | 27 bool EcKey::EvpToInternal(const EVP_PKEY* pkey) { in EvpToInternal()
|
D | rsa_key.cpp | 27 bool RsaKey::EvpToInternal(const EVP_PKEY* pkey) { in EvpToInternal()
|
D | rsa_key_factory.cpp | 79 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in GenerateKey() local 129 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey; in UpdateImportKeyDescription() local
|
D | ec_key_factory.cpp | 95 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in GenerateKey() local 155 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey; in UpdateImportKeyDescription() local
|
D | asymmetric_key_factory.cpp | 52 EVP_PKEY* pkey = in LoadKey() local
|
D | ecdsa_keymaster1_operation.cpp | 91 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in GetEvpKey() local
|
D | rsa_keymaster1_operation.cpp | 107 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in GetEvpKey() local
|
D | asymmetric_key.cpp | 123 EVP_PKEY_Ptr pkey(EVP_PKEY_new()); in formatted_key_material() local 277 EVP_PKEY_Ptr pkey(EVP_PKEY_new()); in GenerateAttestation() local
|
D | keymaster0_engine.cpp | 191 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey(GetKeymaster0PublicKey(blob)); in BlobToRsaKey() local 216 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey(GetKeymaster0PublicKey(blob)); in BlobToEcKey() local
|
D | keymaster1_engine.cpp | 154 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey( in BuildRsaKey() local 196 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey( in BuildEcKey() local
|
D | ecdsa_operation.cpp | 40 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in CreateOperation() local
|
D | soft_keymaster_context.cpp | 583 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in ParseOldSoftkeymasterBlob() local 776 EVP_PKEY* pkey = d2i_PrivateKey(evp_key_type, nullptr /* pkey */, &key, key_length); in AttestationKey() local
|
D | rsa_operation.cpp | 48 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in GetRsaKey() local
|
/system/core/adb/ |
D | adb_auth_host.cpp | 62 static int RSA_to_RSAPublicKey(RSA *rsa, RSAPublicKey *pkey) in RSA_to_RSAPublicKey() 149 RSAPublicKey pkey; in write_public_keyfile() local 213 EVP_PKEY* pkey = EVP_PKEY_new(); in generate_key() local
|
/system/connectivity/shill/shims/ |
D | crypto_util.cc | 178 EVP_PKEY* pkey = *pkey_ptr; in VerifyCredentialsImpl() local 317 EVP_PKEY* pkey = NULL; in VerifyCredentials() local
|
/system/security/keystore-engine/ |
D | dsa_meth.cpp | 124 int dsa_pkey_setup(ENGINE *e, EVP_PKEY *pkey, const char *key_id) { in dsa_pkey_setup()
|
D | ecdsa_meth.cpp | 124 int ecdsa_pkey_setup(ENGINE *e, EVP_PKEY *pkey, const char *key_id) { in ecdsa_pkey_setup()
|
D | eng_keystore.cpp | 133 Unique_EVP_PKEY pkey(d2i_PUBKEY(NULL, &tmp, pubkeyLen)); in keystore_loadkey() local
|
D | rsa_meth.cpp | 212 int rsa_pkey_setup(ENGINE *e, EVP_PKEY *pkey, const char *key_id) { in rsa_pkey_setup()
|
D | android_engine.cpp | 425 Unique_EVP_PKEY pkey(d2i_PUBKEY(NULL, &inp, pubkey_len)); in EVP_PKEY_from_keystore() local
|
/system/security/keystore/ |
D | keystore.cpp | 418 Unique_EVP_PKEY pkey(EVP_PKCS82PKEY(pkcs8.get())); in importKey() local 628 Unique_EVP_PKEY pkey(PEM_read_bio_PrivateKey(b.get(), NULL, NULL, NULL)); in importBlobAsKey() local
|