Home | History | Annotate | Download | only in ec

Lines Matching refs:field_sqr

126  * are used, the field_mul and field_sqr methods will be used for
603 /* field_sqr works on standard representation */
604 if (!group->meth->field_sqr(group, Z_2, Z_1, ctx)) goto err;
646 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
660 field_sqr = group->meth->field_sqr;
695 if (!field_sqr(group, n0, &b->Z, ctx)) goto end;
714 if (!field_sqr(group, n0, &a->Z, ctx)) goto end;
774 if (!field_sqr(group, n0, n6, ctx)) goto end;
775 if (!field_sqr(group, n4, n5, ctx)) goto end;
810 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
824 field_sqr = group->meth->field_sqr;
849 if (!field_sqr(group, n0, &a->X, ctx)) goto err;
857 if (!field_sqr(group, n1, &a->Z, ctx)) goto err;
868 if (!field_sqr(group, n0, &a->X, ctx)) goto err;
871 if (!field_sqr(group, n1, &a->Z, ctx)) goto err;
872 if (!field_sqr(group, n1, n1, ctx)) goto err;
892 if (!field_sqr(group, n3, &a->Y, ctx)) goto err;
899 if (!field_sqr(group, &r->X, n1, ctx)) goto err;
904 if (!field_sqr(group, n0, n3, ctx)) goto err;
943 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
953 field_sqr = group->meth->field_sqr;
980 if (!field_sqr(group, rh, &point->X, ctx)) goto err;
984 if (!field_sqr(group, tmp, &point->Z, ctx)) goto err;
985 if (!field_sqr(group, Z4, tmp, ctx)) goto err;
1019 if (!field_sqr(group, tmp, &point->Y, ctx)) goto err;
1040 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *);
1060 field_sqr = group->meth->field_sqr;
1084 if (!field_sqr(group, Zb23, &b->Z, ctx)) goto end;
1092 if (!field_sqr(group, Za23, &a->Z, ctx)) goto end;
1313 if (!group->meth->field_sqr(group, tmp1, &p->Z, ctx)) goto err;