Hi Eric, On 07/07/2020 20:58, Eric Biggers wrote:
From: Eric Biggers <ebiggers@xxxxxxxxxx> 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: mptcp@xxxxxxxxxxxx Cc: Mat Martineau <mathew.j.martineau@xxxxxxxxxxxxxxx> Cc: Matthieu Baerts <matthieu.baerts@xxxxxxxxxxxx> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
Thank you for this simplification and update MPTCP code, it's clearer! Acked-by: Matthieu Baerts <matthieu.baerts@xxxxxxxxxxxx> Cheers, Matt -- Tessares | Belgium | Hybrid Access Solutions www.tessares.net