aboutsummaryrefslogtreecommitdiffstats
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
commit5d6c3b75cbe2276abf67d8055bd7a7aedf194a71 (patch)
treea848845fb95c91673772eacfe88c40c093daf188 /package/openssl/patches
parentd560a3be458ec52be31980ba2ae6b7993b0a1ab4 (diff)
downloadupstream-5d6c3b75cbe2276abf67d8055bd7a7aedf194a71.tar.gz
upstream-5d6c3b75cbe2276abf67d8055bd7a7aedf194a71.tar.bz2
upstream-5d6c3b75cbe2276abf67d8055bd7a7aedf194a71.zip
openssl: use assembler version of aes on arm - nearly doubles aes encryption performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18790 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 0000000000..2d940f0efa
--- /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 > $@
+
+