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 <lkp@intel.com> Link: https://lore.kernel.org/linux-kernel/202207030630.6SZVkrWf-lkp@intel.com/ Signed-off-by: Vladis Dronov <vdronov@redhat.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent b713375 commit 0d1f700

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)