Function EC_GROUP_set_curve_GFp

Source
pub unsafe extern "C" fn EC_GROUP_set_curve_GFp(
    group: *mut ec_group_st,
    p: *const bignum_st,
    a: *const bignum_st,
    b: *const bignum_st,
    ctx: *mut bignum_ctx,
) -> i32
Expand description

Sets the parameters of an ec curve. Synonym for EC_GROUP_set_curve \param group EC_GROUP object \param p BIGNUM with the prime number (GFp) or the polynomial defining the underlying field (GF2m) \param a BIGNUM with parameter a of the equation \param b BIGNUM with parameter b of the equation \param ctx BN_CTX object (optional) \return 1 on success and 0 if an error occurred