Home
last modified time | relevance | path

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

/system/security/keystore-engine/
Dkeystore2_engine.cpp134 const RSA* public_rsa) { in wrap_rsa() argument
147 rsa->n = BN_dup(public_rsa->n); in wrap_rsa()
148 rsa->e = BN_dup(public_rsa->e); in wrap_rsa()
404 bssl::UniquePtr<RSA> public_rsa(EVP_PKEY_get1_RSA(pkey.get())); in EVP_PKEY_from_keystore2() local
405 result = wrap_rsa(key_backend, public_rsa.get()); in EVP_PKEY_from_keystore2()
/system/keymaster/legacy_support/
Dkeymaster1_engine.cpp150 unique_ptr<RSA, RSA_Delete> public_rsa(EVP_PKEY_get1_RSA(pkey.get())); in BuildRsaKey() local
151 if (!public_rsa) { in BuildRsaKey()
156 rsa->n = BN_dup(public_rsa->n); in BuildRsaKey()
157 rsa->e = BN_dup(public_rsa->e); in BuildRsaKey()