You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
20 years ago
..
Makefile
[ARM] 2930/1: optimized sha1 implementation for ARM
20 years ago
ashldi3.c
[PATCH] ARM: Lindent GCC helper functions
20 years ago
ashrdi3.c
[PATCH] ARM: Lindent GCC helper functions
20 years ago
backtrace.S
Linux-2.6.12-rc2
20 years ago
bitops.h
[ARM SMP] Only enable V6K instructions on V6 MP core CPUs
20 years ago
changebit.S
[PATCH] ARM: bitops
20 years ago
clearbit.S
[PATCH] ARM: bitops
20 years ago
copy_page.S
kbuild: arm - use generic asm-offsets.h support
20 years ago
csumipv6.S
Linux-2.6.12-rc2
20 years ago
csumpartial.S
Linux-2.6.12-rc2
20 years ago
csumpartialcopy.S
Linux-2.6.12-rc2
20 years ago
csumpartialcopygeneric.S
Linux-2.6.12-rc2
20 years ago
csumpartialcopyuser.S
kbuild: arm - use generic asm-offsets.h support
20 years ago
delay.S
Linux-2.6.12-rc2
20 years ago
div64.S
Linux-2.6.12-rc2
20 years ago
ecard.S
Linux-2.6.12-rc2
20 years ago
findbit.S
Linux-2.6.12-rc2
20 years ago
floppydma.S
Linux-2.6.12-rc2
20 years ago
gcclib.h
[PATCH] ARM: Lindent GCC helper functions
20 years ago
getuser.S
kbuild: arm - use generic asm-offsets.h support
20 years ago
io-acorn.S
Linux-2.6.12-rc2
20 years ago
io-readsb.S
Linux-2.6.12-rc2
20 years ago
io-readsl.S
Linux-2.6.12-rc2
20 years ago
io-readsw-armv3.S
Linux-2.6.12-rc2
20 years ago
io-readsw-armv4.S
Linux-2.6.12-rc2
20 years ago
io-shark.c
[PATCH] ARM: 2815/1: Shark: new defconfig, fixes with __io and serial ports
20 years ago
io-writesb.S
Linux-2.6.12-rc2
20 years ago
io-writesl.S
Linux-2.6.12-rc2
20 years ago
io-writesw-armv3.S
Linux-2.6.12-rc2
20 years ago
io-writesw-armv4.S
[PATCH] ARM: 2705/1: fix writesw for misaligned source pointer
20 years ago
lib1funcs.S
Linux-2.6.12-rc2
20 years ago
lshrdi3.c
[PATCH] ARM: Lindent GCC helper functions
20 years ago
memchr.S
Linux-2.6.12-rc2
20 years ago
memcpy.S
Linux-2.6.12-rc2
20 years ago
memset.S
Linux-2.6.12-rc2
20 years ago
memzero.S
Linux-2.6.12-rc2
20 years ago
muldi3.c
[PATCH] ARM: Lindent GCC helper functions
20 years ago
putuser.S
kbuild: arm - use generic asm-offsets.h support
20 years ago
setbit.S
[PATCH] ARM: bitops
20 years ago
sha1.S
[ARM] 2930/1: optimized sha1 implementation for ARM
20 years ago
strchr.S
Linux-2.6.12-rc2
20 years ago
strncpy_from_user.S
Linux-2.6.12-rc2
20 years ago
strnlen_user.S
Linux-2.6.12-rc2
20 years ago
strrchr.S
Linux-2.6.12-rc2
20 years ago
testchangebit.S
[PATCH] ARM: bitops
20 years ago
testclearbit.S
[PATCH] ARM: bitops
20 years ago
testsetbit.S
[PATCH] ARM: bitops
20 years ago
uaccess.S
Linux-2.6.12-rc2
20 years ago
ucmpdi2.c
[PATCH] ARM: Lindent GCC helper functions
20 years ago