fix incorrect SHA-256 hash on x64 when compiled with GCC with optimizations enabled
parent
a459524418
commit
cc3f6045a5
|
|
@ -430,7 +430,7 @@ static void CRYPTOPP_FASTCALL X86_SHA256_HashBlocks(word32 *state, const word32
|
||||||
#endif
|
#endif
|
||||||
: "memory", "cc", "%eax"
|
: "memory", "cc", "%eax"
|
||||||
#if CRYPTOPP_BOOL_X64
|
#if CRYPTOPP_BOOL_X64
|
||||||
, "%rbx", "%r8"
|
, "%rbx", "%r8", "%r10"
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue