commit | d9e1670b8005999998b557c0e301bb68192bb1c8 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Sun Dec 08 13:42:53 2019 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Dec 11 16:48:39 2019 +0800 |
tree | 624e359ec0943511a5167c5dfa54cc79f1caa745 | |
parent | 96895693940710db24e42c4e2a248d8f7bd7ab4b [diff] |
crypto: hmac - Use init_tfm/exit_tfm interface This patch switches hmac over to the new init_tfm/exit_tfm interface as opposed to cra_init/cra_exit. This way the shash API can make sure that descsize does not exceed the maximum. This patch also adds the API helper shash_alg_instance. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Reviewed-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>