diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-01-05 08:36:52 +0300 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-01-12 22:07:50 +0300 |
| commit | 0d92c555320ad34e67523063e32630cfad13af5f (patch) | |
| tree | 7cae0278127e2c35200ef428fa7ab706f90b38be /lib | |
| parent | c8bf0b969d274036e82381818630eb8651c294f2 (diff) | |
| download | linux-0d92c555320ad34e67523063e32630cfad13af5f.tar.xz | |
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: 382de740759a ("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>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/crypto/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig index 33cf46bbadc8..781a42c5c572 100644 --- a/lib/crypto/Kconfig +++ b/lib/crypto/Kconfig @@ -116,7 +116,7 @@ config CRYPTO_LIB_NH config CRYPTO_LIB_NH_ARCH bool - depends on CRYPTO_LIB_NH && !UML + depends on CRYPTO_LIB_NH && !UML && !KMSAN default y if ARM && KERNEL_MODE_NEON default y if ARM64 && KERNEL_MODE_NEON default y if X86_64 |
