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/Crypto/Sources | |
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/Crypto/Sources')
-rw-r--r-- | src/Crypto/Sources | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Crypto/Sources b/src/Crypto/Sources index edddd4c6..60412bf1 100644 --- a/src/Crypto/Sources +++ b/src/Crypto/Sources @@ -7,7 +7,9 @@ NTTARGETFILES = \ "$(OBJ_PATH)\$(O)\Aes_$(TC_ARCH).obj" \ "$(OBJ_PATH)\$(O)\Aes_hw_cpu.obj" \ "$(OBJ_PATH)\$(O)\gost89_$(TC_ARCH).obj" \ - "$(OBJ_PATH)\$(O)\Twofish_$(TC_ARCH).obj" + "$(OBJ_PATH)\$(O)\Twofish_$(TC_ARCH).obj" \ + "$(OBJ_PATH)\$(O)\Camellia_$(TC_ARCH).obj" \ + "$(OBJ_PATH)\$(O)\Camellia_aesni_$(TC_ARCH).obj" SOURCES = \ Aes_$(TC_ARCH).asm \ @@ -26,4 +28,7 @@ SOURCES = \ Streebog.c \ kuznyechik.c \ Whirlpool.c \ - Camellia.c + Camellia.c \ + Camellia_$(TC_ARCH).S \ + Camellia_aesni_$(TC_ARCH).S + |