X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2Fcrypto%2FRSA_private_encrypt.pod;h=746a80c79ea0c85e87b5d1802b46550c27c5e857;hb=64cee65ebc4a5a23d9f6d6f73cb25e78a80af5c2;hp=59ab49d41f141dd87844d058c138a11f6eec1371;hpb=2186cd8ef1c4db86109af7a38182c2bd9ddbbb32;p=oweals%2Fopenssl.git diff --git a/doc/crypto/RSA_private_encrypt.pod b/doc/crypto/RSA_private_encrypt.pod index 59ab49d41f..746a80c79e 100644 --- a/doc/crypto/RSA_private_encrypt.pod +++ b/doc/crypto/RSA_private_encrypt.pod @@ -2,17 +2,17 @@ =head1 NAME -RSA_private_encrypt, RSA_public_decrypt - Low level signature operations +RSA_private_encrypt, RSA_public_decrypt - low level signature operations =head1 SYNOPSIS #include int RSA_private_encrypt(int flen, unsigned char *from, - unsigned char *to, RSA *rsa,int padding); + unsigned char *to, RSA *rsa, int padding); int RSA_public_decrypt(int flen, unsigned char *from, - unsigned char *to, RSA *rsa,int padding); + unsigned char *to, RSA *rsa, int padding); =head1 DESCRIPTION @@ -31,7 +31,7 @@ B denotes one of the following modes: PKCS #1 v1.5 padding. This function does not handle the B specified in PKCS #1. When generating or -verifying PKCS #1 signatures, RSA_sign(3) and RSA_verify(3) should be +verifying PKCS #1 signatures, L and L should be used. =item RSA_NO_PADDING @@ -42,9 +42,6 @@ Signing user data directly with RSA is insecure. =back -The random number generator must be seeded prior to calling -RSA_private_encrypt(). - RSA_public_decrypt() recovers the message digest from the B bytes long signature at B using the signer's public key B. B must point to a memory section large enough to hold the @@ -58,11 +55,12 @@ RSA_size(rsa)). RSA_public_decrypt() returns the size of the recovered message digest. On error, -1 is returned; the error codes can be -obtained by ERR_get_error(3). +obtained by L. =head1 SEE ALSO -err(3), rand(3), rsa(3), RSA_sign(3), RSA_verify(3) +L, L, +L, L =head1 HISTORY