VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/Library
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-12-19 17:42:42 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-12-25 23:43:47 +0100
commit667babbefe2e095e7765c3929626fbf1cd2a7041 (patch)
tree0384d5fbe9b375619fac7396f257a828dc3f4ee2 /Library
parentc7040ebd2619e4d73b98bc113941f86f2f08992d (diff)
downloadVeraCrypt-DCS-667babbefe2e095e7765c3929626fbf1cd2a7041.tar.gz
VeraCrypt-DCS-667babbefe2e095e7765c3929626fbf1cd2a7041.zip
Add precompiled Twofish 64-bit assembly to benefit from speed optimization
Diffstat (limited to 'Library')
-rw-r--r--Library/VeraCryptLib/Twofish_x64.S.precompiledbin0 -> 28254 bytes
-rw-r--r--Library/VeraCryptLib/VeraCryptLib.inf3
-rw-r--r--Library/VeraCryptLib/mklinks_src.bat4
3 files changed, 7 insertions, 0 deletions
diff --git a/Library/VeraCryptLib/Twofish_x64.S.precompiled b/Library/VeraCryptLib/Twofish_x64.S.precompiled
new file mode 100644
index 0000000..dd89765
--- /dev/null
+++ b/Library/VeraCryptLib/Twofish_x64.S.precompiled
Binary files differ
diff --git a/Library/VeraCryptLib/VeraCryptLib.inf b/Library/VeraCryptLib/VeraCryptLib.inf
index a4f257b..04eedf5 100644
--- a/Library/VeraCryptLib/VeraCryptLib.inf
+++ b/Library/VeraCryptLib/VeraCryptLib.inf
@@ -73,6 +73,9 @@ crypto\Gost89_x64.nasm
llmath.c
crypto\Aes_x86.nasm
+[Binaries.X64]
+LIB|Twofish_x64.obj|*
+
[Packages]
MdePkg/MdePkg.dec
DcsPkg/DcsPkg.dec
diff --git a/Library/VeraCryptLib/mklinks_src.bat b/Library/VeraCryptLib/mklinks_src.bat
index aad3094..1126cfa 100644
--- a/Library/VeraCryptLib/mklinks_src.bat
+++ b/Library/VeraCryptLib/mklinks_src.bat
@@ -71,6 +71,10 @@ call :create_link Boot\Windows\BootCommon.h
call :create_link Boot\Windows\BootDefs.h
set create_link_skip_pushd=N
+@echo on
+copy /Y Twofish_x64.S.precompiled Twofish_x64.obj
+@echo off
+
goto :end
:create_link