Re: [PATCH net-next 1/2] sctp: Use HMAC-SHA1 and HMAC-SHA256 library for chunk authentication
From: Paolo Abeni <pabeni@redhat.com>
Date: 2025-08-12 10:58:52
Also in:
linux-crypto, linux-sctp
From: Paolo Abeni <pabeni@redhat.com>
Date: 2025-08-12 10:58:52
Also in:
linux-crypto, linux-sctp
On 8/11/25 9:37 PM, Eric Biggers wrote:
diff --git a/net/sctp/Kconfig b/net/sctp/Kconfig index 24d5a35ce894a..192027555b4d8 100644 --- a/net/sctp/Kconfig +++ b/net/sctp/Kconfig@@ -5,13 +5,12 @@ menuconfig IP_SCTP tristate "The SCTP Protocol" depends on INET depends on IPV6 || IPV6=n - select CRYPTO - select CRYPTO_HMAC - select CRYPTO_SHA1 + select CRYPTO_LIB_SHA1 + select CRYPTO_LIB_SHA256 select NET_CRC32C select NET_UDP_TUNNEL help Stream Control Transmission Protocol
As pinned-out by Florian, the above breaks a few selftests: https://lore.kernel.org/netdev/aJsaylkoOto0UsTL@strlen.de/T/#m68ce5625633ce065e73cee9e2c13e40772f499c2 (local) could you please add a prereq patch adjusting the self-tests config? Thanks! Paolo