openssl: use assembler version of aes on arm - nearly doubles aes encryption performance
[openwrt.git] / package / openssl / patches / 310-arm_asm.patch
1 --- a/crypto/aes/Makefile
2 +++ b/crypto/aes/Makefile
3 @@ -47,6 +47,9 @@ lib:  $(LIBOBJ)
4  
5  $(LIBOBJ): $(LIBSRC)
6  
7 +aes-armv4.s: asm/aes-armv4.pl
8 +       $(PERL) $^ > $@
9 +
10  aes-ia64.s: asm/aes-ia64.S
11         $(CC) $(CFLAGS) -E asm/aes-ia64.S > $@
12  
13