1
0
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:
Mounir IDRASSI
2017-07-04 02:07:21 +02:00
parent 89efcdb8cd
commit 0358eb6c71

View File

@@ -217,7 +217,11 @@ void sha512_begin(sha512_ctx* ctx)
#endif
#if CRYPTOPP_BOOL_X64 || ((CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32) && !defined (TC_MACOSX))
#if CRYPTOPP_BOOL_X64
if (HasSSE2())
#else
if (HasSSSE3() && HasMMX())
#endif
transfunc = SSE2Transform;
else
#endif