Searched refs:public_rsa (Results 1 – 3 of 3) sorted by relevance
313 static EVP_PKEY *wrap_rsa(const char *key_id, const RSA *public_rsa) { in wrap_rsa() argument330 rsa->n = BN_dup(public_rsa->n); in wrap_rsa()331 rsa->e = BN_dup(public_rsa->e); in wrap_rsa()417 Unique_RSA public_rsa(EVP_PKEY_get1_RSA(pkey.get())); in EVP_PKEY_from_keystore() local418 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()
159 unique_ptr<RSA, RSA_Delete> public_rsa(EVP_PKEY_get1_RSA(pkey.get())); in BuildRsaKey() local160 if (!public_rsa) { in BuildRsaKey()165 rsa->n = BN_dup(public_rsa->n); in BuildRsaKey()166 rsa->e = BN_dup(public_rsa->e); in BuildRsaKey()