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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user