mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-10 13:13:34 +01:00
Fix wrong check on the define CRYPTOPP_BOOL_X64
This commit is contained in:
parent
214efac67e
commit
31c4fbfc12
@ -774,7 +774,7 @@ void sha256_begin(sha256_ctx* ctx)
|
||||
if (!sha256transfunc)
|
||||
{
|
||||
#ifndef NO_OPTIMIZED_VERSIONS
|
||||
#ifdef CRYPTOPP_BOOL_X64
|
||||
#if CRYPTOPP_BOOL_X64
|
||||
if (g_isIntel && HasSAVX2() && HasSBMI2())
|
||||
sha256transfunc = Avx2Sha256Transform;
|
||||
else if (g_isIntel && HasSAVX())
|
||||
|
Loading…
Reference in New Issue
Block a user