]> git.ipfire.org Git - thirdparty/linux.git/commit
lib/crypto: mips: Drop optimized MD5 code
authorEric Biggers <ebiggers@kernel.org>
Thu, 26 Mar 2026 20:48:24 +0000 (13:48 -0700)
committerEric Biggers <ebiggers@kernel.org>
Mon, 30 Mar 2026 19:35:05 +0000 (12:35 -0700)
commit91cd9a03372be647fff09acab525c15e9c9b66f0
treeecca9cc299dc3e48a54a4a03c0c8c884520d771e
parent7ac21b4032e5b9b8a6a312b6f1d54f4ba24d1c16
lib/crypto: mips: 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 MIPS Cavium Octeon optimized MD5
code.  Note that this code runs on only one particular line of SoCs.

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

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