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

decrypt_transport

Function decrypt_transport 

Source
pub fn decrypt_transport(
    session: &SessionKeys,
    replay_window: &mut AntiReplayWindow,
    packet: &[u8],
) -> Result<Vec<u8>, WireGuardError>
Expand description

Decrypt a transport data packet