Skip to content

Commit 91cd9a0

Browse files
author
Eric Biggers
committed
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>
1 parent 7ac21b4 commit 91cd9a0

2 files changed

Lines changed: 0 additions & 66 deletions

File tree

lib/crypto/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ config CRYPTO_LIB_MD5
134134
config CRYPTO_LIB_MD5_ARCH
135135
bool
136136
depends on CRYPTO_LIB_MD5 && !UML
137-
default y if MIPS && CPU_CAVIUM_OCTEON
138137
default y if PPC
139138
default y if SPARC64
140139

lib/crypto/mips/md5.h

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)