riot_sys::bindgen

Function cose_sign_decode_set_payload

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

@brief Set the payload of the decoded sign structure

Used when the decoded sign structure indicates that the payload is external.

@param sign Decoder sign struct @param payload Payload to set for validation @param len Length of the payload