From 70097ecfe54a9630e1e77fdc30204a5460228193 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 20 Jun 2017 17:43:35 +0200 Subject: 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. --- src/Crypto/Camellia_aesni_x86.S | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/Crypto/Camellia_aesni_x86.S (limited to 'src/Crypto/Camellia_aesni_x86.S') diff --git a/src/Crypto/Camellia_aesni_x86.S b/src/Crypto/Camellia_aesni_x86.S new file mode 100644 index 00000000..4a466888 --- /dev/null +++ b/src/Crypto/Camellia_aesni_x86.S @@ -0,0 +1,5 @@ + .ifndef WINABI +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif + .endif -- cgit v1.2.3