From 546d6cff4447a56bbf7c0e1a8b6f89dba5d3183b Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 23 Jun 2017 02:07:32 +0200 Subject: Crypto: Add optimized SHA-512 and SHA-256 assembly implementations for x86_64 and x86. This improves speed by 30%. --- src/Crypto/sha256-x64-nayuki.S | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/Crypto/sha256-x64-nayuki.S (limited to 'src/Crypto/sha256-x64-nayuki.S') diff --git a/src/Crypto/sha256-x64-nayuki.S b/src/Crypto/sha256-x64-nayuki.S new file mode 100644 index 00000000..c6dd16d1 --- /dev/null +++ b/src/Crypto/sha256-x64-nayuki.S @@ -0,0 +1,6 @@ + + .ifndef WINABI +#if defined(__linux__) && defined(__ELF__) + .section .note.GNU-stack,"",%progbits +#endif + .endif \ No newline at end of file -- cgit v1.2.3