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:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -17,6 +17,7 @@ src/Main/veracrypt
|
||||
*.osse41
|
||||
*.ossse3
|
||||
*.oshani
|
||||
*.oarmv8crypto
|
||||
|
||||
# VC macOS build artifacts
|
||||
src/Main/VeraCrypt
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user