summaryrefslogtreecommitdiff
path: root/elgamal.h
diff options
context:
space:
mode:
Diffstat (limited to 'elgamal.h')
-rw-r--r--elgamal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/elgamal.h b/elgamal.h
index 45b3f10b..599c13f8 100644
--- a/elgamal.h
+++ b/elgamal.h
@@ -131,6 +131,8 @@ struct ElGamalKeys
struct ElGamal
{
typedef DL_CryptoSchemeOptions<ElGamal, ElGamalKeys, int, int, int> SchemeOptions;
+ typedef typename SchemeOptions::PrivateKey PrivateKey;
+ typedef typename SchemeOptions::PublicKey PublicKey;
CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "ElgamalEnc/Crypto++Padding";}