Botan
1.10.12
|
#include <eme1.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 |
EME1 (HashFunction *hash, const std::string &P="") | |
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 |
~EME1 () | |
Botan::EME1::EME1 | ( | HashFunction * | hash, |
const std::string & | P = "" |
||
) |
hash | object to use for hashing (takes ownership) |
P | an optional label. Normally empty. |
Definition at line 125 of file eme1.cpp.
References Botan::Buffered_Computation::process().
|
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 114 of file eme1.cpp.
References Botan::MemoryRegion< T >::size().