diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-02-12 23:52:19 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-02-12 23:52:19 -0500 |
commit | 8db6fe16b442178a867426e95b8e9fe17aac9d90 (patch) | |
tree | 22a77464f6f97c59a931d8592f1920c8ab5f0b69 /keccak.h | |
parent | 57465b5ae3065f2d42a8ac94776957acf1060b4c (diff) | |
download | cryptopp-git-8db6fe16b442178a867426e95b8e9fe17aac9d90.tar.gz |
Update documentation
Diffstat (limited to 'keccak.h')
-rw-r--r-- | keccak.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -39,7 +39,7 @@ NAMESPACE_BEGIN(CryptoPP) /// \since Crypto++ 5.6.4
class Keccak : public HashTransformation
{
-public:
+protected:
/// \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.
@@ -47,6 +47,8 @@ public: /// as a base class reference or pointer.
/// \since Crypto++ 5.6.4
Keccak(unsigned int digestSize) : m_digestSize(digestSize) {Restart();}
+
+public:
unsigned int DigestSize() const {return m_digestSize;}
unsigned int OptimalDataAlignment() const {return GetAlignmentOf<word64>();}
|