diff options
author | Eric Biggers <ebiggers@google.com> | 2020-05-01 22:31:13 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-08 15:32:14 +1000 |
commit | ecca1ad60cdfc061c1242490637e9e806ff1d884 (patch) | |
tree | fcb7dacfe65c50de2f6bb5b793c8d2a2fd1d3bb3 /drivers/nfc/s3fwrn5 | |
parent | e29ba412bdfe15233abff3b49a46763d4a6dd7d9 (diff) | |
download | linux-ecca1ad60cdfc061c1242490637e9e806ff1d884.tar.bz2 |
crypto: s5p-sss - 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: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Vladimir Zapolskiy <vz@mleia.com>
Cc: Kamil Konieczny <k.konieczny@samsung.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/nfc/s3fwrn5')
0 files changed, 0 insertions, 0 deletions