|
Botan 1.10.17
|
#include <elgamal.h>
Public Member Functions | |
| SecureVector< byte > | decrypt (const byte msg[], size_t msg_len) |
| ElGamal_Decryption_Operation (const ElGamal_PrivateKey &key) | |
| size_t | max_input_bits () const |
| Botan::ElGamal_Decryption_Operation::ElGamal_Decryption_Operation | ( | const ElGamal_PrivateKey & | key | ) |
Definition at line 101 of file elgamal.cpp.
References Botan::BigInt::bits(), Botan::Blinder::Blinder(), Botan::Fixed_Exponent_Power_Mod::Fixed_Exponent_Power_Mod(), Botan::DL_Scheme_PrivateKey::get_x(), Botan::global_state(), Botan::DL_Scheme_PublicKey::group_p(), and Botan::Modular_Reducer::Modular_Reducer().
Referenced by Botan::Core_Engine::get_decryption_op().
|
virtual |
Implements Botan::PK_Ops::Decryption.
Definition at line 113 of file elgamal.cpp.
References Botan::BigInt::bytes(), Botan::BigInt::encode(), and Botan::inverse_mod().
|
inlinevirtual |
Implements Botan::PK_Ops::Decryption.
Definition at line 82 of file elgamal.h.