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

Linux: Add missing header in ARM64 build. Add .oarmv8crypto to .gitignore

This commit is contained in:
Mounir IDRASSI
2025-01-18 16:37:26 +01:00
parent ff63e5aad0
commit cca323964e
2 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@@ -17,6 +17,7 @@ src/Main/veracrypt
*.osse41
*.ossse3
*.oshani
*.oarmv8crypto
# VC macOS build artifacts
src/Main/VeraCrypt

View File

@@ -470,12 +470,14 @@ void DisableCPUExtendedFeatures ()
#endif
#if CRYPTOPP_BOOL_ARMV8
volatile int g_hasAESARM = 0;
#if defined(__linux__) && defined(__aarch64__)
#include <sys/auxv.h>
#ifndef HWCAP_AES
# define HWCAP_AES (1 << 3)
#endif
#endif
volatile int g_hasAESARM = 0;
inline int CPU_QueryAES()
{