Home
last modified time | relevance | path

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

12

/system/security/softkeymaster/
Dkeymaster_openssl.cpp109 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/
Dgenerate_verity_key.c40 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
Dverify_boot_signature.c316 EVP_PKEY *pkey = NULL; in verify_signature() local
/system/keymaster/
Dopenssl_utils.cpp84 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()
Dec_key.cpp27 bool EcKey::EvpToInternal(const EVP_PKEY* pkey) { in EvpToInternal()
Drsa_key.cpp27 bool RsaKey::EvpToInternal(const EVP_PKEY* pkey) { in EvpToInternal()
Drsa_key_factory.cpp79 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in GenerateKey() local
129 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey; in UpdateImportKeyDescription() local
Dec_key_factory.cpp95 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in GenerateKey() local
155 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey; in UpdateImportKeyDescription() local
Dasymmetric_key_factory.cpp52 EVP_PKEY* pkey = in LoadKey() local
Decdsa_keymaster1_operation.cpp91 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in GetEvpKey() local
Drsa_keymaster1_operation.cpp107 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in GetEvpKey() local
Dasymmetric_key.cpp123 EVP_PKEY_Ptr pkey(EVP_PKEY_new()); in formatted_key_material() local
277 EVP_PKEY_Ptr pkey(EVP_PKEY_new()); in GenerateAttestation() local
Dkeymaster0_engine.cpp191 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
Dkeymaster1_engine.cpp154 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey( in BuildRsaKey() local
196 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey( in BuildEcKey() local
Decdsa_operation.cpp40 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in CreateOperation() local
Dsoft_keymaster_context.cpp583 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
Drsa_operation.cpp48 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new()); in GetRsaKey() local
/system/core/adb/
Dadb_auth_host.cpp62 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/
Dcrypto_util.cc178 EVP_PKEY* pkey = *pkey_ptr; in VerifyCredentialsImpl() local
317 EVP_PKEY* pkey = NULL; in VerifyCredentials() local
/system/security/keystore-engine/
Ddsa_meth.cpp124 int dsa_pkey_setup(ENGINE *e, EVP_PKEY *pkey, const char *key_id) { in dsa_pkey_setup()
Decdsa_meth.cpp124 int ecdsa_pkey_setup(ENGINE *e, EVP_PKEY *pkey, const char *key_id) { in ecdsa_pkey_setup()
Deng_keystore.cpp133 Unique_EVP_PKEY pkey(d2i_PUBKEY(NULL, &tmp, pubkeyLen)); in keystore_loadkey() local
Drsa_meth.cpp212 int rsa_pkey_setup(ENGINE *e, EVP_PKEY *pkey, const char *key_id) { in rsa_pkey_setup()
Dandroid_engine.cpp425 Unique_EVP_PKEY pkey(d2i_PUBKEY(NULL, &inp, pubkey_len)); in EVP_PKEY_from_keystore() local
/system/security/keystore/
Dkeystore.cpp418 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

12