]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: ahash - Set default reqsize from ahash_alg
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 16 Feb 2025 03:07:24 +0000 (11:07 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 22 Feb 2025 08:09:05 +0000 (16:09 +0800)
commit9e01aaa1033d6e40f8d7cf4f20931a61ce9e3f04
treecf1d96bae4fe86b79b29c1ca63be7d106d9efd03
parent439963cdc3aa447dfd3b5abc05fcd25cef4d22dc
crypto: ahash - Set default reqsize from ahash_alg

Add a reqsize field to struct ahash_alg and use it to set the
default reqsize so that algorithms with a static reqsize are
not forced to create an init_tfm function.

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