summaryrefslogtreecommitdiff
path: root/gfpcrypt.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-10-26 00:38:51 -0400
committerJeffrey Walton <noloader@gmail.com>2016-10-26 00:38:51 -0400
commitc77029f142e053ee6b1735144abe82baf4bd96d9 (patch)
tree5b7ecf1cd592aa3a3c6577eb584f9d59214f0ee2 /gfpcrypt.h
parent374105198d4472f511f23300aaa6912079173c3e (diff)
downloadcryptopp-git-c77029f142e053ee6b1735144abe82baf4bd96d9.tar.gz
Updated documentation for Crypto++ 1.0 algorithms
Diffstat (limited to 'gfpcrypt.h')
-rw-r--r--gfpcrypt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gfpcrypt.h b/gfpcrypt.h
index 24f6e6eb..04a5a1ef 100644
--- a/gfpcrypt.h
+++ b/gfpcrypt.h
@@ -436,6 +436,7 @@ public:
//! \brief DSA signature scheme
//! \tparam H HashTransformation derived class
//! \sa <a href="http://www.weidai.com/scan-mirror/sig.html#DSA-1363">DSA-1363</a>
+//! \since Crypto++ 1.0 for DSA, Crypto++ 5.6.2 for DSA2
template <class H>
struct GDSA : public DL_SS<
DL_SignatureKeys_GFP,
@@ -508,6 +509,7 @@ struct DL_Keys_DSA
//! \tparam H HashTransformation derived class
//! \details The class is named DSA2 instead of DSA for backwards compatibility because DSA was a non-template class.
//! \sa <a href="http://en.wikipedia.org/wiki/Digital_Signature_Algorithm">DSA</a>, as specified in FIPS 186-3
+//! \since Crypto++ 1.0 for DSA, Crypto++ 5.6.2 for DSA2
template <class H>
class DSA2 : public DL_SS<
DL_Keys_DSA,
@@ -529,7 +531,7 @@ public:
};
//! DSA with SHA-1, typedef'd for backwards compatibility
-typedef DSA2<SHA> DSA;
+typedef DSA2<SHA1> DSA;
CRYPTOPP_DLL_TEMPLATE_CLASS DL_PublicKey_GFP<DL_GroupParameters_DSA>;
CRYPTOPP_DLL_TEMPLATE_CLASS DL_PrivateKey_GFP<DL_GroupParameters_DSA>;