mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08: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
|
*.osse41
|
||||||
*.ossse3
|
*.ossse3
|
||||||
*.oshani
|
*.oshani
|
||||||
|
*.oarmv8crypto
|
||||||
|
|
||||||
# VC macOS build artifacts
|
# VC macOS build artifacts
|
||||||
src/Main/VeraCrypt
|
src/Main/VeraCrypt
|
||||||
|
|||||||
@@ -470,12 +470,14 @@ void DisableCPUExtendedFeatures ()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CRYPTOPP_BOOL_ARMV8
|
#if CRYPTOPP_BOOL_ARMV8
|
||||||
|
#if defined(__linux__) && defined(__aarch64__)
|
||||||
volatile int g_hasAESARM = 0;
|
#include <sys/auxv.h>
|
||||||
|
|
||||||
#ifndef HWCAP_AES
|
#ifndef HWCAP_AES
|
||||||
# define HWCAP_AES (1 << 3)
|
# define HWCAP_AES (1 << 3)
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
volatile int g_hasAESARM = 0;
|
||||||
|
|
||||||
inline int CPU_QueryAES()
|
inline int CPU_QueryAES()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user