diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-20 17:43:35 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-21 01:39:55 +0200 |
commit | 70097ecfe54a9630e1e77fdc30204a5460228193 (patch) | |
tree | f43481a6ede0e0fcd81f8ba02006613d02d23032 /src/Driver | |
parent | ee5c1784ea0ed1328f7607bf3ea619ef3bd96d03 (diff) | |
download | VeraCrypt-70097ecfe54a9630e1e77fdc30204a5460228193.tar.gz VeraCrypt-70097ecfe54a9630e1e77fdc30204a5460228193.zip |
Crypto: Add optimized Camellia assembly implementation for x86_64 based on work by Jussi Kivilinna (https://github.com/jkivilin/supercop-blockciphers). This improve speed by a factor of 2.5 when AES-NI supported by CPU and by 30% if AES-NI not supported.
Diffstat (limited to 'src/Driver')
-rw-r--r-- | src/Driver/Driver.vcxproj | 3 | ||||
-rw-r--r-- | src/Driver/Driver.vcxproj.filters | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/Driver/Driver.vcxproj b/src/Driver/Driver.vcxproj index f534a0ee..a108f426 100644 --- a/src/Driver/Driver.vcxproj +++ b/src/Driver/Driver.vcxproj @@ -223,6 +223,9 @@ BuildDriver.cmd -rebuild -debug -x64 "$(SolutionDir)\Common" "$(SolutionDir)\Cry <None Include="..\Crypto\Aes_hw_cpu.asm" /> <None Include="..\Crypto\Aes_x64.asm" /> <None Include="..\Crypto\Aes_x86.asm" /> + <None Include="..\Crypto\Camellia_aesni_x64.S" /> + <None Include="..\Crypto\Camellia_x64.S" /> + <None Include="..\Crypto\Twofish_x64.S" /> <None Include="BuildDriver.cmd" /> <None Include="Makefile" /> <None Include="Sources" /> diff --git a/src/Driver/Driver.vcxproj.filters b/src/Driver/Driver.vcxproj.filters index dfb7edac..5a44984d 100644 --- a/src/Driver/Driver.vcxproj.filters +++ b/src/Driver/Driver.vcxproj.filters @@ -143,6 +143,15 @@ <None Include="..\Crypto\Sources"> <Filter>Build Files\Crypto</Filter> </None> + <None Include="..\Crypto\Camellia_aesni_x64.S"> + <Filter>Source Files\Crypto</Filter> + </None> + <None Include="..\Crypto\Camellia_x64.S"> + <Filter>Source Files\Crypto</Filter> + </None> + <None Include="..\Crypto\Twofish_x64.S"> + <Filter>Source Files\Crypto</Filter> + </None> </ItemGroup> <ItemGroup> <ClInclude Include="..\Common\Apidrvr.h"> |