Lines Matching refs:rsa_out
101 unsigned char *rsa_in = NULL, *rsa_out = NULL, pad;
261 rsa_out = OPENSSL_malloc(keysize);
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);
305 if(!ASN1_parse_dump(out, rsa_out, rsa_outlen, 1, -1)) {
308 } else if(hexdump) BIO_dump(out, (char *)rsa_out, rsa_outlen);
309 else BIO_write(out, rsa_out, rsa_outlen);
315 if(rsa_out) OPENSSL_free(rsa_out);