mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00

As discussed in the thread containing
https://lore.kernel.org/linux-crypto/20250510053308.GB505731@sol/, the
Power10-optimized Poly1305 code is currently not safe to call in softirq
context. Disable it for now. It can be re-enabled once it is fixed.
Fixes: ba8f8624fd
("crypto: poly1305-p10 - Glue code for optmized Poly1305 implementation for ppc64le")
Cc: stable@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
23 lines
593 B
Plaintext
23 lines
593 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
config CRYPTO_CHACHA20_P10
|
|
tristate
|
|
depends on PPC64 && CPU_LITTLE_ENDIAN && VSX
|
|
default CRYPTO_LIB_CHACHA
|
|
select CRYPTO_LIB_CHACHA_GENERIC
|
|
select CRYPTO_ARCH_HAVE_LIB_CHACHA
|
|
|
|
config CRYPTO_POLY1305_P10
|
|
tristate
|
|
depends on PPC64 && CPU_LITTLE_ENDIAN && VSX
|
|
depends on BROKEN # Needs to be fixed to work in softirq context
|
|
default CRYPTO_LIB_POLY1305
|
|
select CRYPTO_ARCH_HAVE_LIB_POLY1305
|
|
select CRYPTO_LIB_POLY1305_GENERIC
|
|
|
|
config CRYPTO_SHA256_PPC_SPE
|
|
tristate
|
|
depends on SPE
|
|
default CRYPTO_LIB_SHA256
|
|
select CRYPTO_ARCH_HAVE_LIB_SHA256
|