summaryrefslogtreecommitdiff
path: root/keccak.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-02-13 14:22:43 -0500
committerJeffrey Walton <noloader@gmail.com>2019-02-13 14:22:43 -0500
commite8bb20d84fce116af601eb0a7393151b0e5f8288 (patch)
tree515b7a31fdfb60e5ff9409ed6395e61ee1d08c78 /keccak.h
parent8dd39d03ae03ba095e30f270329345b73efe4a41 (diff)
downloadcryptopp-git-e8bb20d84fce116af601eb0a7393151b0e5f8288.tar.gz
Fix AlgorithmName for SHA3-based classes
Diffstat (limited to 'keccak.h')
-rw-r--r--keccak.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/keccak.h b/keccak.h
index bbc357b0..75410ba7 100644
--- a/keccak.h
+++ b/keccak.h
@@ -88,6 +88,8 @@ public:
/// block size called rate expressed as <tt>r</tt>.
unsigned int BlockSize() const { return BLOCKSIZE; }
+ std::string AlgorithmName() const { return StaticAlgorithmName(); }
+
private:
#if !defined(__BORLANDC__)
// ensure there was no underflow in the math