mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: remove duplicated function to detect AES-NI support in CPU
This commit is contained in:
@@ -5999,7 +5999,7 @@ BOOL CALLBACK BenchmarkDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
|
||||
|
||||
|
||||
uint32 driverConfig = ReadDriverConfigurationFlags();
|
||||
int isAesHwSupported = is_aes_hw_cpu_supported();
|
||||
int isAesHwSupported = HasAESNI();
|
||||
|
||||
SetDlgItemTextW (hwndDlg, IDC_HW_AES, (wstring (L" ") + (GetString (isAesHwSupported ? ((driverConfig & TC_DRIVER_CONFIG_DISABLE_HARDWARE_ENCRYPTION) ? "UISTR_DISABLED" : "UISTR_YES") : "NOT_APPLICABLE_OR_NOT_AVAILABLE"))).c_str());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user