summary refs log tree commit diff
path: root/arch/arm/Makefile
diff options
context:
space:
mode:
authorDavid McCullough <david_mccullough@mcafee.com>2012-09-07 04:17:02 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2012-09-07 04:17:02 +0800
commitf0be44f4fb1faee42635ca5ea06dc9c3e820a35d (patch)
tree866c6016f7153ddff778a5eda036934e7eb426ac /arch/arm/Makefile
parent956c203c5e370c7beb766400b5c1a32ec570ce96 (diff)
downloadlinux-f0be44f4fb1faee42635ca5ea06dc9c3e820a35d.tar.gz
arm/crypto: Add optimized AES and SHA1 routines
Add assembler versions of AES and SHA1 for ARM platforms.  This has provided
up to a 50% improvement in IPsec/TCP throughout for tunnels using AES128/SHA1.

Platform   CPU SPeed    Endian   Before (bps)   After (bps)   Improvement

IXP425      533 MHz      big     11217042        15566294        ~38%
KS8695      166 MHz     little    3828549         5795373        ~51%

Signed-off-by: David McCullough <ucdevel@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r--arch/arm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 30eae87ead6d..46038d756bf6 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -255,6 +255,7 @@ core-$(CONFIG_VFP)		+= arch/arm/vfp/
 # If we have a machine-specific directory, then include it in the build.
 core-y				+= arch/arm/kernel/ arch/arm/mm/ arch/arm/common/
 core-y				+= arch/arm/net/
+core-y				+= arch/arm/crypto/
 core-y				+= $(machdirs) $(platdirs)
 
 drivers-$(CONFIG_OPROFILE)      += arch/arm/oprofile/