mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Don't check for SSSE3 to use 64-bit SHA-512 assembly code since it uses only SSE2 instructions.
This commit is contained in:
@@ -217,7 +217,11 @@ void sha512_begin(sha512_ctx* ctx)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CRYPTOPP_BOOL_X64 || ((CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32) && !defined (TC_MACOSX))
|
#if CRYPTOPP_BOOL_X64 || ((CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32) && !defined (TC_MACOSX))
|
||||||
|
#if CRYPTOPP_BOOL_X64
|
||||||
|
if (HasSSE2())
|
||||||
|
#else
|
||||||
if (HasSSSE3() && HasMMX())
|
if (HasSSSE3() && HasMMX())
|
||||||
|
#endif
|
||||||
transfunc = SSE2Transform;
|
transfunc = SSE2Transform;
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user