riot_sys

Function cose_hdr_get_protected

Source
pub unsafe extern "C" fn cose_hdr_get_protected(
    headers: *mut cose_headers_t,
    hdr: *mut cose_hdr_t,
    key: i32,
) -> bool
Expand description

Retrieve a header from the protected bucket by key

@param headers Header array to search @param hdr hdr struct to fill @param key Key to look for

@return True when matching header is found