diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2010-05-13 16:58:21 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2010-05-13 16:58:21 +0000 |
commit | 0cf5807aa9174bb4b7d8570550b468751f5da6e9 (patch) | |
tree | bb244759ea5c82ec91175001a277000caea85dce /sha.cpp | |
parent | 27b944c4272c0408bffdd14253885debd4d9edf9 (diff) | |
download | cryptopp-0cf5807aa9174bb4b7d8570550b468751f5da6e9.tar.gz |
fix for http://sourceforge.net/apps/trac/cryptopp/ticket/2 (Ken Raeburn)
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@480 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'sha.cpp')
-rw-r--r-- | sha.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -356,7 +356,7 @@ static void CRYPTOPP_FASTCALL X86_SHA256_HashBlocks(word32 *state, const word32 ROUND(14, 1, eax, ecx, edi, edx) ROUND(15, 1, ecx, eax, edx, edi) AS2( cmp WORD_REG(si), K_END) - ASJ( jl, 1, b) + ASJ( jb, 1, b) AS2( mov WORD_REG(dx), DATA_SAVE) AS2( add WORD_REG(dx), 64) @@ -375,7 +375,7 @@ static void CRYPTOPP_FASTCALL X86_SHA256_HashBlocks(word32 *state, const word32 AS2( movdqa [AS_REG_7+1*16], xmm1) AS2( movdqa [AS_REG_7+0*16], xmm0) AS2( cmp WORD_REG(dx), DATA_END) - ASJ( jl, 0, b) + ASJ( jb, 0, b) #endif #if CRYPTOPP_BOOL_X86 @@ -399,7 +399,7 @@ static void CRYPTOPP_FASTCALL X86_SHA256_HashBlocks(word32 *state, const word32 AS2( add [AS_REG_7+7*4], ecx) AS2( mov ecx, AS_REG_7d) AS2( cmp WORD_REG(dx), DATA_END) - ASJ( jl, 2, b) + ASJ( jb, 2, b) #if CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE ASL(5) #endif |