riot_sys

Function cose_sign_set_payload

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

cose_sign_set_payload sets the payload pointer of the COSE sign struct

@param sign Sign struct to set the payload for @param payload The payload to set @param len The length of the payload in bytes