diff options
author | Eric Biggers <ebiggers@google.com> | 2020-05-01 22:31:16 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-08 15:32:15 +1000 |
commit | 1979811388050dc3c1533b5e3e43a6d50b7ad39b (patch) | |
tree | 235ea57d8b5fc53481d1ba6831d4180773919fa8 /COPYING | |
parent | 3e185a56eb6968927049f2b3b8c95b3636d77ffd (diff) |
ecryptfs: 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: ecryptfs@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions