Logo Search packages:      
Sourcecode: openssl version File versions  Download package

int EC_GROUP_set_curve_GF2m ( EC_GROUP group,
const BIGNUM p,
const BIGNUM a,
const BIGNUM b,
BN_CTX ctx 

Sets the parameter of a ec over GF2m defined by y^2 + x*y = x^3 + a*x^2 + b

groupEC_GROUP object
pBIGNUM with the polynomial defining the underlying field
aBIGNUM with parameter a of the equation
bBIGNUM with parameter b of the equation
ctxBN_CTX object (optional)
1 on success and 0 if an error occured

Definition at line 429 of file ec_lib.c.

References EC_GROUP_set_curve_GF2m().

Referenced by EC_GROUP_new_curve_GF2m(), and EC_GROUP_set_curve_GF2m().

      if (group->meth->group_set_curve == 0)
            return 0;
      return group->meth->group_set_curve(group, p, a, b, ctx);

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index