diff options
author | David Benjamin <davidben@google.com> | 2016-08-20 15:48:56 -0400 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2016-11-07 21:06:55 +0100 |
commit | 439530bc571a5221ba0df983a245b525f46c9898 (patch) | |
tree | a1b93f33a6a3c0591eaa0d70172ee616555890ba /doc | |
parent | b71079a375116a8a52ed493afcd8f69cb08c195a (diff) |
Make RSA_sign.pod less confusing.
PKCS #1 v2.0 is the name of a document which specifies an algorithm
RSASSA-PKCS1-v1_5, often referred to as "PKCS #1 v1.5" after an earlier
document which specified it. This gets further confusing because the
document PKCS #1 v2.1 specifies two signature algorithms,
RSASSA-PKCS1-v1_5 and RSASSA-PSS. RSA_sign implements RSASSA-PKCS1-v1_5.
Refer to the document using the RFC number which is easier to find
anyway, and refer to the algorithm by its name.
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #1474
(cherry picked from commit aa90ca11c930114d5c0d68a2c1f446bf97853287)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/crypto/RSA_sign.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/crypto/RSA_sign.pod b/doc/crypto/RSA_sign.pod index 64418a5653..fbb38d811c 100644 --- a/doc/crypto/RSA_sign.pod +++ b/doc/crypto/RSA_sign.pod @@ -17,9 +17,9 @@ RSA_sign, RSA_verify - RSA signatures =head1 DESCRIPTION RSA_sign() signs the message digest B<m> of size B<m_len> using the -private key B<rsa> as specified in PKCS #1 v2.0. It stores the -signature in B<sigret> and the signature size in B<siglen>. B<sigret> -must point to RSA_size(B<rsa>) bytes of memory. +private key B<rsa> using RSASSA-PKCS1-v1_5 as specified in RFC 3447. It +stores the signature in B<sigret> and the signature size in B<siglen>. +B<sigret> must point to RSA_size(B<rsa>) bytes of memory. Note that PKCS #1 adds meta-data, placing limits on the size of the key that can be used. See L<RSA_private_encrypt(3)> for lower-level |