From 1f5d0d85cf40e840ebac88de70db5e508564648d Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 18 Aug 2018 21:41:55 -0400 Subject: Add Tiger cipher AlgorithmProvider() --- tiger.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tiger.cpp') diff --git a/tiger.cpp b/tiger.cpp index 77e2a27c..03d2ddb0 100644 --- a/tiger.cpp +++ b/tiger.cpp @@ -16,6 +16,17 @@ NAMESPACE_BEGIN(CryptoPP) +std::string Tiger::AlgorithmProvider() const +{ +#ifndef CRYPTOPP_DISABLE_TIGER_ASM +# if CRYPTOPP_SSE2_ASM_AVAILABLE + if (HasSSE2()) + return "SSE2"; +# endif +#endif + return "C++"; +} + void Tiger::InitState(HashWordType *state) { state[0] = W64LIT(0x0123456789ABCDEF); -- cgit v1.2.1