Lines Matching defs:group
92 int ossl_ec_GFp_nist_group_set_curve(EC_GROUP *group, const BIGNUM *p,
100 if ((ctx = new_ctx = BN_CTX_new_ex(group->libctx)) == NULL)
106 group->field_mod_func = BN_nist_mod_192;
108 group->field_mod_func = BN_nist_mod_224;
110 group->field_mod_func = BN_nist_mod_256;
112 group->field_mod_func = BN_nist_mod_384;
114 group->field_mod_func = BN_nist_mod_521;
120 ret = ossl_ec_GFp_simple_group_set_curve(group, p, a, b, ctx);
128 int ossl_ec_GFp_nist_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
134 if (!group || !r || !a || !b) {
139 if ((ctx_new = ctx = BN_CTX_new_ex(group->libctx)) == NULL)
144 if (!group->field_mod_func(r, r, group->field, ctx))
153 int ossl_ec_GFp_nist_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a,
159 if (!group || !r || !a) {
164 if ((ctx_new = ctx = BN_CTX_new_ex(group->libctx)) == NULL)
169 if (!group->field_mod_func(r, r, group->field, ctx))