mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 03:18:26 -06:00
Linux/FreeBSD: Enable building without AESNI support by setting environment variable DISABLE_AESNI to 1 during build or passing NOAESNI=1 to make command
This comes following Github issue #892 and which should be solved thanks to this.
This commit is contained in:
@@ -47,12 +47,16 @@ ifeq "$(PLATFORM)" "MacOSX"
|
||||
OBJSEX += ../Crypto/sha512_sse4.oo
|
||||
else ifeq "$(CPU_ARCH)" "x86"
|
||||
OBJS += ../Crypto/Aes_x86.o
|
||||
ifeq "$(DISABLE_AESNI)" "0"
|
||||
OBJS += ../Crypto/Aes_hw_cpu.o
|
||||
endif
|
||||
OBJS += ../Crypto/sha256-x86-nayuki.o
|
||||
OBJS += ../Crypto/sha512-x86-nayuki.o
|
||||
else ifeq "$(CPU_ARCH)" "x64"
|
||||
OBJS += ../Crypto/Aes_x64.o
|
||||
ifeq "$(DISABLE_AESNI)" "0"
|
||||
OBJS += ../Crypto/Aes_hw_cpu.o
|
||||
endif
|
||||
OBJS += ../Crypto/Twofish_x64.o
|
||||
OBJS += ../Crypto/Camellia_x64.o
|
||||
OBJS += ../Crypto/Camellia_aesni_x64.o
|
||||
|
||||
Reference in New Issue
Block a user