Re: [PATCH 3/4] mptcp: use sha256() instead of open coding

2020-07-08 Thread Matthieu Baerts
Hi Eric, On 07/07/2020 20:58, Eric Biggers wrote: From: Eric Biggers 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(). Cc: mp...@lists.01.org Cc: Mat Martineau Cc: Matthieu Baerts Signe

[PATCH 3/4] mptcp: use sha256() instead of open coding

2020-07-07 Thread Eric Biggers
From: Eric Biggers 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(). Cc: mp...@lists.01.org Cc: Mat Martineau Cc: Matthieu Baerts Signed-off-by: Eric Biggers --- net/mptcp/crypto.c | 15