Function EC_POINT_set_compressed_coordinates

Source
pub unsafe extern "C" fn EC_POINT_set_compressed_coordinates(
    group: *const ec_group_st,
    p: *mut ec_point_st,
    x: *const bignum_st,
    y_bit: i32,
    ctx: *mut bignum_ctx,
) -> i32
Expand description

Sets the x9.62 compressed coordinates of a EC_POINT \param group underlying EC_GROUP object \param p EC_POINT object \param x BIGNUM with x-coordinate \param y_bit integer with the y-Bit (either 0 or 1) \param ctx BN_CTX object (optional) \return 1 on success and 0 if an error occurred