summaryrefslogtreecommitdiff
path: root/shark.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shark.cpp')
-rw-r--r--shark.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/shark.cpp b/shark.cpp
index 0eb5eaeb..a8c304eb 100644
--- a/shark.cpp
+++ b/shark.cpp
@@ -67,7 +67,7 @@ void SHARK::Base::UncheckedSetKey(const byte *key, unsigned int keyLen, const Na
m_roundKeys[i] = SHARKTransform(m_roundKeys[i]);
}
-#ifdef IS_LITTLE_ENDIAN
+#ifdef CRYPTOPP_LITTLE_ENDIAN
m_roundKeys[0] = ByteReverse(m_roundKeys[0]);
m_roundKeys[m_rounds] = ByteReverse(m_roundKeys[m_rounds]);
#endif
@@ -84,7 +84,7 @@ void SHARK::Enc::InitForKeySetup()
m_roundKeys[DEFAULT_ROUNDS] = SHARKTransform(cbox[0][DEFAULT_ROUNDS]);
-#ifdef IS_LITTLE_ENDIAN
+#ifdef CRYPTOPP_LITTLE_ENDIAN
m_roundKeys[0] = ByteReverse(m_roundKeys[0]);
m_roundKeys[m_rounds] = ByteReverse(m_roundKeys[m_rounds]);
#endif