• Linus Torvalds's avatar
    arm: remove "optimized" SHA1 routines · 4d448714
    Linus Torvalds authored
    Since commit 1eb19a12 ("lib/sha1: use the git implementation of
    SHA-1"), the ARM SHA1 routines no longer work.  The reason? They
    depended on the larger 320-byte workspace, and now the sha1 workspace is
    just 16 words (64 bytes).  So the assembly version would overwrite the
    stack randomly.
    
    The optimized asm version is also probably slower than the new improved
    C version, so there's no reason to keep it around.  At least that was
    the case in git, where what appears to be the same assembly language
    version was removed two years ago because the optimized C BLK_SHA1 code
    was faster.
    Reported-and-tested-by: default avatarJoachim Eastwood <manabian@gmail.com>
    Cc: Andreas Schwab <schwab@linux-m68k.org>
    Cc: Nicolas Pitre <nico@fluxnic.net>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    4d448714
Name
Last commit
Last update
..
Makefile Loading commit data...
ashldi3.S Loading commit data...
ashrdi3.S Loading commit data...
backtrace.S Loading commit data...
bitops.h Loading commit data...
changebit.S Loading commit data...
clear_user.S Loading commit data...
clearbit.S Loading commit data...
copy_from_user.S Loading commit data...
copy_page.S Loading commit data...
copy_template.S Loading commit data...
copy_to_user.S Loading commit data...
csumipv6.S Loading commit data...
csumpartial.S Loading commit data...
csumpartialcopy.S Loading commit data...
csumpartialcopygeneric.S Loading commit data...
csumpartialcopyuser.S Loading commit data...
delay.S Loading commit data...
div64.S Loading commit data...
ecard.S Loading commit data...
findbit.S Loading commit data...
floppydma.S Loading commit data...
getuser.S Loading commit data...
io-acorn.S Loading commit data...
io-readsb.S Loading commit data...
io-readsl.S Loading commit data...
io-readsw-armv3.S Loading commit data...
io-readsw-armv4.S Loading commit data...
io-shark.c Loading commit data...
io-writesb.S Loading commit data...
io-writesl.S Loading commit data...
io-writesw-armv3.S Loading commit data...
io-writesw-armv4.S Loading commit data...
lib1funcs.S Loading commit data...
lshrdi3.S Loading commit data...
memchr.S Loading commit data...
memcpy.S Loading commit data...
memmove.S Loading commit data...
memset.S Loading commit data...
memzero.S Loading commit data...
muldi3.S Loading commit data...
putuser.S Loading commit data...
setbit.S Loading commit data...
strchr.S Loading commit data...
strncpy_from_user.S Loading commit data...
strnlen_user.S Loading commit data...
strrchr.S Loading commit data...
testchangebit.S Loading commit data...
testclearbit.S Loading commit data...
testsetbit.S Loading commit data...
uaccess.S Loading commit data...
uaccess_with_memcpy.c Loading commit data...
ucmpdi2.S Loading commit data...