diff options
author | 2022-07-07 02:31:57 +0200 | |
---|---|---|
committer | 2022-07-06 20:04:06 -0700 | |
commit | 0d1f700807d846b00e33cc87d90f404bbc904a97 (patch) | |
tree | 8ed0c1c630105b8fa78446961b38ed8d923b66bf | |
parent | crypto: s390 - do not depend on CRYPTO_HW for SIMD implementations (diff) | |
download | linux-0d1f700807d846b00e33cc87d90f404bbc904a97.tar.gz linux-0d1f700807d846b00e33cc87d90f404bbc904a97.tar.bz2 linux-0d1f700807d846b00e33cc87d90f404bbc904a97.zip |
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>
-rw-r--r-- | drivers/net/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index b2a4f998c180..8c1eeb5a8db8 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -94,6 +94,7 @@ config WIREGUARD select CRYPTO_CURVE25519_NEON if ARM && KERNEL_MODE_NEON select CRYPTO_CHACHA_MIPS if CPU_MIPS32_R2 select CRYPTO_POLY1305_MIPS if MIPS + select CRYPTO_CHACHA_S390 if S390 help WireGuard is a secure, fast, and easy to use replacement for IPSec that uses modern cryptography and clever networking tricks. It's |