]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: remove HKDF library
authorEric Biggers <ebiggers@kernel.org>
Mon, 2 Mar 2026 07:59:59 +0000 (23:59 -0800)
committerKeith Busch <kbusch@kernel.org>
Fri, 27 Mar 2026 14:35:03 +0000 (07:35 -0700)
commit6d888db2cfd910ad5b2070659e9b2598bbe4081f
tree8b714adfc6e040fb5d48351ad5ca8167c01dece5
parent26c8c2dddecb016a6115b30cf2cee633b311222b
crypto: remove HKDF library

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.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Keith Busch <kbusch@kernel.org>
crypto/Kconfig
crypto/Makefile
crypto/hkdf.c [deleted file]
include/crypto/hkdf.h [deleted file]