From 87df2fd2fc5845a39c715217029646d385ee3e01 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 21 Feb 2016 00:52:22 +0100 Subject: Crypto: update Whirlpool implementation using latest code from Crypto++. --- src/Crypto/misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 src/Crypto/misc.h (limited to 'src/Crypto/misc.h') diff --git a/src/Crypto/misc.h b/src/Crypto/misc.h old mode 100644 new mode 100755 index 30346afc..37d40243 --- 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 -- cgit v1.2.3