fix incorrect SHA-256 hash on x64 when compiled with GCC with optimizations enabled

This commit is contained in:
weidai 2010-06-29 00:46:23 +00:00
parent 7f21596d10
commit 9a759e4492

View File

@ -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