crypto: hash - Add statesize to crypto_ahash
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 20 Apr 2023 10:05:16 +0000 (18:05 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 12 May 2023 10:48:01 +0000 (18:48 +0800)
commitc7535fb2ddf695fbb8b2c2b935307e33556082de
tree1cd9d1ad6f646664da155aae77498cb6c05676e2
parenta4ca033d3294bedbcc44046efeb54873631f5faf
crypto: hash - Add statesize to crypto_ahash

As ahash drivers may need to use fallbacks, their state size
is thus variable.  Deal with this by making it an attribute
of crypto_ahash.

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