crypto: ahash - Add init_tfm/exit_tfm
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 Aug 2020 08:25:34 +0000 (18:25 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Aug 2020 06:58:28 +0000 (16:58 +1000)
commite73d340db6448013ac219d105654d2b9868a8dd2
tree2b14a7315bba9263ac5ff9f92528b86436318afb
parent6779d0e6b0fe193ab3010ea201782ca6f75a3862
crypto: ahash - Add init_tfm/exit_tfm

This patch adds the type-safe init_tfm/exit_tfm functions to the
ahash interface.  This is meant to replace the unsafe cra_init and
cra_exit interface.

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