diff options
author | Eric Biggers <ebiggers@google.com> | 2020-05-02 08:31:07 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-08 08:32:13 +0300 |
commit | f32b6775c795b125361ea9181ca4fcfa261a91dd (patch) | |
tree | 86783de632953e41b8a2d72f50e62c055935ff97 /drivers/crypto/ccree/cc_cipher.c | |
parent | 7e3e48d86b7c96f12896dd7111e4e5ae51c1b7da (diff) | |
download | linux-f32b6775c795b125361ea9181ca4fcfa261a91dd.tar.xz |
crypto: ccp - 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: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccree/cc_cipher.c')
0 files changed, 0 insertions, 0 deletions