summaryrefslogtreecommitdiff
path: root/tiger.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-08-18 21:41:55 -0400
committerJeffrey Walton <noloader@gmail.com>2018-08-18 21:41:55 -0400
commit1f5d0d85cf40e840ebac88de70db5e508564648d (patch)
treeba51575d66aac3e55289227929f395b05d223c13 /tiger.h
parent92163356db5c31600b9b1ecf9cd4986fb92db76e (diff)
downloadcryptopp-git-1f5d0d85cf40e840ebac88de70db5e508564648d.tar.gz
Add Tiger cipher AlgorithmProvider()
Diffstat (limited to 'tiger.h')
-rw-r--r--tiger.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tiger.h b/tiger.h
index a76344f4..b1e632a6 100644
--- a/tiger.h
+++ b/tiger.h
@@ -24,10 +24,12 @@ NAMESPACE_BEGIN(CryptoPP)
class Tiger : public IteratedHashWithStaticTransform<word64, LittleEndian, 64, 24, Tiger>
{
public:
+ CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "Tiger";}
+ std::string AlgorithmProvider() const;
+
static void InitState(HashWordType *state);
static void Transform(word64 *digest, const word64 *data);
void TruncatedFinal(byte *hash, size_t size);
- CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "Tiger";}
protected:
static const word64 table[4*256+3];