Skip to content

Commit dc97b99

Browse files
ebiggersgregkh
authored andcommitted
crypto: powerpc/poly1305 - add depends on BROKEN for now
[ Upstream commit bc81690 ] 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: ba8f862 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent ea2a266 commit dc97b99

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/powerpc/crypto/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ config CRYPTO_CHACHA20_P10
110110
config CRYPTO_POLY1305_P10
111111
tristate "Hash functions: Poly1305 (P10 or later)"
112112
depends on PPC64 && CPU_LITTLE_ENDIAN && VSX
113+
depends on BROKEN # Needs to be fixed to work in softirq context
113114
select CRYPTO_HASH
114115
select CRYPTO_LIB_POLY1305_GENERIC
115116
help

0 commit comments

Comments
 (0)