linux/arch/arm/crypto
Jussi Kivilinna 604682551a ARM: 8119/1: crypto: sha1: add ARM NEON implementation
This patch adds ARM NEON assembly implementation of SHA-1 algorithm.

tcrypt benchmark results on Cortex-A8, sha1-arm-asm vs sha1-neon-asm:

block-size      bytes/update    old-vs-new
16              16              1.04x
64              16              1.02x
64              64              1.05x
256             16              1.03x
256             64              1.04x
256             256             1.30x
1024            16              1.03x
1024            256             1.36x
1024            1024            1.52x
2048            16              1.03x
2048            256             1.39x
2048            1024            1.55x
2048            2048            1.59x
4096            16              1.03x
4096            256             1.40x
4096            1024            1.57x
4096            4096            1.62x
8192            16              1.03x
8192            256             1.40x
8192            1024            1.58x
8192            4096            1.63x
8192            8192            1.63x

Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-08-02 08:51:47 +01:00
..
.gitignore ARM: add .gitignore entry for aesbs-core.S 2013-10-07 15:43:53 +01:00
aes_glue.c ARM: move AES typedefs and function prototypes to separate header 2013-10-04 09:26:54 +02:00
aes_glue.h ARM: move AES typedefs and function prototypes to separate header 2013-10-04 09:26:54 +02:00
aes-armv4.S ARM: convert all "mov.* pc, reg" to "bx reg" for ARMv6+ 2014-07-18 12:29:04 +01:00
aesbs-core.S_shipped CRYPTO: Fix more AES build errors 2014-01-05 13:59:56 +00:00
aesbs-glue.c ARM: add support for bit sliced AES using NEON instructions 2013-10-04 20:48:38 +02:00
bsaes-armv7.pl CRYPTO: Fix more AES build errors 2014-01-05 13:59:56 +00:00
Makefile ARM: 8119/1: crypto: sha1: add ARM NEON implementation 2014-08-02 08:51:47 +01:00
sha1_glue.c ARM: 8119/1: crypto: sha1: add ARM NEON implementation 2014-08-02 08:51:47 +01:00
sha1_neon_glue.c ARM: 8119/1: crypto: sha1: add ARM NEON implementation 2014-08-02 08:51:47 +01:00
sha1-armv4-large.S ARM: 7723/1: crypto: sha1-armv4-large.S: fix SP handling 2013-05-22 22:01:35 +01:00
sha1-armv7-neon.S ARM: 8119/1: crypto: sha1: add ARM NEON implementation 2014-08-02 08:51:47 +01:00