summaryrefslogtreecommitdiff
path: root/keccak.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-09 05:04:36 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-09 05:04:36 -0400
commite4e01a6af3964750d032153d7f1c96fc9eee107c (patch)
tree90764394c0acaa2ecda72c9368de67ecff31c495 /keccak.h
parent1df4463c33e41caafc76c2739133c6069eda11e3 (diff)
downloadcryptopp-git-e4e01a6af3964750d032153d7f1c96fc9eee107c.tar.gz
Updated documentation
Diffstat (limited to 'keccak.h')
-rw-r--r--keccak.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/keccak.h b/keccak.h
index 4d75b5e5..41302c79 100644
--- a/keccak.h
+++ b/keccak.h
@@ -7,8 +7,6 @@
//! desire FIPS 202 behavior, then use SHA3 classes.
//! \details Keccak will likely change in the future to accomodate extensibility of the
//! round function and the XOF functions.
-//! \details Perform the following to specify a different digest size. It will use F1600 and 0x80.
-//! <pre>Keccack_192 : public Keccack
//! \sa <a href="http://en.wikipedia.org/wiki/Keccak">Keccak</a>
#ifndef CRYPTOPP_KECCAK_H
@@ -24,6 +22,9 @@ NAMESPACE_BEGIN(CryptoPP)
//! \details The Keccak classes use F1600 and XOF byte 0x80, which is effectively
//! the behavior specified by NIST at round three of the selection process. If you
//! desire FIPS 202 behavior, then use SHA3 classes.
+//! \details Keccak is the base class for Keccak_224, Keccak_256, Keccak_384 and Keccak_512.
+//! Library users should instantiate a derived class, and only use Keccak
+//! as a base class reference or pointer.
//! \details Keccak will likely change in the future to accomodate extensibility of the
//! round function and the XOF functions.
//! \details Perform the following to specify a different digest size. The class will use F1600, 0x80,
@@ -36,13 +37,14 @@ NAMESPACE_BEGIN(CryptoPP)
//! };
//! </pre>
//!
+//! \sa SHA3, Keccak_224, Keccak_256, Keccak_384 and Keccak_512.
class Keccak : public HashTransformation
{
public:
//! \brief Construct a Keccak
//! \param digestSize the digest size, in bytes
//! \details Keccak is the base class for Keccak_224, Keccak_256, Keccak_384 and Keccak_512.
- //! Library users should construct a derived class instead, and only use Keccak
+ //! Library users should instantiate a derived class, and only use Keccak
//! as a base class reference or pointer.
Keccak(unsigned int digestSize) : m_digestSize(digestSize) {Restart();}
unsigned int DigestSize() const {return m_digestSize;}