diff options
author | Eric Biggers <ebiggers@google.com> | 2020-07-08 09:39:42 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-16 21:49:05 +1000 |
commit | 5a7a0d9400677a5e88fdb362c4d32171384068f2 (patch) | |
tree | 3224f8dcdd70409b95f67104da91023986ff944c /lib/Kconfig.kcsan | |
parent | 2164960df8f531a06805fdd28d41758ce7691f75 (diff) | |
download | linux-5a7a0d9400677a5e88fdb362c4d32171384068f2.tar.bz2 |
mptcp: use sha256() instead of open coding
Now that there's a function that calculates the SHA-256 digest of a
buffer in one step, use it instead of sha256_init() + sha256_update() +
sha256_final().
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Cc: mptcp@lists.01.org
Cc: Mat Martineau <mathew.j.martineau@linux.intel.com>
Cc: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/Kconfig.kcsan')
0 files changed, 0 insertions, 0 deletions