diff options
| author | Eric Biggers <ebiggers@google.com> | 2020-05-01 22:31:11 -0700 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-08 15:32:14 +1000 |
| commit | ce8e04888dd873179bc3979b0574cc7827071df5 (patch) | |
| tree | 478053a7f941cf7fa67d3f01eaca153a547c9e6e /lib/mpi/mpiutil.c | |
| parent | e0077ea8ee1774cb99cf9adf10dd4e6dcbf363b0 (diff) | |
crypto: n2 - 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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
