diff options
author | Eric Biggers | 2020-05-01 22:31:22 -0700 |
---|---|---|
committer | Herbert Xu | 2020-05-08 15:32:16 +1000 |
commit | 85fc78b80f15d723db3aa8f368b414ee70a1937c (patch) | |
tree | ebbde9e7b9f899a26ef71b32d43c32ca7f3ba009 /net | |
parent | bce395eea0f2da2b9ca2e78f101ade353686ee5c (diff) |
ASoC: cros_ec_codec: 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: Cheng-Yi Chiang <cychiang@chromium.org>
Cc: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Cc: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions