VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/misc.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-02-21 00:52:22 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-02-21 10:59:13 +0100
commit87df2fd2fc5845a39c715217029646d385ee3e01 (patch)
treeab2bc7d02a58bf29e7112400dec8f87f4a795c26 /src/Crypto/misc.h
parentfaf00ca1e093f0240f3cc668532f38b15e268da3 (diff)
downloadVeraCrypt-87df2fd2fc5845a39c715217029646d385ee3e01.tar.gz
VeraCrypt-87df2fd2fc5845a39c715217029646d385ee3e01.zip
Crypto: update Whirlpool implementation using latest code from Crypto++.
Diffstat (limited to 'src/Crypto/misc.h')
-rwxr-xr-x[-rw-r--r--]src/Crypto/misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Crypto/misc.h b/src/Crypto/misc.h
index 30346afc..37d40243 100644..100755
--- a/src/Crypto/misc.h
+++ b/src/Crypto/misc.h
@@ -27,7 +27,7 @@
#elif (defined(__MWERKS__) && TARGET_CPU_PPC) || \
(defined(__GNUC__) && (defined(_ARCH_PWR2) || defined(_ARCH_PWR) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || defined(_ARCH_COM)))
#define CRYPTOPP_FAST_ROTATE(x) ((x) == 32)
-#elif defined(__GNUC__) && (CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X86) // depend on GCC's peephole optimization to generate rotate instructions
+#elif defined(__GNUC__) && (CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X86) // depend on GCC's peephole optimization to generate rotate instructions
#define CRYPTOPP_FAST_ROTATE(x) 1
#else
#define CRYPTOPP_FAST_ROTATE(x) 0