diff options
author | Eric Biggers <ebiggers@google.com> | 2020-05-01 22:31:15 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-08 15:32:14 +1000 |
commit | 3e185a56eb6968927049f2b3b8c95b3636d77ffd (patch) | |
tree | 94b0e25dec1ae3c6d61d824f74a0ac03e18d2e41 /fs/ecryptfs/crypto.c | |
parent | 96a5aa721df8e740f8d33fe7eae18acc157a000d (diff) | |
download | lwn-3e185a56eb6968927049f2b3b8c95b3636d77ffd.tar.gz lwn-3e185a56eb6968927049f2b3b8c95b3636d77ffd.zip |
fscrypt: 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 'fs/ecryptfs/crypto.c')
0 files changed, 0 insertions, 0 deletions