Botan
2.1.0
Crypto and TLS for C++11
|
#include <eme_pkcs.h>
Public Member Functions | |
secure_vector< uint8_t > | encode (const uint8_t in[], size_t in_length, size_t key_length, RandomNumberGenerator &rng) const |
secure_vector< uint8_t > | encode (const secure_vector< uint8_t > &in, size_t key_length, RandomNumberGenerator &rng) const |
size_t | maximum_input_size (size_t) const override |
EME from PKCS #1 v1.5
Definition at line 18 of file eme_pkcs.h.
|
inherited |
Encode an input
in | the plaintext |
in_length | length of plaintext in bytes |
key_length | length of the key in bits |
rng | a random number generator |
Definition at line 59 of file eme.cpp.
References Botan::EME::pad().
|
inherited |
Encode an input
in | the plaintext |
key_length | length of the key in bits |
rng | a random number generator |
Definition at line 69 of file eme.cpp.
References Botan::EME::pad().
|
overridevirtual |
Return the maximum input size in bytes we can support
keybits | the size of the key in bits |
Implements Botan::EME.
Definition at line 92 of file eme_pkcs.cpp.