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

import/raw
weidai 2010-06-29 00:46:23 +00:00
parent a459524418
commit cc3f6045a5
1 changed files with 1 additions and 1 deletions

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