crypto: ahash - Add ahash_alg_instance
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 Aug 2020 08:25:36 +0000 (18:25 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Aug 2020 06:58:28 +0000 (16:58 +1000)
commitb00ba76a03a02c23494644d2ccd389fdc411f9e9
tree96b1c15bb78306809bd9c0517f2b1bfd21cb7587
parente73d340db6448013ac219d105654d2b9868a8dd2
crypto: ahash - Add ahash_alg_instance

This patch adds the helper ahash_alg_instance which is used to
convert a crypto_ahash object into its corresponding ahash_instance.

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