android_kernel_xiaomi_sm8350/arch/arm
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
..
boot [ARM] 2922/1: compile fix for shark 2005-09-20 16:21:42 +01:00
common [ARM] 2962/1: scoop: Allow GPIO pin suspend state to be specified 2005-10-10 10:20:06 +01:00
configs [ARM] 2968/1: defconfig for the ARM Collie platform 2005-10-10 18:24:09 +01:00
kernel [ARM] Fix sparse warnings 2005-10-28 14:29:43 +01:00
lib [ARM] 2930/1: optimized sha1 implementation for ARM 2005-10-28 15:26:40 +01:00
mach-aaec2000 [ARM] 2982/1: Replace map_desc.physical with map_desc.pfn: aaec2000 2005-10-28 15:18:56 +01:00
mach-clps711x [ARM] 2993/1: Replace map_desc.physical with map_desc.pfn: CLPS711x 2005-10-28 15:19:05 +01:00
mach-clps7500 [ARM] 2994/1: Replace map_desc.physical with map_desc.pfn: CLPS7500 2005-10-28 15:19:05 +01:00
mach-ebsa110 [ARM] 2997/1: Replace map_desc.physical with map_desc.pfn: EBSA110 2005-10-28 15:19:08 +01:00
mach-epxa10db [ARM] 2996/1: Replace map_desc.physical with map_desc.pfn: EPXA10DB 2005-10-28 15:19:07 +01:00
mach-footbridge [ARM] 2998/1: Replace map_desc.physical with map_desc.pfn: Footbridge 2005-10-28 15:19:08 +01:00
mach-h720x [ARM] 2999/1: Replace map_desc.physical with map_desc.pfn: H720x 2005-10-28 15:19:09 +01:00
mach-imx [ARM] 3000/1: Replace map_desc.physical with map_desc.pfn: iMX 2005-10-28 15:19:10 +01:00
mach-integrator [ARM] 3001/1: Replace map_desc.physical with map_desc.pfn: Integrator 2005-10-28 15:19:10 +01:00
mach-iop3xx [ARM] 2983/1: Replace map_desc.physical with map_desc.pfn: IOP3xx 2005-10-28 15:18:57 +01:00
mach-ixp4xx [ARM] 2985/1: Replace map_desc.physical with map_desc.pfn: IXP4xx 2005-10-28 15:18:59 +01:00
mach-ixp2000 [ARM] 2984/1: Replace map_desc.physical with map_desc.pfn: IXP2000 2005-10-28 15:18:58 +01:00
mach-l7200 [ARM] 2980/1: Fix L7200 core.c compile 2005-10-14 12:49:15 +01:00
mach-lh7a40x [ARM] 2986/1: Replace map_desc.physical with map_desc.pfn: LH7A40x 2005-10-28 15:18:59 +01:00
mach-omap1 [ARM] 2987/1: Replace map_desc.physical with map_desc.pfn: OMAP 2005-10-28 15:19:00 +01:00
mach-pxa [ARM] 2988/1: Replace map_desc.physical with map_desc.pfn: PXA 2005-10-28 15:19:01 +01:00
mach-rpc [ARM] 2989/1: Replace map_desc.physical with map_desc.pfn: RiscPC 2005-10-28 15:19:02 +01:00
mach-s3c2410 [ARM] 2990/1: Replace map_desc.physical with map_desc.pfn: S3C2410 2005-10-28 15:19:02 +01:00
mach-sa1100 [ARM] 2992/1: Replace map_desc.physical with map_desc.pfn: SA1100 2005-10-28 15:19:04 +01:00
mach-shark [ARM] 2991/1: Replace map_desc.physical with map_desc.pfn: Shark 2005-10-28 15:19:03 +01:00
mach-versatile [ARM] 2995/1: Replace map_desc.physical with map_desc.pfn: Versatile 2005-10-28 15:19:06 +01:00
mm [ARM] 3017/1: Add support for 36-bit addresses to create_mapping() 2005-10-28 15:19:12 +01:00
nwfpe [ARM] 2978/1: nwfpe - clean up sparse errors 2005-10-12 19:58:10 +01:00
oprofile [ARM] 4/4 Combine oprofile common and init code 2005-10-28 14:56:04 +01:00
plat-omap [ARM] 2987/1: Replace map_desc.physical with map_desc.pfn: OMAP 2005-10-28 15:19:00 +01:00
tools [ARM] Update mach-types 2005-10-10 09:48:10 +01:00
vfp kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
Kconfig [PATCH] Remove even more stale references to Documentation/smp.tex 2005-09-10 10:06:24 -07:00
Kconfig.debug [ARM] Fix typo in arch/arm/Kconfig.debug 2005-09-09 15:57:17 +01:00
Makefile [ARM] 2970/1: Use -mtune=arm1136j-s when building for CPU_V6 targets 2005-10-12 19:58:09 +01:00