summaryrefslogtreecommitdiff
path: root/lsh256.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-04-22 07:15:38 -0400
committerJeffrey Walton <noloader@gmail.com>2021-04-22 07:15:38 -0400
commitda5059053761ff64d0b46d9d73f651035bc68c8a (patch)
tree315de835543558a3de0710794c609772cc1c81dc /lsh256.cpp
parentd6b1663c29c6a59f50560df97b07273d1475c747 (diff)
downloadcryptopp-git-da5059053761ff64d0b46d9d73f651035bc68c8a.tar.gz
Fix LSH-256 defines
Diffstat (limited to 'lsh256.cpp')
-rw-r--r--lsh256.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lsh256.cpp b/lsh256.cpp
index 378bd5bc..b4beaa4e 100644
--- a/lsh256.cpp
+++ b/lsh256.cpp
@@ -31,19 +31,19 @@
// Only enable the intrinsics for 64-bit machines
#ifndef CRYPTOPP_DISABLE_ASM
# if (defined(__SSE2__) && defined(__amd64__)) || (defined(_MSC_VER) && defined(_M_X64))
-# define CRYPTOPP_LSH512_SSE2_AVAILABLE 1
+# define CRYPTOPP_LSH256_SSE2_AVAILABLE 1
# endif
# if defined(__SSSE3__) && defined(__amd64__)
-# define CRYPTOPP_LSH512_SSSE3_AVAILABLE 1
+# define CRYPTOPP_LSH256_SSSE3_AVAILABLE 1
# endif
# if defined(__XOP__) && defined(__amd64__)
-# define CRYPTOPP_LSH512_XOP_AVAILABLE 1
+# define CRYPTOPP_LSH256_XOP_AVAILABLE 1
# endif
# if defined(__AVX__) && defined(__amd64__)
-# define CRYPTOPP_LSH512_AVX_AVAILABLE 1
+# define CRYPTOPP_LSH256_AVX_AVAILABLE 1
# endif
# if defined(__AVX2__) && defined(__amd64__)
-# define CRYPTOPP_LSH512_AVX2_AVAILABLE 1
+# define CRYPTOPP_LSH256_AVX2_AVAILABLE 1
# endif
#endif