summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-05-02 08:31:20 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-05-08 08:32:15 +0300
commit75b93c635482dead3071fe60180b12191d3b3b0f (patch)
treeaa4d55d9c94841ec5bb381102ecca865d0812f57 /security
parentec0bf6edc4ad80b722ebec12a3c7eb392e28d2cb (diff)
downloadlinux-75b93c635482dead3071fe60180b12191d3b3b0f.tar.xz
sctp: 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-sctp@vger.kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions