mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 07:35:36 -05:00
Since the only crypto functions used by the mptcp code are the SHA-256 library functions and crypto_memneq(), select only the options needed for those: CRYPTO_LIB_SHA256 and CRYPTO_LIB_UTILS. Previously, CRYPTO was selected instead of CRYPTO_LIB_UTILS. That does pull in CRYPTO_LIB_UTILS as well, but it's unnecessarily broad. Years ago, the CRYPTO_LIB_* options were visible only when CRYPTO. That may be another reason why CRYPTO is selected here. However, that was fixed years ago, and the libraries can now be selected directly. Signed-off-by: Eric Biggers <ebiggers@kernel.org> Reviewed-by: Mat Martineau <martineau@kernel.org> Link: https://patch.msgid.link/20251204054417.491439-1-ebiggers@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
40 lines
1013 B
Plaintext
40 lines
1013 B
Plaintext
|
|
config MPTCP
|
|
bool "MPTCP: Multipath TCP"
|
|
depends on INET
|
|
select SKB_EXTENSIONS
|
|
select CRYPTO_LIB_SHA256
|
|
select CRYPTO_LIB_UTILS
|
|
help
|
|
Multipath TCP (MPTCP) connections send and receive data over multiple
|
|
subflows in order to utilize multiple network paths. Each subflow
|
|
uses the TCP protocol, and TCP options carry header information for
|
|
MPTCP.
|
|
|
|
if MPTCP
|
|
|
|
config INET_MPTCP_DIAG
|
|
depends on INET_DIAG
|
|
def_tristate INET_DIAG
|
|
|
|
config MPTCP_IPV6
|
|
bool "MPTCP: IPv6 support for Multipath TCP"
|
|
depends on IPV6=y
|
|
default y
|
|
|
|
config MPTCP_KUNIT_TEST
|
|
tristate "This builds the MPTCP KUnit tests" if !KUNIT_ALL_TESTS
|
|
depends on KUNIT
|
|
default KUNIT_ALL_TESTS
|
|
help
|
|
Currently covers the MPTCP crypto and token helpers.
|
|
Only useful for kernel devs running KUnit test harness and are not
|
|
for inclusion into a production build.
|
|
|
|
For more information on KUnit and unit tests in general please refer
|
|
to the KUnit documentation in Documentation/dev-tools/kunit/.
|
|
|
|
If unsure, say N.
|
|
|
|
endif
|