riot_sys::bindgen

Function cose_key_set_keys

Source
pub unsafe extern "C" fn cose_key_set_keys(
    key: *mut cose_key_t,
    curve: cose_curve_t,
    algo: cose_algo_t,
    x: *mut u8,
    y: *mut u8,
    d: *mut u8,
)
Expand description

cose_key_set_key sets the key data of a key Parameters according to https://tools.ietf.org/html/rfc8152#section-13

@param key The key to set the key data for @param curve The curve used @param algo The algo to use @param x Pointer to the “x-coordinate” of the key @param y Pointer to the “y-coordinate” of the key @param d Pointer to the private part of the key