mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: rename IsCpuRngSupport to IsCpuRngSupported for clarity and use it in Mount.c
This commit is contained in:
@@ -1221,7 +1221,7 @@ BOOL IsHwEncryptionEnabled ()
|
||||
|
||||
static BOOL CpuRngDisabled = TRUE;
|
||||
|
||||
BOOL IsCpuRngSupport ()
|
||||
BOOL IsCpuRngSupported ()
|
||||
{
|
||||
if (HasRDSEED() || HasRDRAND())
|
||||
return TRUE;
|
||||
|
||||
@@ -385,7 +385,7 @@ BOOL IsAesHwCpuSupported ();
|
||||
void EnableHwEncryption (BOOL enable);
|
||||
BOOL IsHwEncryptionEnabled ();
|
||||
|
||||
BOOL IsCpuRngSupport ();
|
||||
BOOL IsCpuRngSupported ();
|
||||
void EnableCpuRng (BOOL enable);
|
||||
BOOL IsCpuRngEnabled ();
|
||||
|
||||
|
||||
@@ -11115,7 +11115,7 @@ static BOOL CALLBACK PerformanceSettingsDlgProc (HWND hwndDlg, UINT msg, WPARAM
|
||||
EnableWindow (GetDlgItem (hwndDlg, IDC_ALLOW_WINDOWS_DEFRAG), FALSE);
|
||||
}
|
||||
|
||||
if (HasRDRAND() || HasRDSEED())
|
||||
if (IsCpuRngSupported())
|
||||
{
|
||||
CheckDlgButton (hwndDlg, IDC_ENABLE_CPU_RNG, (driverConfig & VC_DRIVER_CONFIG_ENABLE_CPU_RNG) ? BST_CHECKED : BST_UNCHECKED);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user