riot_sys::bindgen

Function cose_key_from_cbor

Source
pub unsafe extern "C" fn cose_key_from_cbor(
    key: *mut cose_key_t,
) -> c_int
Expand description

cose_key_from_cbor initializes a key struct based on a cbor map

@param key Empty key struct to fill with key information

@return 0 on successfully loaded from cbor @return Negative on error