]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: hash - Remove support for cloning hash tfms
authorEric Biggers <ebiggers@kernel.org>
Fri, 22 May 2026 05:30:23 +0000 (00:30 -0500)
committerJakub Kicinski <kuba@kernel.org>
Fri, 29 May 2026 00:45:45 +0000 (17:45 -0700)
commitf331c7be97cec765c611f95df31ee2a99628a013
tree9e839e52acb1341d497dd47d9938ffbc113491a4
parente7d6bd24e883bf7c328d73c99bf6bcde19bf5e61
crypto: hash - Remove support for cloning hash tfms

Hash transformation cloning no longer has a user, and there's a good
chance no new one will appear because the library API solves the problem
in a much simpler and more efficient way.  Remove support for it.

Note that no tests need to be removed, as this feature had no tests.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Link: https://patch.msgid.link/20260522053028.91165-2-ebiggers@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
crypto/ahash.c
crypto/cmac.c
crypto/cryptd.c
crypto/hmac.c
crypto/shash.c
include/crypto/hash.h