[PATCH 6/9] arm64: defconfig: remove implicit assignment to CRYPTO_SHA3

Vincent Mailhol (Arm)
2026-03-17T13:09:31Z

When given the arm64 defconfig, merge_config.sh yields below warning:

$ ARCH=arm64 ./scripts/kconfig/merge_config.sh arch/arm64/configs/defconfig
<...>
WARNING: CONFIG_CRYPTO_SHA3 differs:
Requested value: CONFIG_CRYPTO_SHA3=m
Actual value: CONFIG_CRYPTO_SHA3=y

This is because one of CRYPTO_SHA3 child dependency, CRYPTO_JITTERENTROPY,
is set to "y" thus preventing CRYPTO_SHA3 to be built as a module.

CRYPTO_SHA3 is automatically selected anyway, so just remove it from
the defconfig and let the kconfig scripts set it to the correct value.

Fixes: 1e29a750572a ("lib/crypto: arm64/sha3: Migrate optimized code into library")
Signed-off-by: Vincent Mailhol (Arm) <mailhol@kernel.org>
---
arch/arm64/configs/defconfig | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 7f6334d1d040..0b307e2ab384 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1901,7 +1901,6 @@ CONFIG_CRYPTO_CHACHA20=m
CONFIG_CRYPTO_BENCHMARK=m
CONFIG_CRYPTO_ECHAINIV=y
CONFIG_CRYPTO_MICHAEL_MIC=m
-CONFIG_CRYPTO_SHA3=m
CONFIG_CRYPTO_USER_API_RNG=m
CONFIG_CRYPTO_GHASH_ARM64_CE=y
CONFIG_CRYPTO_SM3_ARM64_CE=m

--
2.43.0