Home | History | Annotate | Download | only in apps

Lines Matching defs:rsa

66 #include <openssl/rsa.h>
100 RSA *rsa = NULL;
224 rsa = EVP_PKEY_get1_RSA(pkey);
227 if(!rsa) {
228 BIO_printf(bio_err, "Error getting RSA key\n");
258 keysize = RSA_size(rsa);
281 rsa_outlen = RSA_public_decrypt(rsa_inlen, rsa_in, rsa_out, rsa, pad);
285 rsa_outlen = RSA_private_encrypt(rsa_inlen, rsa_in, rsa_out, rsa, pad);
289 rsa_outlen = RSA_public_encrypt(rsa_inlen, rsa_in, rsa_out, rsa, pad);
293 rsa_outlen = RSA_private_decrypt(rsa_inlen, rsa_in, rsa_out, rsa, pad);
299 BIO_printf(bio_err, "RSA operation error\n");
311 RSA_free(rsa);
327 BIO_printf(bio_err, "-pubin input is an RSA public\n");
328 BIO_printf(bio_err, "-certin input is a certificate carrying an RSA public key\n");