Skip to content

Commit e9e5047

Browse files
Eric Biggerskuba-moo
authored andcommitted
mptcp: select CRYPTO_LIB_UTILS instead of CRYPTO
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>
1 parent 2183a5c commit e9e5047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/mptcp/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ config MPTCP
44
depends on INET
55
select SKB_EXTENSIONS
66
select CRYPTO_LIB_SHA256
7-
select CRYPTO
7+
select CRYPTO_LIB_UTILS
88
help
99
Multipath TCP (MPTCP) connections send and receive data over multiple
1010
subflows in order to utilize multiple network paths. Each subflow

0 commit comments

Comments
 (0)