Home | History | Annotate | Download | only in pem

Lines Matching refs:rsa

11  * apply to all code found in this distribution, be it the RC4, RSA,
120 #include <openssl/rsa.h>
130 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
154 /* We treat RSA or DSA private keys as a special case.
162 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa)
164 RSA *rtmp;
169 if(rsa) {
170 RSA_free(*rsa);
171 *rsa = rtmp;
176 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb,
181 return pkey_get_rsa(pktmp, rsa);
186 RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb,
191 return pkey_get_rsa(pktmp, rsa);
196 IMPLEMENT_PEM_write_cb_const(RSAPrivateKey, RSA, PEM_STRING_RSA, RSAPrivateKey)
197 IMPLEMENT_PEM_rw_const(RSAPublicKey, RSA, PEM_STRING_RSA_PUBLIC, RSAPublicKey)
198 IMPLEMENT_PEM_rw(RSA_PUBKEY, RSA, PEM_STRING_PUBLIC, RSA_PUBKEY)