Skip to main content

Module wireguard_userspace

Module wireguard_userspace 

Source

Structs§

WgKeypair
A WireGuard static keypair (Curve25519).

Functions§

generate_keypair
Generate a fresh WireGuard keypair using the OS CSPRNG.
new_tunnel
Build a boringtun tunnel state machine for one peer.
public_key_from_hex
Parse a 32-byte public key from a 64-character hex string.
public_key_hex
Render a WireGuard public key as lowercase hex.