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