]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
SUNRPC: Remove redundant crypto Kconfig dependencies
authorChuck Lever <chuck.lever@oracle.com>
Mon, 27 Apr 2026 13:51:01 +0000 (09:51 -0400)
committerChuck Lever <cel@kernel.org>
Tue, 9 Jun 2026 20:32:59 +0000 (16:32 -0400)
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>
net/sunrpc/Kconfig

index 305c55cdbd45fed6a04540f9e0e11390e59e5926..e7808e5714dc775f845e5e738ff0ca7e50ca6e41 100644 (file)
@@ -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).