|
Botan 1.10.17
|
#include <elgamal.h>
Public Member Functions | |
| ElGamal_Encryption_Operation (const ElGamal_PublicKey &key) | |
| SecureVector< byte > | encrypt (const byte msg[], size_t msg_len, RandomNumberGenerator &rng) |
| size_t | max_input_bits () const |
| Botan::ElGamal_Encryption_Operation::ElGamal_Encryption_Operation | ( | const ElGamal_PublicKey & | key | ) |
Definition at line 70 of file elgamal.cpp.
References Botan::Fixed_Base_Power_Mod::Fixed_Base_Power_Mod(), Botan::DL_Scheme_PublicKey::get_y(), Botan::DL_Scheme_PublicKey::group_g(), Botan::DL_Scheme_PublicKey::group_p(), and Botan::Modular_Reducer::Modular_Reducer().
Referenced by Botan::Core_Engine::get_encryption_op().
|
virtual |
Implements Botan::PK_Ops::Encryption.
Definition at line 80 of file elgamal.cpp.
References Botan::BigInt::binary_encode(), Botan::BigInt::bits(), Botan::BigInt::bytes(), Botan::dl_work_factor(), and Botan::MemoryRegion< T >::size().
|
inlinevirtual |
Implements Botan::PK_Ops::Encryption.
Definition at line 64 of file elgamal.h.