Lines Matching +full:b +full:- +full:side

5 RSA_public_encrypt, RSA_private_decrypt - RSA public key cryptography
12 hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
28 RSA_public_encrypt() encrypts the B<flen> bytes at B<from> (usually a
29 session key) using the public key B<rsa> and stores the ciphertext in
30 B<to>. B<to> must point to RSA_size(B<rsa>) bytes of memory.
32 B<padding> denotes one of the following modes:
44 EME-OAEP as defined in PKCS #1 v2.0 with SHA-1, MGF1 and an empty
55 When encrypting B<flen> must not be more than RSA_size(B<rsa>) - 11 for the
56 PKCS #1 v1.5 based padding modes, not more than RSA_size(B<rsa>) - 42 for
57 RSA_PKCS1_OAEP_PADDING and exactly RSA_size(B<rsa>) for RSA_NO_PADDING.
62 The returned ciphertext in B<to> will always be zero padded to exactly
63 RSA_size(B<rsa>) bytes.
64 B<to> and B<from> may overlap.
66 RSA_private_decrypt() decrypts the B<flen> bytes at B<from> using the
67 private key B<rsa> and stores the plaintext in B<to>. B<flen> should
68 be equal to RSA_size(B<rsa>) but may be smaller, when leading zero
70 but RSA_public_encrypt() does not do that. B<to> must point
72 data (which is equal to RSA_size(B<rsa>) for RSA_NO_PADDING,
73 RSA_size(B<rsa>) - 11 for the PKCS #1 v1.5 based padding modes and
74 RSA_size(B<rsa>) - 42 for RSA_PKCS1_OAEP_PADDING).
75 B<padding> is the padding mode that was used to encrypt the data.
76 B<to> and B<from> may overlap.
81 RSA_size(B<rsa>)). RSA_private_decrypt() returns the size of the
85 On error, -1 is returned; the error codes can be
101 a side-channel secure error handling.
102 Applications that want to be secure against side-channel attacks with
104 handle the returned values using side-channel free code.
105 Side-channel free handling of the error stack can be performed using
124 Copyright 2000-2024 The OpenSSL Project Authors. All Rights Reserved.