Botan
1.10.9
|
#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::DL_Scheme_PrivateKey::get_x(), Botan::Global_State_Management::global_state(), and Botan::DL_Scheme_PublicKey::group_p().
|
virtual |
Implements Botan::PK_Ops::Decryption.
Definition at line 113 of file elgamal.cpp.
References Botan::Blinder::blind(), Botan::BigInt::bytes(), Botan::BigInt::encode(), Botan::Modular_Reducer::get_modulus(), Botan::inverse_mod(), Botan::Modular_Reducer::multiply(), r, and Botan::Blinder::unblind().
|
inlinevirtual |