From 54bd81999007b467420acab780c704c91bc1b057 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 17 Jan 2025 00:58:54 +0100 Subject: Windows/Linux/macOS: implement AES hardware support on ARM64 (ARMv8) --- src/Format/Tcformat.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Format/Tcformat.c') diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c index 3c2422a5..4afeb174 100644 --- a/src/Format/Tcformat.c +++ b/src/Format/Tcformat.c @@ -10588,7 +10588,11 @@ int WINAPI wWinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, wchar_t *lpsz VirtualLock (&szFileName, sizeof(szFileName)); VirtualLock (&szDiskFile, sizeof(szDiskFile)); - DetectX86Features (); +#ifndef _M_ARM64 + DetectX86Features(); +#else + DetectArmFeatures(); +#endif try { -- cgit v1.2.3