From f1b1bf3d0dea2032f9ce5f9b3d29b7ed5d22a32a Mon Sep 17 00:00:00 2001 From: weidai Date: Tue, 3 Mar 2009 03:28:39 +0000 Subject: tweaks/fixes for 5.6 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@435 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- gcm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcm.cpp') diff --git a/gcm.cpp b/gcm.cpp index 4d02ef3..09d13cf 100644 --- a/gcm.cpp +++ b/gcm.cpp @@ -97,11 +97,11 @@ void GCM_Base::SetKeyWithoutResync(const byte *userKey, size_t keylength, const { s_reductionTable[0] = 0; word16 x = 0x01c2; - s_reductionTable[1] = ConditionalByteReverse(BIG_ENDIAN_ORDER, x); + s_reductionTable[1] = ByteReverse(x); for (int i=2; i<=0x80; i*=2) { x <<= 1; - s_reductionTable[i] = ConditionalByteReverse(BIG_ENDIAN_ORDER, x); + s_reductionTable[i] = ByteReverse(x); for (int j=1; j Block; + typedef BlockGetAndPut Block; word64 *hashBuffer = (word64 *)HashBuffer(); switch (2*(m_buffer.size()>=64*1024) -- cgit v1.2.1