summaryrefslogtreecommitdiff
path: root/elgamal.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-01-19 07:56:12 -0500
committerJeffrey Walton <noloader@gmail.com>2018-01-19 07:56:12 -0500
commita5a684d92986e8e2ede25fb9d8c77c9a7e500f20 (patch)
tree3f7a652310dc5a211bb7738b85416c4de3e70c4f /elgamal.h
parent4fd250c5c4a5026ac5d4cffea01ab916b6e77df6 (diff)
downloadcryptopp-git-a5a684d92986e8e2ede25fb9d8c77c9a7e500f20.tar.gz
Remove DL_PrivateKey_GFP_OldFormat (GH #567)
Diffstat (limited to 'elgamal.h')
-rw-r--r--elgamal.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/elgamal.h b/elgamal.h
index 79344b62..f48b46c7 100644
--- a/elgamal.h
+++ b/elgamal.h
@@ -118,11 +118,15 @@ protected:
/// \class ElGamalKeys
/// \brief ElGamal key agreement and encryption schemes keys
+/// \details The ElGamalKeys class used DL_PrivateKey_GFP_OldFormat and DL_PublicKey_GFP_OldFormat
+/// for the PrivateKey and PublicKey typedef from about Crypto++ 1.0 through Crypto++ 5.6.5.
+/// At Crypto++ 6.0 the serialization format was cutover to standard PKCS8 and X509 encodings.
+/// \sa Commit XXX
struct ElGamalKeys
{
typedef DL_CryptoKeys_GFP::GroupParameters GroupParameters;
- typedef DL_PrivateKey_GFP_OldFormat<DL_CryptoKeys_GFP::PrivateKey> PrivateKey;
- typedef DL_PublicKey_GFP_OldFormat<DL_CryptoKeys_GFP::PublicKey> PublicKey;
+ typedef DL_CryptoKeys_GFP::PrivateKey PrivateKey;
+ typedef DL_CryptoKeys_GFP::PublicKey PublicKey;
};
/// \class ElGamal