Searched refs:Unique_EVP_PKEY (Results 1 – 5 of 5) sorted by relevance
/system/security/keystore-engine/ |
D | android_engine.cpp | 294 typedef UniquePtr<EVP_PKEY, EVP_PKEY_Delete> Unique_EVP_PKEY; typedef 336 Unique_EVP_PKEY result(EVP_PKEY_new()); in wrap_rsa() 371 Unique_EVP_PKEY result(EVP_PKEY_new()); in wrap_ecdsa() 408 Unique_EVP_PKEY pkey(d2i_PUBKEY(NULL, &inp, pubkey_len)); in EVP_PKEY_from_keystore()
|
/system/security/softkeymaster/ |
D | keymaster_openssl.cpp | 48 typedef UniquePtr<EVP_PKEY, EVP_PKEY_Delete> Unique_EVP_PKEY; typedef 211 Unique_EVP_PKEY pkey(d2i_PrivateKey(type, nullptr, &p, privateLen)); in unwrap_key() 362 Unique_EVP_PKEY pkey(EVP_PKEY_new()); in openssl_generate_keypair() 415 Unique_EVP_PKEY pkey(EVP_PKCS82PKEY(pkcs8.get())); in openssl_import_keypair() 438 Unique_EVP_PKEY pkey(unwrap_key(key_blob, key_blob_length)); in openssl_get_keypair_public() 578 Unique_EVP_PKEY pkey(unwrap_key(keyBlob, keyBlobLength)); in openssl_sign_data() 699 Unique_EVP_PKEY pkey(unwrap_key(keyBlob, keyBlobLength)); in openssl_verify_data()
|
/system/security/keystore/ |
D | keystore_utils.h | 55 typedef UniquePtr<EVP_PKEY, EVP_PKEY_Delete> Unique_EVP_PKEY; typedef
|
D | keystore.cpp | 450 Unique_EVP_PKEY pkey(EVP_PKCS82PKEY(pkcs8.get())); in importKey() 660 Unique_EVP_PKEY pkey(PEM_read_bio_PrivateKey(b.get(), NULL, NULL, NULL)); in importBlobAsKey()
|
D | key_store_service.cpp | 446 Unique_EVP_PKEY pkey(EVP_PKCS82PKEY(pkcs8.get())); in import()
|