diff options
author | David McCullough <david_mccullough@mcafee.com> | 2012-09-07 04:17:02 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-09-07 04:17:02 +0800 |
commit | f0be44f4fb1faee42635ca5ea06dc9c3e820a35d (patch) | |
tree | 866c6016f7153ddff778a5eda036934e7eb426ac /arch/arm/crypto/Makefile | |
parent | 956c203c5e370c7beb766400b5c1a32ec570ce96 (diff) | |
download | op-kernel-dev-f0be44f4fb1faee42635ca5ea06dc9c3e820a35d.zip op-kernel-dev-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/crypto/Makefile')
-rw-r--r-- | arch/arm/crypto/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/crypto/Makefile b/arch/arm/crypto/Makefile new file mode 100644 index 0000000..a2c8385 --- /dev/null +++ b/arch/arm/crypto/Makefile @@ -0,0 +1,9 @@ +# +# Arch-specific CryptoAPI modules. +# + +obj-$(CONFIG_CRYPTO_AES_ARM) += aes-arm.o +obj-$(CONFIG_CRYPTO_SHA1_ARM) += sha1-arm.o + +aes-arm-y := aes-armv4.o aes_glue.o +sha1-arm-y := sha1-armv4-large.o sha1_glue.o |