commit | f80df3851246ce5b9b7dd9625f3438e0f39383f1 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Fri May 01 22:31:18 2020 -0700 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri May 08 15:32:15 2020 +1000 |
tree | 127df489a32f5d5179e33211550f5046978e8294 | |
parent | ea794db2646a3660647dd2f2c8f6f2770acc3596 [diff] |
ubifs: 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: linux-mtd@lists.infradead.org Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>