1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00

Windows/Linux/macOS: implement AES hardware support on ARM64 (ARMv8)

This commit is contained in:
Mounir IDRASSI
2025-01-17 00:58:54 +01:00
parent c79f8102e0
commit 54bd819990
22 changed files with 492 additions and 49 deletions

View File

@@ -288,6 +288,24 @@ void DisableCPUExtendedFeatures ();
}
#endif
#elif CRYPTOPP_BOOL_ARMV8
#if defined(__cplusplus)
extern "C" {
#endif
#if !defined(CRYPTOPP_DISABLE_AESNI) && !defined(WOLFCRYPT_BACKEND)
#define TC_AES_HW_CPU
#endif
extern volatile int g_hasAESARM;
void DetectArmFeatures();
#define HasAESNI() g_hasAESARM
#if defined(__cplusplus)
}
#endif
#else
#define HasSSE2() 0