summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2026-04-27 16:51:01 +0300
committerChuck Lever <cel@kernel.org>2026-06-09 23:32:59 +0300
commitbb9f4c49500306793eb83e4435107332db6925f0 (patch)
tree34f6cd5d2961a98e47b9a54c2708fee53d9ba8d1
parentc331c8eaa20211d99181f1a1cf8d5a83b119dcb6 (diff)
downloadlinux-bb9f4c49500306793eb83e4435107332db6925f0.tar.xz
SUNRPC: Remove redundant crypto Kconfig dependencies
With all per-message crypto operations now routed through crypto/krb5, rpcsec_gss_krb5 no longer calls individual crypto algorithms directly. The CRYPTO_KRB5 symbol already selects CRYPTO_SKCIPHER and CRYPTO_HASH (the latter transitively via CRYPTO_HMAC). Drop the top-level select CRYPTO_SKCIPHER and select CRYPTO_HASH from RPCSEC_GSS_KRB5, as these are redundant with CRYPTO_KRB5's own dependencies. Assisted-by: Claude:claude-opus-4-6 Reviewed-by: Jeff Layton <jlayton@kernel.org> Acked-by: Anna Schumaker <anna.schumaker@hammerspace.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
-rw-r--r--net/sunrpc/Kconfig2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/Kconfig b/net/sunrpc/Kconfig
index 305c55cdbd45..e7808e5714dc 100644
--- a/net/sunrpc/Kconfig
+++ b/net/sunrpc/Kconfig
@@ -22,8 +22,6 @@ config RPCSEC_GSS_KRB5
default y
select SUNRPC_GSS
select CRYPTO_KRB5
- select CRYPTO_SKCIPHER
- select CRYPTO_HASH
help
Choose Y here to enable Secure RPC using the Kerberos version 5
GSS-API mechanism (RFC 1964).