summaryrefslogtreecommitdiff
path: root/package/openssl/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-12-16 02:03:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-12-16 02:03:20 +0000
commitcff27487bbc7dae534e277b9bbf0bc1aa6fd2400 (patch)
tree494f5b7c80f55dfb356d3c4498a1562d5bab022c /package/openssl/patches
parent6a90a35f2bd8780fcc5a903b651ee0f56f337a76 (diff)
downloadmtk-20170518-cff27487bbc7dae534e277b9bbf0bc1aa6fd2400.zip
mtk-20170518-cff27487bbc7dae534e277b9bbf0bc1aa6fd2400.tar.gz
mtk-20170518-cff27487bbc7dae534e277b9bbf0bc1aa6fd2400.tar.bz2
openssl: use assembler version of aes on arm - nearly doubles aes encryption performance
SVN-Revision: 18790
Diffstat (limited to 'package/openssl/patches')
-rw-r--r--package/openssl/patches/310-arm_asm.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/openssl/patches/310-arm_asm.patch b/package/openssl/patches/310-arm_asm.patch
new file mode 100644
index 0000000..2d940f0
--- /dev/null
+++ b/package/openssl/patches/310-arm_asm.patch
@@ -0,0 +1,13 @@
+--- a/crypto/aes/Makefile
++++ b/crypto/aes/Makefile
+@@ -47,6 +47,9 @@ lib: $(LIBOBJ)
+
+ $(LIBOBJ): $(LIBSRC)
+
++aes-armv4.s: asm/aes-armv4.pl
++ $(PERL) $^ > $@
++
+ aes-ia64.s: asm/aes-ia64.S
+ $(CC) $(CFLAGS) -E asm/aes-ia64.S > $@
+
+