]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
doc: document param argument to RSA calls
authorPauli <ppzgs1@gmail.com>
Tue, 2 Mar 2021 12:42:10 +0000 (22:42 +1000)
committerPauli <ppzgs1@gmail.com>
Thu, 11 Mar 2021 22:27:11 +0000 (08:27 +1000)
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14383)

doc/man3/RSA_private_encrypt.pod
doc/man3/RSA_public_encrypt.pod

index eaa7715bfbad061aa4d72772aaead09161a83c88..ca77320baad2642b8b7b8b3dfaf120165b15e778 100644 (file)
@@ -21,8 +21,9 @@ L<openssl_user_macros(7)>:
 =head1 DESCRIPTION
 
 Both of the functions described on this page are deprecated.
-Applications should instead use L<EVP_PKEY_encrypt_init(3)>,
-L<EVP_PKEY_encrypt(3)>, L<EVP_PKEY_decrypt_init(3)> and L<EVP_PKEY_decrypt(3)>.
+Applications should instead use L<EVP_PKEY_encrypt_init_ex(3)>,
+L<EVP_PKEY_encrypt(3)>, L<EVP_PKEY_decrypt_init_ex(3)> and
+L<EVP_PKEY_decrypt(3)>.
 
 These functions handle RSA signatures at a low-level.
 
index 566b245f3fabd14c7bf52fb17c8f769d4e4d0f3c..1624c16002e33d34b9158fde8414f78e522615c7 100644 (file)
@@ -21,8 +21,9 @@ L<openssl_user_macros(7)>:
 =head1 DESCRIPTION
 
 Both of the functions described on this page are deprecated.
-Applications should instead use L<EVP_PKEY_encrypt_init(3)>,
-L<EVP_PKEY_encrypt(3)>, L<EVP_PKEY_decrypt_init(3)> and L<EVP_PKEY_decrypt(3)>.
+Applications should instead use L<EVP_PKEY_encrypt_init_ex(3)>,
+L<EVP_PKEY_encrypt(3)>, L<EVP_PKEY_decrypt_init_ex(3)> and
+L<EVP_PKEY_decrypt(3)>.
 
 RSA_public_encrypt() encrypts the B<flen> bytes at B<from> (usually a
 session key) using the public key B<rsa> and stores the ciphertext in