Botan
1.10.9
|
#include <dlies.h>
Public Member Functions | |
DLIES_Encryptor (const PK_Key_Agreement_Key &, KDF *kdf, MessageAuthenticationCode *mac, size_t mac_key_len=20) | |
SecureVector< byte > | encrypt (const byte in[], size_t length, RandomNumberGenerator &rng) const |
SecureVector< byte > | encrypt (const MemoryRegion< byte > &in, RandomNumberGenerator &rng) const |
void | set_other_key (const MemoryRegion< byte > &) |
~DLIES_Encryptor () | |
Botan::DLIES_Encryptor::DLIES_Encryptor | ( | const PK_Key_Agreement_Key & | key, |
KDF * | kdf, | ||
MessageAuthenticationCode * | mac, | ||
size_t | mac_key_len = 20 |
||
) |
Definition at line 16 of file dlies.cpp.
References Botan::PK_Key_Agreement_Key::public_value().
Botan::DLIES_Encryptor::~DLIES_Encryptor | ( | ) |
|
inlineinherited |
Encrypt a message.
in | the message as a byte array |
length | the length of the above byte array |
rng | the random number source to use |
Definition at line 48 of file pubkey.h.
Referenced by Botan::Client_Key_Exchange::Client_Key_Exchange(), Botan::KeyPair::encryption_consistency_check(), and Botan::PK_Encryptor_Filter::end_msg().
|
inlineinherited |
Encrypt a message.
in | the message |
rng | the random number source to use |
Definition at line 60 of file pubkey.h.
References rng, and Botan::MemoryRegion< T >::size().
void Botan::DLIES_Encryptor::set_other_key | ( | const MemoryRegion< byte > & | ok | ) |