Thread (16 messages) 16 messages, 7 authors, 2025-02-27

Re: [PATCH] crypto: lib/Kconfig - fix chacha/poly1305 dependencies more more

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2025-02-26 01:41:34
Also in: linux-crypto, linux-mips, linux-s390, lkml

On Tue, Feb 25, 2025 at 10:50:10PM +0100, Arnd Bergmann wrote:
quoted hunk ↗ jump to hunk
After looking at the original 0day report, I think the fix for
that problem would have been
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -94,6 +94,7 @@ config WIREGUARD
        select CRYPTO_CHACHA_MIPS if CPU_MIPS32_R2
        select CRYPTO_POLY1305_MIPS if MIPS
        select CRYPTO_CHACHA_S390 if S390
+       select CRYPTO_CURVE25519_PPC64 if PPC64 && CPU_LITTLE_ENDIAN
        help
          WireGuard is a secure, fast, and easy to use replacement for IPSec
          that uses modern cryptography and clever networking tricks. It's
Thanks.  I wasn't aware wireguard was doing this.

Let me see if I can replicate this select matrix in lib/crypto
instead.

Thanks,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help