capsules_extra::net::thread::thread_utils

Function encode_cryp_data

Source
pub fn encode_cryp_data(
    src_addr: IPAddr,
    dst_addr: IPAddr,
    aux_sec_header: &[u8; 10],
    payload: &[u8],
    output: &mut [u8],
) -> SResult
Expand description

Function to encode the crypt data into a/m data