Lines Matching refs:rsa_out
101 unsigned char *rsa_in = NULL, *rsa_out = NULL, pad;
249 rsa_out = OPENSSL_malloc(keysize);
269 rsa_outlen = RSA_public_decrypt(rsa_inlen, rsa_in, rsa_out, rsa, pad);
273 rsa_outlen = RSA_private_encrypt(rsa_inlen, rsa_in, rsa_out, rsa, pad);
277 rsa_outlen = RSA_public_encrypt(rsa_inlen, rsa_in, rsa_out, rsa, pad);
281 rsa_outlen = RSA_private_decrypt(rsa_inlen, rsa_in, rsa_out, rsa, pad);
293 if(!ASN1_parse_dump(out, rsa_out, rsa_outlen, 1, -1)) {
296 } else if(hexdump) BIO_dump(out, (char *)rsa_out, rsa_outlen);
297 else BIO_write(out, rsa_out, rsa_outlen);
303 if(rsa_out) OPENSSL_free(rsa_out);