summaryrefslogtreecommitdiff
path: root/sosemanuk.cpp
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 /sosemanuk.cpp
parent92163356db5c31600b9b1ecf9cd4986fb92db76e (diff)
downloadcryptopp-git-1f5d0d85cf40e840ebac88de70db5e508564648d.tar.gz
Add Tiger cipher AlgorithmProvider()
Diffstat (limited to 'sosemanuk.cpp')
-rw-r--r--sosemanuk.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/sosemanuk.cpp b/sosemanuk.cpp
index 52a02d9b..82cf8c92 100644
--- a/sosemanuk.cpp
+++ b/sosemanuk.cpp
@@ -21,9 +21,11 @@ NAMESPACE_BEGIN(CryptoPP)
std::string SosemanukPolicy::AlgorithmProvider() const
{
-#if CRYPTOPP_SSE2_ASM_AVAILABLE
+#ifndef CRYPTOPP_DISABLE_SOSEMANUK_ASM
+# if CRYPTOPP_SSE2_ASM_AVAILABLE
if (HasSSE2())
return "SSE2";
+# endif
#endif
return "C++";
}