summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-07-15 09:30:23 +0200
committerTomas Mraz <tomas@openssl.org>2021-07-16 11:29:34 +0200
commite0ad156d22587514b60920143917cdb149734212 (patch)
tree4722674f659681f63634f16d44b3a61772c1362b
parent02d63fe999d36a7d37d992bc77b05b89f9a929cc (diff)
downloadopenssl-new-e0ad156d22587514b60920143917cdb149734212.tar.gz
RSA_public_decrypt is equivalent to a verify recover operation
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/16068)
-rw-r--r--doc/man3/RSA_private_encrypt.pod7
-rw-r--r--doc/man7/migration_guide.pod4
2 files changed, 6 insertions, 5 deletions
diff --git a/doc/man3/RSA_private_encrypt.pod b/doc/man3/RSA_private_encrypt.pod
index 4b97d874c3..1c89b58b5f 100644
--- a/doc/man3/RSA_private_encrypt.pod
+++ b/doc/man3/RSA_private_encrypt.pod
@@ -22,8 +22,8 @@ L<openssl_user_macros(7)>:
Both of the functions described on this page are deprecated.
Applications should instead use L<EVP_PKEY_sign_init_ex(3)>,
-L<EVP_PKEY_sign(3)>, L<EVP_PKEY_verify_init_ex(3)> and
-L<EVP_PKEY_verify(3)>.
+L<EVP_PKEY_sign(3)>, L<EVP_PKEY_verify_recover_init(3)>, and
+L<EVP_PKEY_verify_recover(3)>.
These functions handle RSA signatures at a low-level.
@@ -69,7 +69,8 @@ obtained by L<ERR_get_error(3)>.
=head1 SEE ALSO
L<ERR_get_error(3)>,
-L<RSA_sign(3)>, L<RSA_verify(3)>
+L<RSA_sign(3)>, L<RSA_verify(3)>,
+L<EVP_PKEY_sign(3)>, L<EVP_PKEY_verify_recover(3)>
=head1 HISTORY
diff --git a/doc/man7/migration_guide.pod b/doc/man7/migration_guide.pod
index 9a9d940af4..aac158795c 100644
--- a/doc/man7/migration_guide.pod
+++ b/doc/man7/migration_guide.pod
@@ -2025,8 +2025,8 @@ See L</Deprecated low-level encryption functions>
RSA_private_encrypt(), RSA_public_decrypt()
-This is equivalent to doing sign and verify operations (with a padding mode
-of none). See L</Deprecated low-level signing functions>.
+This is equivalent to doing sign and verify recover operations (with a padding
+mode of none). See L</Deprecated low-level signing functions>.
=item -