diff options
author | Pauli <ppzgs1@gmail.com> | 2021-03-02 22:42:10 +1000 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-03-12 08:27:11 +1000 |
commit | 408def8b30756469c1b657b9271832f7c1bdce12 (patch) | |
tree | 97cd62a09d7b2b07547845e4e49060fa4213b795 /doc | |
parent | 8ea34a6efa0cfe61abc413525be5b8aaee5f603f (diff) |
doc: document param argument to RSA calls
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14383)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/RSA_private_encrypt.pod | 5 | ||||
-rw-r--r-- | doc/man3/RSA_public_encrypt.pod | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/doc/man3/RSA_private_encrypt.pod b/doc/man3/RSA_private_encrypt.pod index eaa7715bfb..ca77320baa 100644 --- a/doc/man3/RSA_private_encrypt.pod +++ b/doc/man3/RSA_private_encrypt.pod @@ -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. diff --git a/doc/man3/RSA_public_encrypt.pod b/doc/man3/RSA_public_encrypt.pod index 566b245f3f..1624c16002 100644 --- a/doc/man3/RSA_public_encrypt.pod +++ b/doc/man3/RSA_public_encrypt.pod @@ -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 |