Re: [PATCH] crypto: remove md4 driver

From: Herbert Xu
Date: Fri Oct 13 2023 - 06:39:51 EST


On Sun, Oct 08, 2023 at 05:01:39AM +0100, Dimitri John Ledkov wrote:
> No internal users left and cryptographically insecure. Users should
> upgrade to something else, e.g. sha256 blake3.
>
> Some drivers have their own full or partial md4 implementation without
> using crypto/md4.
>
> Userspace code search indicates a few copies of hash_info.h
> https://codesearch.debian.net/search?q=HASH_ALGO_MD4&literal=1 without
> need for MD4.
>
> Preserve uapi hash algorithm indexes and array length, but rename the
> MD4 enum.
>
> Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@xxxxxxxxxxxxx>
> ---
> crypto/Kconfig | 6 -
> crypto/Makefile | 1 -
> crypto/hash_info.c | 4 +-
> crypto/md4.c | 241 ---------------------------------
> crypto/tcrypt.c | 12 --
> crypto/testmgr.c | 6 -
> crypto/testmgr.h | 42 ------
> include/uapi/linux/hash_info.h | 2 +-
> 8 files changed, 3 insertions(+), 311 deletions(-)
> delete mode 100644 crypto/md4.c

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt