mptcp: move from sha1 (v0) to sha256 (v1)
authorPaolo Abeni <pabeni@redhat.com>
Wed, 22 Jan 2020 00:56:30 +0000 (16:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jan 2020 12:44:08 +0000 (13:44 +0100)
commit65492c5a6ab5df5091a77562dbcca2d2dc3877c0
treece025683cbfca0696b85d62a73cc01f28500bf89
parent048d19d444be1e42abca19a6b969343954ae4e17
mptcp: move from sha1 (v0) to sha256 (v1)

For simplicity's sake use directly sha256 primitives (and pull them
as a required build dep).
Add optional, boot-time self-tests for the hmac function.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Christoph Paasch <cpaasch@apple.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/Kconfig
net/mptcp/crypto.c
net/mptcp/options.c
net/mptcp/protocol.h