summaryrefslogtreecommitdiff
path: root/gf2_32.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 00:21:07 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 00:21:07 +0000
commit62538e2cf788783be55bd43b262c6a8a565176b7 (patch)
tree6cc6caeba741b13cbc0cf5498d1c957f97451bf3 /gf2_32.cpp
parent5a439a5b05aadca7502541c3d0e487f4365c57d3 (diff)
downloadcryptopp-62538e2cf788783be55bd43b262c6a8a565176b7.tar.gz
optimizations
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@301 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'gf2_32.cpp')
-rw-r--r--gf2_32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gf2_32.cpp b/gf2_32.cpp
index fd2661b..ae4874a 100644
--- a/gf2_32.cpp
+++ b/gf2_32.cpp
@@ -22,7 +22,7 @@ GF2_32::Element GF2_32::Multiply(Element a, Element b) const
table[3] = m_modulus ^ (a<<1);
}
-#ifdef FAST_ROTATE
+#if CRYPTOPP_FAST_ROTATE(32)
b = rotrFixed(b, 30U);
word32 result = table[b&2];