Lines Matching refs:rsa
9 #include <openssl/rsa.h>
12 unsigned char *to, RSA *rsa, int padding);
15 unsigned char *to, RSA *rsa, int padding);
20 session key) using the public key B<rsa> and stores the ciphertext in
21 B<to>. B<to> must point to RSA_size(B<rsa>) bytes of memory.
51 B<flen> must not be more than RSA_size(B<rsa>) - 11 for the PKCS #1 v1.5
52 based padding modes, not more than RSA_size(B<rsa>) - 42 for
53 RSA_PKCS1_OAEP_PADDING and exactly RSA_size(B<rsa>) for RSA_NO_PADDING.
59 RSA_size(B<rsa>) bytes.
63 private key B<rsa> and stores the plaintext in B<to>. B<flen> should
64 be equal to RSA_size(B<rsa>) but may be smaller, when leading zero
68 data (which is equal to RSA_size(B<rsa>) for RSA_NO_PADDING,
69 RSA_size(B<rsa>) - 11 for the PKCS #1 v1.5 based padding modes and
70 RSA_size(B<rsa>) - 42 for RSA_PKCS1_OAEP_PADDING).
77 RSA_size(B<rsa>)). RSA_private_decrypt() returns the size of the