Searched refs:rsa_out (Results 1 – 1 of 1) sorted by relevance
/openssl/apps/ |
H A D | rsautl.c | 82 unsigned char *rsa_in = NULL, *rsa_out = NULL, pad = RSA_PKCS1_PADDING; in rsautl_main() local 219 rsa_out = app_malloc(keysize, "output rsa key"); in rsautl_main() 247 && EVP_PKEY_verify_recover(ctx, rsa_out, &rsa_outlen, in rsautl_main() 253 && EVP_PKEY_sign(ctx, rsa_out, &rsa_outlen, rsa_in, rsa_inlen) > 0; in rsautl_main() 258 && EVP_PKEY_encrypt(ctx, rsa_out, &rsa_outlen, rsa_in, rsa_inlen) > 0; in rsautl_main() 263 && EVP_PKEY_decrypt(ctx, rsa_out, &rsa_outlen, rsa_in, rsa_inlen) > 0; in rsautl_main() 274 if (!ASN1_parse_dump(out, rsa_out, rsa_outlen, 1, -1)) { in rsautl_main() 278 BIO_dump(out, (char *)rsa_out, rsa_outlen); in rsautl_main() 280 BIO_write(out, rsa_out, rsa_outlen); in rsautl_main() 289 OPENSSL_free(rsa_out); in rsautl_main()
|
Completed in 8 milliseconds