Botan
1.10.9
|
#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::DL_Scheme_PublicKey::get_y(), Botan::DL_Scheme_PublicKey::group_g(), and Botan::DL_Scheme_PublicKey::group_p().
|
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(), Botan::Modular_Reducer::get_modulus(), and Botan::Modular_Reducer::multiply().
|
inlinevirtual |