~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to doc/crypto/RSA_public_encrypt.pod

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Martin
  • Date: 2004-12-16 18:41:29 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20041216184129-z7xjkul57mh1jiha
Tags: upstream-0.9.7e
ImportĀ upstreamĀ versionĀ 0.9.7e

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
=back
48
48
 
49
49
B<flen> must be less than RSA_size(B<rsa>) - 11 for the PKCS #1 v1.5
50
 
based padding modes, and less than RSA_size(B<rsa>) - 41 for
51
 
RSA_PKCS1_OAEP_PADDING. The random number generator must be seeded
52
 
prior to calling RSA_public_encrypt().
 
50
based padding modes, less than RSA_size(B<rsa>) - 41 for
 
51
RSA_PKCS1_OAEP_PADDING and exactly RSA_size(B<rsa>) for RSA_NO_PADDING.
 
52
The random number generator must be seeded prior to calling
 
53
RSA_public_encrypt().
53
54
 
54
55
RSA_private_decrypt() decrypts the B<flen> bytes at B<from> using the
55
56
private key B<rsa> and stores the plaintext in B<to>. B<to> must point