Home
last modified time | relevance | path

Searched refs:public_rsa (Results 1 – 3 of 3) sorted by relevance

/system/security/keystore-engine/
Dandroid_engine.cpp257 static EVP_PKEY *wrap_rsa(const char *key_id, const RSA *public_rsa) { in wrap_rsa() argument
274 rsa->n = BN_dup(public_rsa->n); in wrap_rsa()
275 rsa->e = BN_dup(public_rsa->e); in wrap_rsa()
361 bssl::UniquePtr<RSA> public_rsa(EVP_PKEY_get1_RSA(pkey.get())); in EVP_PKEY_from_keystore() local
362 result = wrap_rsa(key_id, public_rsa.get()); in EVP_PKEY_from_keystore()
/system/keymaster/legacy_support/
Dkeymaster0_engine.cpp176 unique_ptr<RSA, RSA_Delete> public_rsa(EVP_PKEY_get1_RSA(pkey.get())); in BlobToRsaKey() local
177 if (!public_rsa) in BlobToRsaKey()
179 rsa->n = BN_dup(public_rsa->n); in BlobToRsaKey()
180 rsa->e = BN_dup(public_rsa->e); in BlobToRsaKey()
Dkeymaster1_engine.cpp158 unique_ptr<RSA, RSA_Delete> public_rsa(EVP_PKEY_get1_RSA(pkey.get())); in BuildRsaKey() local
159 if (!public_rsa) { in BuildRsaKey()
164 rsa->n = BN_dup(public_rsa->n); in BuildRsaKey()
165 rsa->e = BN_dup(public_rsa->e); in BuildRsaKey()