diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-11-28 00:29:36 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-12-07 12:36:04 +0100 |
commit | 263abeee3a8c97e98fec49ee0ce628d6c5c5df50 (patch) | |
tree | c6a326a7c90280cb3926c58275f361b999bd2ba3 /src/Volume/Volume.make | |
parent | 68fababbe88cf213b3f2f3a71d66c2b05196aaed (diff) | |
download | VeraCrypt-263abeee3a8c97e98fec49ee0ce628d6c5c5df50.tar.gz VeraCrypt-263abeee3a8c97e98fec49ee0ce628d6c5c5df50.zip |
Crypto: Add optimized Twofish assembly implementation for x86_64.
Diffstat (limited to 'src/Volume/Volume.make')
-rw-r--r-- | src/Volume/Volume.make | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Volume/Volume.make b/src/Volume/Volume.make index fa3a4207..f6a8cec8 100644 --- a/src/Volume/Volume.make +++ b/src/Volume/Volume.make @@ -33,12 +33,14 @@ ifeq "$(PLATFORM)" "MacOSX" OBJSEX += ../Crypto/Aes_asm.oo OBJS += ../Crypto/Aes_hw_cpu.o OBJS += ../Crypto/Aescrypt.o + OBJSEX += ../Crypto/Twofish_asm.oo else ifeq "$(CPU_ARCH)" "x86" OBJS += ../Crypto/Aes_x86.o OBJS += ../Crypto/Aes_hw_cpu.o else ifeq "$(CPU_ARCH)" "x64" OBJS += ../Crypto/Aes_x64.o OBJS += ../Crypto/Aes_hw_cpu.o + OBJS += ../Crypto/Twofish_x64.o else OBJS += ../Crypto/Aescrypt.o endif @@ -72,6 +74,9 @@ ifeq "$(PLATFORM)" "MacOSX" $(AS) $(ASFLAGS) -f macho64 -o ../Crypto/Aes_x64.o ../Crypto/Aes_x64.asm lipo -create ../Crypto/Aes_x86.o ../Crypto/Aes_x64.o -output ../Crypto/Aes_asm.oo rm -fr ../Crypto/Aes_x86.o ../Crypto/Aes_x64.o +../Crypto/Twofish_asm.oo: ../Crypto/Twofish_x64.S + @echo Assembling $(<F) + $(CC) -arch x86_64 -c ../Crypto/Twofish_x64.S -o ../Crypto/Twofish_asm.oo endif include $(BUILD_INC)/Makefile.inc |