summaryrefslogtreecommitdiff
path: root/package/openssl/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-16 02:03:20 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-16 02:03:20 +0000
commit86b2ef4494f06af1b87a93eb809cd6bfbec0bd49 (patch)
treea848845fb95c91673772eacfe88c40c093daf188 /package/openssl/patches
parent483781cdb7a0951eccb97ee5f08a7a5bede0bc8d (diff)
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 > $@
+
+