diff options
author | Eric Biggers <ebiggers@google.com> | 2020-05-01 22:31:19 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-08 15:32:15 +1000 |
commit | ec0bf6edc4ad80b722ebec12a3c7eb392e28d2cb (patch) | |
tree | dd8151616b4cc3c634beaf54785464ce27f88796 /net/core/pktgen.c | |
parent | f80df3851246ce5b9b7dd9625f3438e0f39383f1 (diff) | |
download | linux-ec0bf6edc4ad80b722ebec12a3c7eb392e28d2cb.tar.gz linux-ec0bf6edc4ad80b722ebec12a3c7eb392e28d2cb.tar.bz2 linux-ec0bf6edc4ad80b722ebec12a3c7eb392e28d2cb.zip |
Bluetooth: 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-bluetooth@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/core/pktgen.c')
0 files changed, 0 insertions, 0 deletions