VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/Camellia_x86.S
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-20 15:43:35 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-20 23:39:55 (GMT)
commit70097ecfe54a9630e1e77fdc30204a5460228193 (patch)
treef43481a6ede0e0fcd81f8ba02006613d02d23032 /src/Crypto/Camellia_x86.S
parentee5c1784ea0ed1328f7607bf3ea619ef3bd96d03 (diff)
downloadVeraCrypt-70097ecfe54a9630e1e77fdc30204a5460228193.zip
VeraCrypt-70097ecfe54a9630e1e77fdc30204a5460228193.tar.gz
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/Camellia_x86.S')
-rw-r--r--src/Crypto/Camellia_x86.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Crypto/Camellia_x86.S b/src/Crypto/Camellia_x86.S
new file mode 100644
index 0000000..4a46688
--- /dev/null
+++ b/src/Crypto/Camellia_x86.S
@@ -0,0 +1,5 @@
+ .ifndef WINABI
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
+ .endif