linux-stable-rt/arch/arm/lib
Nicolas Pitre c09f98271f [ARM] 2930/1: optimized sha1 implementation for ARM
Patch from Nicolas Pitre

Here's an ARM assembly SHA1 implementation to replace the default C
version. It is approximately 50% faster than the generic C version. On
an XScale processor running at 400MHz:
	generic C version:	9.8 MB/s
	my version:		14.5 MB/s
This code is useful to quite a few callers in the tree:
crypto/sha1.c:		sha_transform(sctx->state, sctx->buffer, temp);
crypto/sha1.c:			sha_transform(sctx->state, &data[i], temp);
drivers/char/random.c:		sha_transform(buf, (__u8 *)r->pool+i, buf + 5);
drivers/char/random.c:	sha_transform(buf, (__u8 *)data, buf + 5);
net/ipv4/syncookies.c:	sha_transform(tmp + 16, (__u8 *)tmp, tmp + 16 + 5);

Signed-off-by: Nicolas Pitre <nico@cam.org>
Seems to work fine on big-endian as well.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2005-10-28 15:26:40 +01:00
..
Makefile [ARM] 2930/1: optimized sha1 implementation for ARM 2005-10-28 15:26:40 +01:00
ashldi3.c [PATCH] ARM: Lindent GCC helper functions 2005-06-20 16:45:32 +01:00
ashrdi3.c [PATCH] ARM: Lindent GCC helper functions 2005-06-20 16:45:32 +01:00
backtrace.S
bitops.h [ARM SMP] Only enable V6K instructions on V6 MP core CPUs 2005-08-10 14:41:45 +01:00
changebit.S
clearbit.S
copy_page.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
csumipv6.S
csumpartial.S
csumpartialcopy.S
csumpartialcopygeneric.S
csumpartialcopyuser.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
delay.S
div64.S
ecard.S
findbit.S
floppydma.S
gcclib.h [PATCH] ARM: Lindent GCC helper functions 2005-06-20 16:45:32 +01:00
getuser.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
io-acorn.S
io-readsb.S
io-readsl.S
io-readsw-armv3.S
io-readsw-armv4.S
io-shark.c [PATCH] ARM: 2815/1: Shark: new defconfig, fixes with __io and serial ports 2005-07-16 17:17:18 +01:00
io-writesb.S
io-writesl.S
io-writesw-armv3.S
io-writesw-armv4.S
lib1funcs.S
lshrdi3.c [PATCH] ARM: Lindent GCC helper functions 2005-06-20 16:45:32 +01:00
memchr.S
memcpy.S
memset.S
memzero.S
muldi3.c [PATCH] ARM: Lindent GCC helper functions 2005-06-20 16:45:32 +01:00
putuser.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
setbit.S
sha1.S [ARM] 2930/1: optimized sha1 implementation for ARM 2005-10-28 15:26:40 +01:00
strchr.S
strncpy_from_user.S
strnlen_user.S
strrchr.S
testchangebit.S
testclearbit.S
testsetbit.S
uaccess.S
ucmpdi2.c [PATCH] ARM: Lindent GCC helper functions 2005-06-20 16:45:32 +01:00