diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2011-01-28 01:22:27 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2011-01-28 01:22:27 +0000 |
commit | 9ea35d5f5d0427121c818436818c24c512243c41 (patch) | |
tree | 6b91f0f27af27bb596747ca456823ef571a013a9 /rijndael.cpp | |
parent | 91e9807704ac86299c6e1b4d0756afe3de80d040 (diff) | |
download | cryptopp-9ea35d5f5d0427121c818436818c24c512243c41.tar.gz |
fix for Valgrind error http://tahoe-lafs.org/trac/pycryptopp/ticket/67
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@525 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'rijndael.cpp')
-rw-r--r-- | rijndael.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rijndael.cpp b/rijndael.cpp index 0081e22..c185032 100644 --- a/rijndael.cpp +++ b/rijndael.cpp @@ -526,7 +526,7 @@ CRYPTOPP_NAKED void CRYPTOPP_FASTCALL Rijndael_Enc_AdvancedProcessBlocks(void *l #if CRYPTOPP_BOOL_X86 #define L_REG esp -#define L_INDEX(i) (L_REG+512+i) +#define L_INDEX(i) (L_REG+768+i) #define L_INXORBLOCKS L_INBLOCKS+4 #define L_OUTXORBLOCKS L_INBLOCKS+8 #define L_OUTBLOCKS L_INBLOCKS+12 @@ -625,7 +625,7 @@ CRYPTOPP_NAKED void CRYPTOPP_FASTCALL Rijndael_Enc_AdvancedProcessBlocks(void *l #if CRYPTOPP_BOOL_X86 AS2( mov [ecx+16*12+16*4], esp) // save esp to L_SP - AS2( lea esp, [ecx-512]) + AS2( lea esp, [ecx-768]) #endif // copy subkeys to stack |