diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2020-06-18 16:41:24 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2020-06-19 01:28:07 +0200 |
commit | 0e3f4c40e3b1c5d8958148b079d4e9c6ae60ae69 (patch) | |
tree | f5f9889f046af1e17312346fcb9e898d4d6cb713 /src/Common/Dlgcode.c | |
parent | eaf400b088c147042457a15bd4a3d44941e86cb0 (diff) | |
download | VeraCrypt-0e3f4c40e3b1c5d8958148b079d4e9c6ae60ae69.tar.gz VeraCrypt-0e3f4c40e3b1c5d8958148b079d4e9c6ae60ae69.zip |
Windows: remove duplicated function to detect AES-NI support in CPU
Diffstat (limited to 'src/Common/Dlgcode.c')
-rw-r--r-- | src/Common/Dlgcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index fe23deaf..4dee81b1 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -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()); |