diff options
author | Eric Biggers <ebiggers@google.com> | 2020-05-01 22:31:06 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-08 15:32:13 +1000 |
commit | 7e3e48d86b7c96f12896dd7111e4e5ae51c1b7da (patch) | |
tree | 11684cfd9ea999b6656192561ef3f576b54ac355 /drivers/crypto/ccp/ccp-crypto-sha.c | |
parent | 1306664fdeeffc92c31ef034e9f2f5516b0d5c97 (diff) |
crypto: artpec6 - use crypto_shash_tfm_digest()
Instead of manually allocating a 'struct shash_desc' on the stack and
calling crypto_shash_digest(), switch to using the new helper function
crypto_shash_tfm_digest() which does this for us.
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Lars Persson <lars.persson@axis.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/ccp-crypto-sha.c')
0 files changed, 0 insertions, 0 deletions