riot_sys::bindgen

Function cose_sign_decode_payload

Source
pub unsafe extern "C" fn cose_sign_decode_payload(
    sign: *const cose_sign_dec_t,
    payload: *mut *const u8,
    len: *mut size_t,
)
Expand description

cose_sign_get_payload retrieves the pointer and length of the payload from the COSE sign struct

@param sign Sign struct to retrieve the payload from @param[out] payload The pointer to the payload @param[out] len The length of the payload in bytes