Lines Matching refs:rsa_out
102 unsigned char *rsa_in = NULL, *rsa_out = NULL, pad;
270 rsa_out = OPENSSL_malloc(keysize);
271 if (!rsa_in || !rsa_out) {
295 rsa_outlen = RSA_public_decrypt(rsa_inlen, rsa_in, rsa_out, rsa, pad);
300 RSA_private_encrypt(rsa_inlen, rsa_in, rsa_out, rsa, pad);
304 rsa_outlen = RSA_public_encrypt(rsa_inlen, rsa_in, rsa_out, rsa, pad);
309 RSA_private_decrypt(rsa_inlen, rsa_in, rsa_out, rsa, pad);
321 if (!ASN1_parse_dump(out, rsa_out, rsa_outlen, 1, -1)) {
325 BIO_dump(out, (char *)rsa_out, rsa_outlen);
327 BIO_write(out, rsa_out, rsa_outlen);
334 if (rsa_out)
335 OPENSSL_free(rsa_out);