mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
A userland component that ports the Linux WireGuard kernel module (originally from kernel version 5.14.21) and integrates it via a NIC session (public network side) and an Uplink session (private network side). The WireGuard-specific device configuration is done through the component configuration. The port is done using lx_emul, lx_kit and the virt_linux targets. The commit adds also 4 corresponding run scripts of which 3 are fully automated of which 1 is added to the autopilot. :Warning: Although in principal functioning, the WireGuard port has not been exposed to a sufficient amount of real-world testing, so far. Therefore, we strongly recommend not to use it in any security-critical scenarios! There is no guarantee that the port meets any of the security goals pursued by the WireGuard protocol or other WireGuard implementations! Ref #4397
24 lines
724 B
Makefile
24 lines
724 B
Makefile
#
|
|
# For documentation see $(REP_DIR)/lib/mk/wireguard.inc .
|
|
#
|
|
|
|
PRG_DIR := $(REP_DIR)/src/app/wireguard/spec/arm_64
|
|
GEN_PRG_DIR := $(PRG_DIR)/../..
|
|
|
|
SRC_C += arch/arm64/kernel/smp.c
|
|
SRC_C += kernel/smp.c
|
|
SRC_C += arch/arm64/kernel/cpufeature.c
|
|
|
|
vpath arch/arm64/kernel/cpufeature.c $(GEN_PRG_DIR)/lx_emul/shadow
|
|
vpath arch/arm64/kernel/smp.c $(REP_DIR)/src/lib/lx_emul/shadow
|
|
vpath kernel/smp.c $(REP_DIR)/src/lib/lx_emul/shadow
|
|
|
|
SRC_S += arch/arm64/crypto/poly1305-core.S
|
|
|
|
arch/arm64/crypto/poly1305-core.S:
|
|
$(VERBOSE)perl $(LX_SRC_DIR)/arch/arm64/crypto/poly1305-armv8.pl > $@
|
|
|
|
CC_OPT_arch/arm64/crypto/poly1305-core += -Dpoly1305_init=poly1305_init_arm64
|
|
|
|
include $(REP_DIR)/lib/mk/wireguard.inc
|