Botan
1.10.12
|
#include <eme_pkcs.h>
Public Member Functions | |
SecureVector< byte > | decode (const byte in[], size_t in_length, size_t key_length) const |
SecureVector< byte > | decode (const MemoryRegion< byte > &in, size_t key_length) const |
SecureVector< byte > | encode (const byte in[], size_t in_length, size_t key_length, RandomNumberGenerator &rng) const |
SecureVector< byte > | encode (const MemoryRegion< byte > &in, size_t key_length, RandomNumberGenerator &rng) const |
size_t | maximum_input_size (size_t) const |
EME from PKCS #1 v1.5
Definition at line 18 of file eme_pkcs.h.
|
inherited |
Decode an input
in | the encoded plaintext |
in_length | length of encoded plaintext in bytes |
key_length | length of the key in bits |
Definition at line 35 of file eme.cpp.
Referenced by Botan::PK_Decryptor_EME::PK_Decryptor_EME().
|
inherited |
Decode an input
in | the encoded plaintext |
key_length | length of the key in bits |
Definition at line 44 of file eme.cpp.
References Botan::MemoryRegion< T >::size().
|
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 15 of file eme.cpp.
Referenced by Botan::PK_Encryptor_EME::PK_Encryptor_EME().
|
inherited |
Encode an input
in | the plaintext |
key_length | length of the key in bits |
rng | a random number generator |
Definition at line 25 of file eme.cpp.
References Botan::MemoryRegion< T >::size().
|
virtual |
Return the maximum input size in bytes we can support
keybits | the size of the key in bits |
Implements Botan::EME.
Definition at line 62 of file eme_pkcs.cpp.