[PATCH 17/18] SUNRPC: Remove redundant crypto Kconfig dependencies
From: Chuck Lever
Date: Mon Apr 27 2026 - 10:05:35 EST
From: Chuck Lever <chuck.lever@xxxxxxxxxx>
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.
Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx>
---
net/sunrpc/Kconfig | 2 --
1 file changed, 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).
--
2.53.0