[PATCH 21/21] crypto: remove HKDF library
Hannes Reinecke
hare at suse.de
Mon Mar 2 23:46:17 PST 2026
On 3/2/26 08:59, Eric Biggers wrote:
> Remove crypto/hkdf.c, since it's no longer used. Originally it had two
> users, but now both of them just inline the needed HMAC computations
> using the HMAC library APIs. That ends up being better, since it
> eliminates all the complexity and performance issues associated with the
> crypto_shash abstraction and multi-step HMAC input formatting.
>
> Signed-off-by: Eric Biggers <ebiggers at kernel.org>
> ---
> crypto/Kconfig | 6 -
> crypto/Makefile | 1 -
> crypto/hkdf.c | 573 ------------------------------------------
> include/crypto/hkdf.h | 20 --
> 4 files changed, 600 deletions(-)
> delete mode 100644 crypto/hkdf.c
> delete mode 100644 include/crypto/hkdf.h
>
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
More information about the Linux-nvme
mailing list