diff options
author | Eric Biggers <ebiggers@google.com> | 2020-05-01 22:31:08 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-08 15:32:13 +1000 |
commit | 8cbb809794b14703c960b5e2941c9e7fd97b765a (patch) | |
tree | 5a41074cea54d527ab0a1d61c42b1cf337feab45 /drivers/crypto/geode-aes.c | |
parent | f32b6775c795b125361ea9181ca4fcfa261a91dd (diff) |
crypto: ccree - 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: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Acked-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/geode-aes.c')
0 files changed, 0 insertions, 0 deletions