From: Todd Malsbary <[email protected]>
Date: Thu, 21 May 2020 19:10:49 -0700
> There is some ambiguity in the RFC as to whether the ADD_ADDR HMAC is
> the rightmost 64 bits of the entire hash or of the leftmost 160 bits
> of the hash. The intention, as clarified with the author of the RFC,
> is the entire hash.
>
> This change returns the entire hash from
> mptcp_crypto_hmac_sha (instead of only the first 160 bits), and moves
> any truncation/selection operation on the hash to the caller.
>
> Fixes: 12555a2d97e5 ("mptcp: use rightmost 64 bits in ADD_ADDR HMAC")
> Reviewed-by: Christoph Paasch <[email protected]>
> Reviewed-by: Mat Martineau <[email protected]>
> Signed-off-by: Todd Malsbary <[email protected]>
Applied, thank you.