Home | History | Annotate | Download | only in crypto

Lines Matching refs:key_

62   result->key_ = EVP_PKEY_new();
63 if (!result->key_ || !EVP_PKEY_set1_RSA(result->key_, rsa_key.get()))
91 result->key_ = EVP_PKCS82PKEY(p8inf.get());
92 if (!result->key_)
99 : key_(NULL) {
103 if (key_)
104 EVP_PKEY_free(key_);
109 RSA* rsa = EVP_PKEY_get1_RSA(key_);
112 copy->key_ = EVP_PKEY_new();
113 if (!EVP_PKEY_set1_RSA(copy->key_, rsa))
119 return ExportKey(key_, i2d_PKCS8PrivateKeyInfo_bio, output);
123 return ExportKey(key_, i2d_PUBKEY_bio, output);