From 667babbefe2e095e7765c3929626fbf1cd2a7041 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 19 Dec 2016 17:42:42 +0100 Subject: Add precompiled Twofish 64-bit assembly to benefit from speed optimization --- Library/VeraCryptLib/Twofish_x64.S.precompiled | Bin 0 -> 28254 bytes Library/VeraCryptLib/VeraCryptLib.inf | 3 +++ Library/VeraCryptLib/mklinks_src.bat | 4 ++++ 3 files changed, 7 insertions(+) create mode 100644 Library/VeraCryptLib/Twofish_x64.S.precompiled (limited to 'Library') diff --git a/Library/VeraCryptLib/Twofish_x64.S.precompiled b/Library/VeraCryptLib/Twofish_x64.S.precompiled new file mode 100644 index 0000000..dd89765 Binary files /dev/null and b/Library/VeraCryptLib/Twofish_x64.S.precompiled 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 -- cgit v1.2.3