summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc/RSA_sign.pod
diff options
context:
space:
mode:
authormiod <>2014-07-11 16:18:14 +0000
committermiod <>2014-07-11 16:18:14 +0000
commit5237aad1ecb732073cf0d8a7bcc0f2d4863f7c29 (patch)
treed06ffa1565a72fd493dbed6024d44e5daa26be91 /src/lib/libcrypto/doc/RSA_sign.pod
parent594d9dd85584729227e623605bd9948e758cc33e (diff)
downloadopenbsd-5237aad1ecb732073cf0d8a7bcc0f2d4863f7c29.tar.gz
openbsd-5237aad1ecb732073cf0d8a7bcc0f2d4863f7c29.tar.bz2
openbsd-5237aad1ecb732073cf0d8a7bcc0f2d4863f7c29.zip
Huge documentation update for libcrypto and libssl, mostly from Matt Caswell,
Jeff Trawick, Jean-Paul Calderone, Michal Bozon, Jeffrey Walton and Rich Salz, via OpenSSL trunk (with some parts not applying to us, such as SSLv2 support, at least partially removed).
Diffstat (limited to 'src/lib/libcrypto/doc/RSA_sign.pod')
-rw-r--r--src/lib/libcrypto/doc/RSA_sign.pod4
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
20private key B<rsa> as specified in PKCS #1 v2.0. It stores the 20private key B<rsa> as specified in PKCS #1 v2.0. It stores the
21signature in B<sigret> and the signature size in B<siglen>. B<sigret> 21signature in B<sigret> and the signature size in B<siglen>. B<sigret>
22must point to RSA_size(B<rsa>) bytes of memory. 22must point to RSA_size(B<rsa>) bytes of memory.
23Note that PKCS #1 adds meta-data, placing limits on the size of the
24key that can be used.
25See L<RSA_private_encrypt(3)|RSA_private_encrypt(3)> for lower-level
26operations.
23 27
24B<type> denotes the message digest algorithm that was used to generate 28B<type> denotes the message digest algorithm that was used to generate
25B<m>. It usually is one of B<NID_sha1>, B<NID_ripemd160> and B<NID_md5>; 29B<m>. It usually is one of B<NID_sha1>, B<NID_ripemd160> and B<NID_md5>;