riot_sys::bindgen

Function cose_sign_signature_iter

Source
pub unsafe extern "C" fn cose_sign_signature_iter(
    sign: *const cose_sign_dec_t,
    signature: *mut cose_signature_dec_t,
) -> bool
Expand description

cose_sign_iter fills the provided @p signature struct with the contents of the COSE signatures from the associated sign structure.

@param sign The signature decoding context @param signature The signature struct to fill

@return true when the signature struct is filled @return false when there are no more signatures