Thread (26 messages) 26 messages, 6 authors, 2026-04-02

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

flat view
STALE189d

From: "Vincent Mailhol (Arm)" <mailhol@kernel.org>
Date: 2026-03-17 09:17:19
Also in: imx, linux-alpha, linux-kbuild, linux-mips, linux-omap, linux-renesas-soc, linux-riscv, linux-rt-devel, linux-s390, linux-samsung-soc, linux-sh, lkml, loongarch, openbmc
Subsystem: the rest · Maintainer: Linus Torvalds

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help