From b62a309d5c90c48d416b8a55106d5bb90baf7de7 Mon Sep 17 00:00:00 2001 From: weidai Date: Tue, 29 Jun 2010 00:46:23 +0000 Subject: fix incorrect SHA-256 hash on x64 when compiled with GCC with optimizations enabled git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@492 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- sha.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sha.cpp b/sha.cpp index e5dd9b7..df947ad 100644 --- a/sha.cpp +++ b/sha.cpp @@ -430,7 +430,7 @@ static void CRYPTOPP_FASTCALL X86_SHA256_HashBlocks(word32 *state, const word32 #endif : "memory", "cc", "%eax" #if CRYPTOPP_BOOL_X64 - , "%rbx", "%r8" + , "%rbx", "%r8", "%r10" #endif ); #endif -- cgit v1.2.1