diff options
Diffstat (limited to 'src/lib/libcrypto/doc/RSA_sign.pod')
-rw-r--r-- | src/lib/libcrypto/doc/RSA_sign.pod | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/libcrypto/doc/RSA_sign.pod b/src/lib/libcrypto/doc/RSA_sign.pod index a82f221909..51587bdc41 100644 --- a/src/lib/libcrypto/doc/RSA_sign.pod +++ b/src/lib/libcrypto/doc/RSA_sign.pod | |||
@@ -20,6 +20,10 @@ RSA_sign() signs the message digest B<m> of size B<m_len> using the | |||
20 | private key B<rsa> as specified in PKCS #1 v2.0. It stores the | 20 | private key B<rsa> as specified in PKCS #1 v2.0. It stores the |
21 | signature in B<sigret> and the signature size in B<siglen>. B<sigret> | 21 | signature in B<sigret> and the signature size in B<siglen>. B<sigret> |
22 | must point to RSA_size(B<rsa>) bytes of memory. | 22 | must point to RSA_size(B<rsa>) bytes of memory. |
23 | Note that PKCS #1 adds meta-data, placing limits on the size of the | ||
24 | key that can be used. | ||
25 | See L<RSA_private_encrypt(3)|RSA_private_encrypt(3)> for lower-level | ||
26 | operations. | ||
23 | 27 | ||
24 | B<type> denotes the message digest algorithm that was used to generate | 28 | B<type> denotes the message digest algorithm that was used to generate |
25 | B<m>. It usually is one of B<NID_sha1>, B<NID_ripemd160> and B<NID_md5>; | 29 | B<m>. It usually is one of B<NID_sha1>, B<NID_ripemd160> and B<NID_md5>; |