Skip to content

Commit 0d1f700

Browse files
nefigtutkuba-moo
authored andcommitted
wireguard: Kconfig: select CRYPTO_CHACHA_S390
Select the new implementation of CHACHA20 for S390 when available. It is faster than the generic software implementation, but also prevents some linker errors in certain situations. Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/linux-kernel/[email protected]/ Signed-off-by: Vladis Dronov <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent b713375 commit 0d1f700

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ config WIREGUARD
9494
select CRYPTO_CURVE25519_NEON if ARM && KERNEL_MODE_NEON
9595
select CRYPTO_CHACHA_MIPS if CPU_MIPS32_R2
9696
select CRYPTO_POLY1305_MIPS if MIPS
97+
select CRYPTO_CHACHA_S390 if S390
9798
help
9899
WireGuard is a secure, fast, and easy to use replacement for IPSec
99100
that uses modern cryptography and clever networking tricks. It's

0 commit comments

Comments
 (0)