diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-01-19 07:56:12 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-01-19 07:56:12 -0500 |
commit | a5a684d92986e8e2ede25fb9d8c77c9a7e500f20 (patch) | |
tree | 3f7a652310dc5a211bb7738b85416c4de3e70c4f /elgamal.h | |
parent | 4fd250c5c4a5026ac5d4cffea01ab916b6e77df6 (diff) | |
download | cryptopp-git-a5a684d92986e8e2ede25fb9d8c77c9a7e500f20.tar.gz |
Remove DL_PrivateKey_GFP_OldFormat (GH #567)
Diffstat (limited to 'elgamal.h')
-rw-r--r-- | elgamal.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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
|