aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/elgamal/elgamal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/elgamal/elgamal.cpp')
-rw-r--r--src/lib/pubkey/elgamal/elgamal.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/pubkey/elgamal/elgamal.cpp b/src/lib/pubkey/elgamal/elgamal.cpp
index f0ae594ec..90534a430 100644
--- a/src/lib/pubkey/elgamal/elgamal.cpp
+++ b/src/lib/pubkey/elgamal/elgamal.cpp
@@ -69,7 +69,6 @@ namespace {
class ElGamal_Encryption_Operation : public PK_Ops::Encryption_with_EME
{
public:
- typedef ElGamal_PublicKey Key_Type;
size_t max_raw_input_bits() const override { return m_mod_p.get_modulus().bits() - 1; }
@@ -122,7 +121,6 @@ ElGamal_Encryption_Operation::raw_encrypt(const byte msg[], size_t msg_len,
class ElGamal_Decryption_Operation : public PK_Ops::Decryption_with_EME
{
public:
- typedef ElGamal_PrivateKey Key_Type;
size_t max_raw_input_bits() const override
{ return m_mod_p.get_modulus().bits() - 1; }