crypto: hash - Add export_core and import_core hooks
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 15 May 2025 05:54:35 +0000 (13:54 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 19 May 2025 05:48:19 +0000 (13:48 +0800)
commitc6a12f394c488cf6a7ca35c1ad51e0e88897de2e
tree19333bd2b6830051ddd0e4a8d41633bec9b7a82c
parentcd5a4d53069ccd7cd48d201c981d5a8a99c93fc4
crypto: hash - Add export_core and import_core hooks

Add export_core and import_core hooks.  These are intended to be
used by algorithms which are wrappers around block-only algorithms,
but are not themselves block-only, e.g., hmac.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ahash.c
crypto/shash.c
include/crypto/hash.h
include/crypto/internal/hash.h