commit | bce395eea0f2da2b9ca2e78f101ade353686ee5c | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Fri May 01 22:31:21 2020 -0700 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri May 08 15:32:15 2020 +1000 |
tree | 15c89d78d11f7bf2f68886e7639341a3b7874d40 | |
parent | 75b93c635482dead3071fe60180b12191d3b3b0f [diff] |
KEYS: encrypted: 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: keyrings@vger.kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>