kernel: 5.4: import wireguard backport
Rather than using the clunky, old, slower wireguard-linux-compat out of tree module, this commit does a patch-by-patch backport of upstream's wireguard to 5.4. This specific backport is in widespread use, being part of SUSE's enterprise kernel, Oracle's enterprise kernel, Google's Android kernel, Gentoo's distro kernel, and probably more I've forgotten about. It's definately the "more proper" way of adding wireguard to a kernel than the ugly compat.h hell of the wireguard-linux-compat repo. And most importantly for OpenWRT, it allows using the same module configuration code for 5.10 as for 5.4, with no need for bifurcation. These patches are from the backport tree which is maintained in the open here: https://git.zx2c4.com/wireguard-linux/log/?h=backport-5.4.y I'll be sending PRs to update this as needed. Signed-off-by:Jason A. Donenfeld <Jason@zx2c4.com>
Showing
- target/linux/generic/backport-5.4/080-wireguard-0001-crypto-lib-tidy-up-lib-crypto-Kconfig-and-Makefile.patch 112 additions, 0 deletions...-crypto-lib-tidy-up-lib-crypto-Kconfig-and-Makefile.patch
- target/linux/generic/backport-5.4/080-wireguard-0002-crypto-chacha-move-existing-library-code-into-lib-cr.patch 669 additions, 0 deletions...rypto-chacha-move-existing-library-code-into-lib-cr.patch
- target/linux/generic/backport-5.4/080-wireguard-0003-crypto-x86-chacha-depend-on-generic-chacha-library-i.patch 192 additions, 0 deletions...rypto-x86-chacha-depend-on-generic-chacha-library-i.patch
- target/linux/generic/backport-5.4/080-wireguard-0004-crypto-x86-chacha-expose-SIMD-ChaCha-routine-as-libr.patch 205 additions, 0 deletions...rypto-x86-chacha-expose-SIMD-ChaCha-routine-as-libr.patch
- target/linux/generic/backport-5.4/080-wireguard-0005-crypto-arm64-chacha-depend-on-generic-chacha-library.patch 129 additions, 0 deletions...rypto-arm64-chacha-depend-on-generic-chacha-library.patch
- target/linux/generic/backport-5.4/080-wireguard-0006-crypto-arm64-chacha-expose-arm64-ChaCha-routine-as-l.patch 138 additions, 0 deletions...rypto-arm64-chacha-expose-arm64-ChaCha-routine-as-l.patch
- target/linux/generic/backport-5.4/080-wireguard-0007-crypto-arm-chacha-import-Eric-Biggers-s-scalar-accel.patch 480 additions, 0 deletions...rypto-arm-chacha-import-Eric-Biggers-s-scalar-accel.patch
- target/linux/generic/backport-5.4/080-wireguard-0008-crypto-arm-chacha-remove-dependency-on-generic-ChaCh.patch 691 additions, 0 deletions...rypto-arm-chacha-remove-dependency-on-generic-ChaCh.patch
- target/linux/generic/backport-5.4/080-wireguard-0009-crypto-arm-chacha-expose-ARM-ChaCha-routine-as-libra.patch 108 additions, 0 deletions...rypto-arm-chacha-expose-ARM-ChaCha-routine-as-libra.patch
- target/linux/generic/backport-5.4/080-wireguard-0010-crypto-mips-chacha-import-32r2-ChaCha-code-from-Zinc.patch 452 additions, 0 deletions...rypto-mips-chacha-import-32r2-ChaCha-code-from-Zinc.patch
- target/linux/generic/backport-5.4/080-wireguard-0011-crypto-mips-chacha-wire-up-accelerated-32r2-code-fro.patch 560 additions, 0 deletions...rypto-mips-chacha-wire-up-accelerated-32r2-code-fro.patch
- target/linux/generic/backport-5.4/080-wireguard-0012-crypto-chacha-unexport-chacha_generic-routines.patch 115 additions, 0 deletions...0012-crypto-chacha-unexport-chacha_generic-routines.patch
- target/linux/generic/backport-5.4/080-wireguard-0013-crypto-poly1305-move-core-routines-into-a-separate-l.patch 650 additions, 0 deletions...rypto-poly1305-move-core-routines-into-a-separate-l.patch
- target/linux/generic/backport-5.4/080-wireguard-0014-crypto-x86-poly1305-unify-Poly1305-state-struct-with.patch 251 additions, 0 deletions...rypto-x86-poly1305-unify-Poly1305-state-struct-with.patch
- target/linux/generic/backport-5.4/080-wireguard-0015-crypto-poly1305-expose-init-update-final-library-int.patch 225 additions, 0 deletions...rypto-poly1305-expose-init-update-final-library-int.patch
- target/linux/generic/backport-5.4/080-wireguard-0016-crypto-x86-poly1305-depend-on-generic-library-not-ge.patch 217 additions, 0 deletions...rypto-x86-poly1305-depend-on-generic-library-not-ge.patch
- target/linux/generic/backport-5.4/080-wireguard-0017-crypto-x86-poly1305-expose-existing-driver-as-poly13.patch 163 additions, 0 deletions...rypto-x86-poly1305-expose-existing-driver-as-poly13.patch
- target/linux/generic/backport-5.4/080-wireguard-0018-crypto-arm64-poly1305-incorporate-OpenSSL-CRYPTOGAMS.patch 2083 additions, 0 deletions...rypto-arm64-poly1305-incorporate-OpenSSL-CRYPTOGAMS.patch
- target/linux/generic/backport-5.4/080-wireguard-0019-crypto-arm-poly1305-incorporate-OpenSSL-CRYPTOGAMS-N.patch 2776 additions, 0 deletions...rypto-arm-poly1305-incorporate-OpenSSL-CRYPTOGAMS-N.patch
- target/linux/generic/backport-5.4/080-wireguard-0020-crypto-mips-poly1305-incorporate-OpenSSL-CRYPTOGAMS-.patch 1563 additions, 0 deletions...rypto-mips-poly1305-incorporate-OpenSSL-CRYPTOGAMS-.patch
Loading
Please register or sign in to comment