mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-24 12:03:28 +01:00
Windows: when building for EFI bootloader, don't make calls to RDRAND/RDSEED functions since we don't link against their implementation in EFI bootloader
This commit is contained in:
parent
6252d96b0d
commit
1994520e75
@ -387,7 +387,7 @@ void DetectX86Features()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef _UEFI
|
||||
/* Add check fur buggy RDRAND (AMD Ryzen case) even if we always use RDSEED instead of RDRAND when RDSEED available */
|
||||
if (g_hasRDRAND)
|
||||
{
|
||||
@ -412,6 +412,7 @@ void DetectX86Features()
|
||||
g_hasRDSEED = 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!g_cacheLineSize)
|
||||
g_cacheLineSize = CRYPTOPP_L1_CACHE_LINE_SIZE;
|
||||
|
Loading…
Reference in New Issue
Block a user