]> git.ipfire.org Git - thirdparty/linux.git/commit
lib/crypto: sha3: Support arch overrides of one-shot digest functions
authorEric Biggers <ebiggers@kernel.org>
Sun, 26 Oct 2025 05:50:28 +0000 (22:50 -0700)
committerEric Biggers <ebiggers@kernel.org>
Thu, 6 Nov 2025 04:02:35 +0000 (20:02 -0800)
commit0354d3c1f1b8628e60eceb304b6d2ef75eea6f41
tree833f0c77ff02c0692369627bcc2df1a2967a222d
parent04171105d33ae77945791a637d23b76789f3bef9
lib/crypto: sha3: Support arch overrides of one-shot digest functions

Add support for architecture-specific overrides of sha3_224(),
sha3_256(), sha3_384(), and sha3_512().  This will be used to implement
these functions more efficiently on s390 than is possible via the usual
init + update + final flow.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Harald Freudenberger <freude@linux.ibm.com>
Link: https://lore.kernel.org/r/20251026055032.1413733-12-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
lib/crypto/sha3.c