Re: [PATCH] lib/crypto: sparc: Drop optimized MD5 code

From: Eric Biggers

Date: Mon Mar 30 2026 - 15:39:09 EST


On Thu, Mar 26, 2026 at 01:33:41PM -0700, Eric Biggers wrote:
> 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@xxxxxxxxxx/),
> 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.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
>
> This patch is targeting libcrypto-next

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next

- Eric