From e8bb20d84fce116af601eb0a7393151b0e5f8288 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Wed, 13 Feb 2019 14:22:43 -0500 Subject: Fix AlgorithmName for SHA3-based classes --- keccak.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'keccak.h') 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 r. unsigned int BlockSize() const { return BLOCKSIZE; } + std::string AlgorithmName() const { return StaticAlgorithmName(); } + private: #if !defined(__BORLANDC__) // ensure there was no underflow in the math -- cgit v1.2.1