riot_sys

Function cose_signature_decode_signature

Source
pub unsafe extern "C" fn cose_signature_decode_signature(
    signature: *const cose_signature_dec_t,
    sign: *mut *const u8,
    len: *mut size_t,
) -> c_int
Expand description

@brief Decode a cryptographic signature from the signature decoder object

@param signature Signature decode context @param sign pointer to the signature buffer @param len length of the signature

@return COSE_OK if a signature is retrieved @return Negative on error