]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Import kernel WireGuard support
authormmacy <mmacy@FreeBSD.org>
Sun, 29 Nov 2020 19:38:03 +0000 (19:38 +0000)
committermmacy <mmacy@FreeBSD.org>
Sun, 29 Nov 2020 19:38:03 +0000 (19:38 +0000)
commit8f8554dd21907e93f97f3f7a3349257272548979
treed79d2eac83c9964c97cd939f08e9b4fb6d112ff3
parent4afbe79d3c2cee2726b244a2545f0292a1447476
Import kernel WireGuard support

Data path largely shared with the OpenBSD implementation by
Matt Dunwoodie <ncon@nconroy.net>

Reviewed by: grehan@freebsd.org
MFC after: 1 month
Sponsored by: Rubicon LLC, (Netgate)
Differential Revision: https://reviews.freebsd.org/D26137
58 files changed:
sbin/ifconfig/Makefile
sbin/ifconfig/ifwg.c [new file with mode: 0644]
sys/dev/if_wg/include/crypto/blake2s.h [new file with mode: 0644]
sys/dev/if_wg/include/crypto/curve25519.h [new file with mode: 0644]
sys/dev/if_wg/include/crypto/zinc.h [new file with mode: 0644]
sys/dev/if_wg/include/sys/if_wg_session.h [new file with mode: 0644]
sys/dev/if_wg/include/sys/if_wg_session_vars.h [new file with mode: 0644]
sys/dev/if_wg/include/sys/simd-x86_64.h [new file with mode: 0644]
sys/dev/if_wg/include/sys/support.h [new file with mode: 0644]
sys/dev/if_wg/include/sys/wg_cookie.h [new file with mode: 0644]
sys/dev/if_wg/include/sys/wg_module.h [new file with mode: 0644]
sys/dev/if_wg/include/sys/wg_noise.h [new file with mode: 0644]
sys/dev/if_wg/include/zinc/blake2s.h [new file with mode: 0644]
sys/dev/if_wg/include/zinc/chacha20.h [new file with mode: 0644]
sys/dev/if_wg/include/zinc/chacha20poly1305.h [new file with mode: 0644]
sys/dev/if_wg/include/zinc/curve25519.h [new file with mode: 0644]
sys/dev/if_wg/include/zinc/poly1305.h [new file with mode: 0644]
sys/dev/if_wg/module/blake2s.c [new file with mode: 0644]
sys/dev/if_wg/module/blake2s.h [new file with mode: 0644]
sys/dev/if_wg/module/chacha20-x86_64.S [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm-glue.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm.pl [new file with mode: 0755]
sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm64.pl [new file with mode: 0755]
sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips-glue.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips.S [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-unrolled-arm.S [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64-glue.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64.pl [new file with mode: 0755]
sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/chacha20poly1305.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm-glue.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm.pl [new file with mode: 0755]
sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm64.pl [new file with mode: 0755]
sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna32.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna64.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips-glue.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips.S [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips64.pl [new file with mode: 0755]
sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64-glue.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64.pl [new file with mode: 0755]
sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/selftest/blake2s.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/selftest/chacha20.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/selftest/chacha20poly1305.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/selftest/curve25519.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/selftest/poly1305.c [new file with mode: 0644]
sys/dev/if_wg/module/crypto/zinc/selftest/run.h [new file with mode: 0644]
sys/dev/if_wg/module/curve25519.c [new file with mode: 0644]
sys/dev/if_wg/module/if_wg_session.c [new file with mode: 0644]
sys/dev/if_wg/module/module.c [new file with mode: 0644]
sys/dev/if_wg/module/poly1305-x86_64.S [new file with mode: 0644]
sys/dev/if_wg/module/wg_cookie.c [new file with mode: 0644]
sys/dev/if_wg/module/wg_noise.c [new file with mode: 0644]
sys/kern/subr_gtaskqueue.c
sys/modules/Makefile
sys/modules/if_wg/Makefile [new file with mode: 0644]
sys/net/iflib_clone.c
sys/sys/gtaskqueue.h