fix incorrect SHA-256 hash on x64 when compiled with GCC with optimizations enabled
parent
7f21596d10
commit
9a759e4492
2
sha.cpp
2
sha.cpp
|
|
@ -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