From 57465b5ae3065f2d42a8ac94776957acf1060b4c Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 12 Feb 2019 23:38:38 -0500 Subject: Update documentation --- cryptlib.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'cryptlib.h') diff --git a/cryptlib.h b/cryptlib.h index bbd1d87e..4f723fc8 100644 --- a/cryptlib.h +++ b/cryptlib.h @@ -1129,9 +1129,11 @@ public: unsigned int TagSize() const {return DigestSize();} /// \brief Provides the block size of the compression function - /// \return the block size of the compression function, in bytes - /// \details BlockSize() will return 0 if the hash is not block based. For example, - /// SHA3 is a recursive hash (not an iterative hash), and it does not have a block size. + /// \return block size of the compression function, in bytes + /// \details BlockSize() will return 0 if the hash is not block based + /// or does not have an equivalent block size. For example, Keccak + /// and SHA-3 do not have a block size, but they do have an equivalent + /// block size called rate expressed as r. virtual unsigned int BlockSize() const {return 0;} /// \brief Provides the input block size most efficient for this hash. -- cgit v1.2.1