summaryrefslogtreecommitdiff
path: root/aria.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-10-28 04:24:22 -0400
committerJeffrey Walton <noloader@gmail.com>2018-10-28 04:24:22 -0400
commitc601213ce13f8413cf3af686c18232ee6d42a50f (patch)
tree78954647ca90e60da1c52785e7d6dafbfc7154c7 /aria.cpp
parente185cbd80335a7f1f9e69bb4c078f3369c047b9c (diff)
downloadcryptopp-git-c601213ce13f8413cf3af686c18232ee6d42a50f.tar.gz
Sync CRYPTOPP_{BIG|LITTLE}_ENDIAN with Autotools
Autotools sets up its config.h file with the '#define XXX 0' or '#define XXX 1' pattern. This check-in makes the sources Autotools aware. We need to verify CMake does the same
Diffstat (limited to 'aria.cpp')
-rw-r--r--aria.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/aria.cpp b/aria.cpp
index 6e59d0ff..3b848109 100644
--- a/aria.cpp
+++ b/aria.cpp
@@ -291,7 +291,7 @@ void ARIA::Base::ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, b
else
#endif // CRYPTOPP_ENABLE_ARIA_SSSE3_INTRINSICS
-#ifdef CRYPTOPP_LITTLE_ENDIAN
+#if (CRYPTOPP_LITTLE_ENDIAN)
{
outBlock[ 0] = (byte)(X1[ARIA_BRF(t[0],3)] ) ^ rk[ 3];
outBlock[ 1] = (byte)(X2[ARIA_BRF(t[0],2)]>>8) ^ rk[ 2];