⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

encrypt_transport

Function encrypt_transport 

Source
pub fn encrypt_transport(
    session: &SessionKeys,
    receiver_index: u32,
    payload: &[u8],
) -> Result<Vec<u8>, WireGuardError>
Expand description

Encrypt a transport data packet