pub unsafe extern "C" fn ecp_read_key(
    grp_id: ecp_group_id,
    key: *mut ecp_keypair,
    buf: *const c_uchar,
    buflen: size_t
) -> c_int