Function EC_POINT_point2buf

Source
pub unsafe extern "C" fn EC_POINT_point2buf(
    group: *const ec_group_st,
    point: *const ec_point_st,
    form: u32,
    pbuf: *mut *mut u8,
    ctx: *mut bignum_ctx,
) -> usize
Expand description

Encodes an EC_POINT object to an allocated octet string \param group underlying EC_GROUP object \param point EC_POINT object \param form point conversion form \param pbuf returns pointer to allocated buffer \param ctx BN_CTX object (optional) \return the length of the encoded octet string or 0 if an error occurred