mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: support RAM encryption only if t1ha2 algorithm self test succeeds
This commit is contained in:
@@ -1243,7 +1243,10 @@ BOOL IsCpuRngEnabled ()
|
|||||||
BOOL IsRamEncryptionSupported ()
|
BOOL IsRamEncryptionSupported ()
|
||||||
{
|
{
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
|
if (t1ha_selfcheck__t1ha2() == 0)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
else
|
||||||
|
return FALSE;
|
||||||
#else
|
#else
|
||||||
return FALSE;
|
return FALSE;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user