summaryrefslogtreecommitdiff
path: root/gfpcrypt.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-09-24 06:06:41 -0400
committerJeffrey Walton <noloader@gmail.com>2021-09-24 06:06:41 -0400
commitbca628e002e61eef265fb7cbf04c999635b5b107 (patch)
tree3211ffaefa7fad70972ff9c1eade45636f651773 /gfpcrypt.h
parentbee8e8ca6658499debbf8cec0b6b219cf8ba6415 (diff)
downloadcryptopp-git-bca628e002e61eef265fb7cbf04c999635b5b107.tar.gz
Update documentation
Diffstat (limited to 'gfpcrypt.h')
-rw-r--r--gfpcrypt.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gfpcrypt.h b/gfpcrypt.h
index eb9aac6d..f8fc3c5e 100644
--- a/gfpcrypt.h
+++ b/gfpcrypt.h
@@ -282,11 +282,12 @@ protected:
unsigned int GetDefaultSubgroupOrderSize(unsigned int modulusSize) const {return modulusSize-1;}
};
-/// ElGamal encryption due to due to ElGamal safe interop
+/// ElGamal encryption for safe interop
/// \sa <A HREF="https://eprint.iacr.org/2021/923.pdf">On the
/// (in)security of ElGamal in OpenPGP</A>,
/// <A HREF="https://github.com/weidai11/cryptopp/issues/1059">Issue 1059</A>,
/// <A HREF="https://nvd.nist.gov/vuln/detail/CVE-2021-40530">CVE-2021-40530</A>
+/// \since Crypto++ 8.6
class CRYPTOPP_DLL DL_GroupParameters_ElGamal : public DL_GroupParameters_GFP_DefaultSafePrime
{
public:
@@ -686,11 +687,12 @@ struct DL_CryptoKeys_GFP
typedef DL_PrivateKey_GFP<GroupParameters> PrivateKey;
};
-/// ElGamal encryption keys due to ElGamal safe interop
+/// ElGamal encryption keys for safe interop
/// \sa <A HREF="https://eprint.iacr.org/2021/923.pdf">On the
/// (in)security of ElGamal in OpenPGP</A>,
/// <A HREF="https://github.com/weidai11/cryptopp/issues/1059">Issue 1059</A>,
/// <A HREF="https://nvd.nist.gov/vuln/detail/CVE-2021-40530">CVE-2021-40530</A>
+/// \since Crypto++ 8.6
struct DL_CryptoKeys_ElGamal
{
typedef DL_GroupParameters_ElGamal GroupParameters;