Home | History | Annotate | Download | only in pem

Lines Matching refs:rsa

10  * apply to all code found in this distribution, be it the RC4, RSA,
119 #include <openssl/rsa.h>
122 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
132 * We treat RSA or DSA private keys as a special case. For private keys we
137 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa)
139 RSA *rtmp;
146 if (rsa) {
147 RSA_free(*rsa);
148 *rsa = rtmp;
153 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb,
158 return pkey_get_rsa(pktmp, rsa);
163 RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, void *u)
167 return pkey_get_rsa(pktmp, rsa);
172 IMPLEMENT_PEM_write_cb_const(RSAPrivateKey, RSA, PEM_STRING_RSA,
176 IMPLEMENT_PEM_rw_const(RSAPublicKey, RSA, PEM_STRING_RSA_PUBLIC,
177 RSAPublicKey) IMPLEMENT_PEM_rw(RSA_PUBKEY, RSA,