diff options
author | Eric Biggers <ebiggers@google.com> | 2020-05-01 22:31:09 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-08 15:32:13 +1000 |
commit | 61c38e3a94f26035104aec643ee17e80e29ff329 (patch) | |
tree | 4a4825c8f1d997653c8e50c2efd6b681bdbc21a9 /drivers/crypto/mediatek | |
parent | crypto: ccree - use crypto_shash_tfm_digest() (diff) | |
download | linux-dev-61c38e3a94f26035104aec643ee17e80e29ff329.tar.xz linux-dev-61c38e3a94f26035104aec643ee17e80e29ff329.zip |
crypto: hisilicon/sec2 - 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: Zaibo Xu <xuzaibo@huawei.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/mediatek')
0 files changed, 0 insertions, 0 deletions