]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: ahash - make hash walk functions from ahash.c public
authorHarald Freudenberger <freude@linux.ibm.com>
Tue, 17 Jun 2025 13:44:35 +0000 (15:44 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 26 Jun 2025 10:52:33 +0000 (18:52 +0800)
commit2f8839e6c5f8e200629fd730aac5dd874c1d2544
tree1376fc578c5235673d773f03c2b27078af0e82d3
parentfa13f1d7c71423a53234c03771fde47f0743a2ef
crypto: ahash - make hash walk functions from ahash.c public

Make the hash walk functions
  crypto_hash_walk_done()
  crypto_hash_walk_first()
  crypto_hash_walk_last()
public again.
These functions had been removed from the header file
include/crypto/internal/hash.h with commit 7fa481734016
("crypto: ahash - make hash walk functions private to ahash.c")
as there was no crypto algorithm code using them.

With the upcoming crypto implementation for s390 phmac
these functions will be exploited and thus need to be
public within the kernel again.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Acked-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ahash.c
include/crypto/internal/hash.h