Searched refs:public_rsa (Results 1 – 3 of 3) sorted by relevance
257 static EVP_PKEY *wrap_rsa(const char *key_id, const RSA *public_rsa) { in wrap_rsa() argument274 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() local362 result = wrap_rsa(key_id, public_rsa.get()); in EVP_PKEY_from_keystore()
176 unique_ptr<RSA, RSA_Delete> public_rsa(EVP_PKEY_get1_RSA(pkey.get())); in BlobToRsaKey() local177 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()
158 unique_ptr<RSA, RSA_Delete> public_rsa(EVP_PKEY_get1_RSA(pkey.get())); in BuildRsaKey() local159 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()