X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2Fcrypto%2FRSA_sign.pod;h=8553be8e99b611e754e9677da1cdad3d2f4afdc7;hb=64cee65ebc4a5a23d9f6d6f73cb25e78a80af5c2;hp=b0d374f12fd1f014d6e7a5b8cd734578210a2675;hpb=ee25d40beaece4e11f2068871e65e5c61e001509;p=oweals%2Fopenssl.git diff --git a/doc/crypto/RSA_sign.pod b/doc/crypto/RSA_sign.pod index b0d374f12f..8553be8e99 100644 --- a/doc/crypto/RSA_sign.pod +++ b/doc/crypto/RSA_sign.pod @@ -8,10 +8,10 @@ RSA_sign, RSA_verify - RSA signatures #include - int RSA_sign(int type, unsigned char *m, unsigned int m_len, + int RSA_sign(int type, const unsigned char *m, unsigned int m_len, unsigned char *sigret, unsigned int *siglen, RSA *rsa); - int RSA_verify(int type, unsigned char *m, unsigned int m_len, + int RSA_verify(int type, const unsigned char *m, unsigned int m_len, unsigned char *sigbuf, unsigned int siglen, RSA *rsa); =head1 DESCRIPTION @@ -19,7 +19,7 @@ RSA_sign, RSA_verify - RSA signatures RSA_sign() signs the message digest B of size B using the private key B as specified in PKCS #1 v2.0. It stores the signature in B and the signature size in B. B -must point to B bytes of memory. +must point to RSA_size(B) bytes of memory. B denotes the message digest algorithm that was used to generate B. It usually is one of B, B and B; @@ -50,8 +50,8 @@ SSL, PKCS #1 v2.0 =head1 SEE ALSO -L, L, L, -L, +L, L, +L, L, L =head1 HISTORY