Skip to content

Commit 0d92c55

Browse files
author
Eric Biggers
committed
lib/crypto: nh: Restore dependency of arch code on !KMSAN
Since the architecture-specific implementations of NH initialize memory in assembly code, they aren't compatible with KMSAN as-is. Fixes: 382de74 ("lib/crypto: nh: Add NH library") Link: https://lore.kernel.org/r/20260105053652.1708299-1-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
1 parent c8bf0b9 commit 0d92c55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/crypto/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ config CRYPTO_LIB_NH
116116

117117
config CRYPTO_LIB_NH_ARCH
118118
bool
119-
depends on CRYPTO_LIB_NH && !UML
119+
depends on CRYPTO_LIB_NH && !UML && !KMSAN
120120
default y if ARM && KERNEL_MODE_NEON
121121
default y if ARM64 && KERNEL_MODE_NEON
122122
default y if X86_64

0 commit comments

Comments
 (0)