Lines Matching refs:field_sqr

119  * are used, the field_mul and field_sqr methods will be used for
596 /* field_sqr works on standard representation */
597 if (!group->meth->field_sqr(group, Z_2, Z_1, ctx)) goto err;
673 if (!group->meth->field_sqr(group, tmp2, x_, ctx)) goto err;
1005 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
1019 field_sqr = group->meth->field_sqr;
1054 if (!field_sqr(group, n0, &b->Z, ctx)) goto end;
1073 if (!field_sqr(group, n0, &a->Z, ctx)) goto end;
1133 if (!field_sqr(group, n0, n6, ctx)) goto end;
1134 if (!field_sqr(group, n4, n5, ctx)) goto end;
1169 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
1183 field_sqr = group->meth->field_sqr;
1208 if (!field_sqr(group, n0, &a->X, ctx)) goto err;
1216 if (!field_sqr(group, n1, &a->Z, ctx)) goto err;
1227 if (!field_sqr(group, n0, &a->X, ctx)) goto err;
1230 if (!field_sqr(group, n1, &a->Z, ctx)) goto err;
1231 if (!field_sqr(group, n1, n1, ctx)) goto err;
1251 if (!field_sqr(group, n3, &a->Y, ctx)) goto err;
1258 if (!field_sqr(group, &r->X, n1, ctx)) goto err;
1263 if (!field_sqr(group, n0, n3, ctx)) goto err;
1302 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
1312 field_sqr = group->meth->field_sqr;
1339 if (!field_sqr(group, rh, &point->X, ctx)) goto err;
1343 if (!field_sqr(group, tmp, &point->Z, ctx)) goto err;
1344 if (!field_sqr(group, Z4, tmp, ctx)) goto err;
1378 if (!field_sqr(group, tmp, &point->Y, ctx)) goto err;
1399 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
1419 field_sqr = group->meth->field_sqr;
1443 if (!field_sqr(group, Zb23, &b->Z, ctx)) goto end;
1451 if (!field_sqr(group, Za23, &a->Z, ctx)) goto end;
1672 if (!group->meth->field_sqr(group, tmp1, &p->Z, ctx)) goto err;