]> git.ipfire.org Git - thirdparty/linux.git/commit
lib/crypto: sparc: Drop optimized MD5 code
authorEric Biggers <ebiggers@kernel.org>
Thu, 26 Mar 2026 20:33:41 +0000 (13:33 -0700)
committerEric Biggers <ebiggers@kernel.org>
Mon, 30 Mar 2026 19:35:16 +0000 (12:35 -0700)
commit23e5c306a207360bfda4f8e96a229dd5fde81cbd
treed065e509756749cec862154c98789f2497224125
parent91cd9a03372be647fff09acab525c15e9c9b66f0
lib/crypto: sparc: Drop optimized MD5 code

MD5 is obsolete.  Continuing to maintain architecture-optimized
implementations of MD5 is unnecessary and risky.  It diverts resources
from the modern algorithms that are actually important.

While there was demand for continuing to maintain the PowerPC optimized
MD5 code to accommodate userspace programs that are misusing AF_ALG
(https://lore.kernel.org/linux-crypto/c4191597-341d-4fd7-bc3d-13daf7666c41@csgroup.eu/),
no such demand has been seen for the SPARC optimized MD5 code.

Thus, let's drop it and focus effort on the more modern SHA algorithms,
which already have optimized code for SPARC.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20260326203341.60393-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
lib/crypto/Kconfig
lib/crypto/Makefile
lib/crypto/sparc/md5.h [deleted file]
lib/crypto/sparc/md5_asm.S [deleted file]