pub unsafe extern "C" fn cose_sign_verify_first(
sign: *const cose_sign_dec_t,
key: *mut cose_key_t,
buf: *mut u8,
len: size_t,
) -> c_int
Expand description
Wrapper function to attempt signature verification with the first signature in the structure
@param sign The sign object to verify @param key The key to verify with @param buf Buffer to write in @param len Size of the buffer to write in
@return 0 on verification success @return Negative on error