From: Eric Biggers Date: Fri, 15 Aug 2025 02:17:32 +0000 (-0700) Subject: integrity: Select CRYPTO from INTEGRITY_ASYMMETRIC_KEYS X-Git-Tag: v6.18-rc1~68^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1376956c5e9e7871978153a483904dc3238e96fb;p=thirdparty%2Fkernel%2Flinux.git integrity: Select CRYPTO from INTEGRITY_ASYMMETRIC_KEYS Select CRYPTO from INTEGRITY_ASYMMETRIC_KEYS, since INTEGRITY_ASYMMETRIC_KEYS selects several options that depend on CRYPTO. This unblocks the removal of the CRYPTO selection from SIGNATURE. SIGNATURE (lib/digsig.c) itself will no longer need CRYPTO, but INTEGRITY_ASYMMETRIC_KEYS was depending on it indirectly via the chain SIGNATURE => INTEGRITY_SIGNATURE => INTEGRITY_ASYMMETRIC_KEYS. Signed-off-by: Eric Biggers Reviewed-by: Paul Menzel Signed-off-by: Mimi Zohar --- diff --git a/security/integrity/Kconfig b/security/integrity/Kconfig index 3c45f4f3455fb..916d4f2bfc441 100644 --- a/security/integrity/Kconfig +++ b/security/integrity/Kconfig @@ -36,6 +36,7 @@ config INTEGRITY_ASYMMETRIC_KEYS default n select ASYMMETRIC_KEY_TYPE select ASYMMETRIC_PUBLIC_KEY_SUBTYPE + select CRYPTO select CRYPTO_RSA select X509_CERTIFICATE_PARSER help