summaryrefslogtreecommitdiff
path: root/rijndael.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-12-25 08:10:19 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-12-25 08:10:19 +0000
commit16067bd47aa5474d7db5606f5831f92db5d53592 (patch)
treedabab96c70086dac00be0a2f296193b59936d94b /rijndael.cpp
parente2c5bf3e232f1310e83216e4be2e48d42a964e9a (diff)
downloadcryptopp-16067bd47aa5474d7db5606f5831f92db5d53592.tar.gz
fix compile on MSVC2002 and MSVC6 without Processor Pack
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@276 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'rijndael.cpp')
-rw-r--r--rijndael.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/rijndael.cpp b/rijndael.cpp
index fb79e25..2a1a19e 100644
--- a/rijndael.cpp
+++ b/rijndael.cpp
@@ -52,6 +52,10 @@ being unloaded from L1 cache, until that round is finished.
#include "rijndael.h"
#include "misc.h"
+#ifdef CRYPTOPP_L1_CACHE_ALIGN_NOT_AVAILABLE
+#pragma message("Don't know how to align data on L1 cache boundary. Defense against AES timing attack may be affected.")
+#endif
+
NAMESPACE_BEGIN(CryptoPP)
void Rijndael::Base::UncheckedSetKey(const byte *userKey, unsigned int keylen, const NameValuePairs &)