diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-12-19 17:42:42 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-12-25 23:43:47 +0100 |
commit | 667babbefe2e095e7765c3929626fbf1cd2a7041 (patch) | |
tree | 0384d5fbe9b375619fac7396f257a828dc3f4ee2 /Library/VeraCryptLib | |
parent | c7040ebd2619e4d73b98bc113941f86f2f08992d (diff) | |
download | VeraCrypt-DCS-667babbefe2e095e7765c3929626fbf1cd2a7041.tar.gz VeraCrypt-DCS-667babbefe2e095e7765c3929626fbf1cd2a7041.zip |
Add precompiled Twofish 64-bit assembly to benefit from speed optimization
Diffstat (limited to 'Library/VeraCryptLib')
-rw-r--r-- | Library/VeraCryptLib/Twofish_x64.S.precompiled | bin | 0 -> 28254 bytes | |||
-rw-r--r-- | Library/VeraCryptLib/VeraCryptLib.inf | 3 | ||||
-rw-r--r-- | Library/VeraCryptLib/mklinks_src.bat | 4 |
3 files changed, 7 insertions, 0 deletions
diff --git a/Library/VeraCryptLib/Twofish_x64.S.precompiled b/Library/VeraCryptLib/Twofish_x64.S.precompiled Binary files differnew file mode 100644 index 0000000..dd89765 --- /dev/null +++ b/Library/VeraCryptLib/Twofish_x64.S.precompiled 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
|