summaryrefslogtreecommitdiff
path: root/crypto/sha1_generic.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-05-01 22:31:05 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2020-05-08 15:32:13 +1000
commit0d18ee4248dc7943bb835767f530929621d0a868 (patch)
tree4de43a4e2f0fb43b4ab5462c5ff983fff3130c45 /crypto/sha1_generic.c
parentb4a1df65c246c9fb92c724dd9aecd14663a3bd50 (diff)
downloadlinux-crypto-0d18ee4248dc7943bb835767f530929621d0a868.tar.gz
linux-crypto-0d18ee4248dc7943bb835767f530929621d0a868.zip
crypto: essiv - 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. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/sha1_generic.c')
0 files changed, 0 insertions, 0 deletions