lkml.org 
[lkml]   [2023]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] crypto: remove md4 driver
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@canonical.com>
> ---
> 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@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

\
 
 \ /
  Last update: 2023-10-13 12:40    [W:0.213 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site