diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2022-02-13 18:41:18 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2022-02-13 18:42:27 +0100 |
commit | d417b2806c88cf06f4f3baa0064d6b1f9f22037d (patch) | |
tree | 1b9371586cde72dfebf8d1ad2552552c33e93b91 /src/Volume/Volume.make | |
parent | be5bcbf42f4b2bdcc8307ee80fe1e954a4c481f2 (diff) | |
download | VeraCrypt-d417b2806c88cf06f4f3baa0064d6b1f9f22037d.tar.gz VeraCrypt-d417b2806c88cf06f4f3baa0064d6b1f9f22037d.zip |
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.
Diffstat (limited to 'src/Volume/Volume.make')
-rw-r--r-- | src/Volume/Volume.make | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Volume/Volume.make b/src/Volume/Volume.make index 224eff66..a7f9ef0a 100644 --- a/src/Volume/Volume.make +++ b/src/Volume/Volume.make @@ -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 |