]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
mptcp: select CRYPTO_LIB_UTILS instead of CRYPTO
authorEric Biggers <ebiggers@kernel.org>
Thu, 4 Dec 2025 05:44:17 +0000 (21:44 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 9 Dec 2025 07:44:16 +0000 (23:44 -0800)
commite9e5047df953c9b1054d9a3c7b07c68ab2714263
treef7124fc5b58cee4971c4f8f7029a3f702fa074eb
parent2183a5c8a04f554d03174ddcfd0078b44217fa54
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>
net/mptcp/Kconfig