Crypto library fix for v6.18-rc3

Avoid some false-positive KMSAN warnings by restoring the dependency of
 the architecture-optimized Poly1305 code on !KMSAN.
 -----BEGIN PGP SIGNATURE-----
 
 iIoEABYIADIWIQSacvsUNc7UX4ntmEPzXCl4vpKOKwUCaPvOAhQcZWJpZ2dlcnNA
 a2VybmVsLm9yZwAKCRDzXCl4vpKOK9HxAQDpK0Js70YuHIbtRJIiLJSD13uYqc5z
 UbHWSve7c6nIkwD+IVNcHZ04t4iiYCf1v7txPQa/vrJP3RpvrFIeSvSs5A8=
 =f+r4
 -----END PGP SIGNATURE-----

Merge tag 'libcrypto-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux

Pull crypto library fix from Eric Biggers:
 "Avoid some false-positive KMSAN warnings by restoring the dependency
  of the architecture-optimized Poly1305 code on !KMSAN"

* tag 'libcrypto-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux:
  lib/crypto: poly1305: Restore dependency of arch code on !KMSAN
This commit is contained in:
Linus Torvalds 2025-10-24 15:51:24 -07:00
commit 7083bb6060
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ config CRYPTO_LIB_POLY1305
config CRYPTO_LIB_POLY1305_ARCH config CRYPTO_LIB_POLY1305_ARCH
bool bool
depends on CRYPTO_LIB_POLY1305 && !UML depends on CRYPTO_LIB_POLY1305 && !UML && !KMSAN
default y if ARM default y if ARM
default y if ARM64 && KERNEL_MODE_NEON default y if ARM64 && KERNEL_MODE_NEON
default y if MIPS default y if MIPS