Function EC_POINT_oct2point

Source
pub unsafe extern "C" fn EC_POINT_oct2point(
    group: *const ec_group_st,
    p: *mut ec_point_st,
    buf: *const u8,
    len: usize,
    ctx: *mut bignum_ctx,
) -> i32
Expand description

Decodes a EC_POINT from a octet string \param group underlying EC_GROUP object \param p EC_POINT object \param buf memory buffer with the encoded ec point \param len length of the encoded ec point \param ctx BN_CTX object (optional) \return 1 on success and 0 if an error occurred