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,
117 #include <openssl/rsa.h>
121 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
134 /* We treat RSA or DSA private keys as a special case.
142 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa)
144 RSA *rtmp;
149 if(rsa) {
150 RSA_free(*rsa);
151 *rsa = rtmp;
156 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb,
161 return pkey_get_rsa(pktmp, rsa);
166 RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb,
171 return pkey_get_rsa(pktmp, rsa);
176 IMPLEMENT_PEM_write_cb_const(RSAPrivateKey, RSA, PEM_STRING_RSA, RSAPrivateKey)
178 IMPLEMENT_PEM_rw_const(RSAPublicKey, RSA, PEM_STRING_RSA_PUBLIC, RSAPublicKey)
179 IMPLEMENT_PEM_rw(RSA_PUBKEY, RSA, PEM_STRING_PUBLIC, RSA_PUBKEY)