pub unsafe extern "C" fn EC_GROUP_get_curve(
group: *const ec_group_st,
p: *mut bignum_st,
a: *mut bignum_st,
b: *mut bignum_st,
ctx: *mut bignum_ctx,
) -> i32
Expand description
Gets the parameters of the ec curve defined by y^2 = x^3 + ax + b (for GFp) or y^2 + xy = x^3 + a*x^2 + b (for GF2m) \param group EC_GROUP object \param p BIGNUM with the prime number (GFp) or the polynomial defining the underlying field (GF2m) \param a BIGNUM for parameter a of the equation \param b BIGNUM for parameter b of the equation \param ctx BN_CTX object (optional) \return 1 on success and 0 if an error occurred