From 0cf5807aa9174bb4b7d8570550b468751f5da6e9 Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 13 May 2010 16:58:21 +0000 Subject: 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 --- sha.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sha.cpp') diff --git a/sha.cpp b/sha.cpp index 376d0c3..e5dd9b7 100644 --- a/sha.cpp +++ b/sha.cpp @@ -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 -- cgit v1.2.1