Lines Matching refs:field_sqr

570       if (!group->meth->field_sqr(group, Z_2, Z_1, ctx)) {  in ec_GFp_simple_point_get_affine_coordinates()
613 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *); in ec_GFp_simple_add() local
630 field_sqr = group->meth->field_sqr; in ec_GFp_simple_add()
665 if (!field_sqr(group, n0, &b->Z, ctx) || in ec_GFp_simple_add()
686 if (!field_sqr(group, n0, &a->Z, ctx) || in ec_GFp_simple_add()
756 if (!field_sqr(group, n0, n6, ctx) || in ec_GFp_simple_add()
757 !field_sqr(group, n4, n5, ctx) || in ec_GFp_simple_add()
804 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *); in ec_GFp_simple_dbl() local
817 field_sqr = group->meth->field_sqr; in ec_GFp_simple_dbl()
843 if (!field_sqr(group, n0, &a->X, ctx) || in ec_GFp_simple_dbl()
851 if (!field_sqr(group, n1, &a->Z, ctx) || in ec_GFp_simple_dbl()
862 if (!field_sqr(group, n0, &a->X, ctx) || in ec_GFp_simple_dbl()
865 !field_sqr(group, n1, &a->Z, ctx) || in ec_GFp_simple_dbl()
866 !field_sqr(group, n1, n1, ctx) || in ec_GFp_simple_dbl()
889 if (!field_sqr(group, n3, &a->Y, ctx) || in ec_GFp_simple_dbl()
898 !field_sqr(group, &r->X, n1, ctx) || in ec_GFp_simple_dbl()
905 if (!field_sqr(group, n0, n3, ctx) || in ec_GFp_simple_dbl()
944 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *); in ec_GFp_simple_is_on_curve() local
955 field_sqr = group->meth->field_sqr; in ec_GFp_simple_is_on_curve()
985 if (!field_sqr(group, rh, &point->X, ctx)) { in ec_GFp_simple_is_on_curve()
990 if (!field_sqr(group, tmp, &point->Z, ctx) || in ec_GFp_simple_is_on_curve()
991 !field_sqr(group, Z4, tmp, ctx) || in ec_GFp_simple_is_on_curve()
1032 if (!field_sqr(group, tmp, &point->Y, ctx)) { in ec_GFp_simple_is_on_curve()
1054 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *); in ec_GFp_simple_cmp() local
1073 field_sqr = group->meth->field_sqr; in ec_GFp_simple_cmp()
1098 if (!field_sqr(group, Zb23, &b->Z, ctx) || in ec_GFp_simple_cmp()
1107 if (!field_sqr(group, Za23, &a->Z, ctx) || in ec_GFp_simple_cmp()
1315 if (!group->meth->field_sqr(group, tmp, &p->Z, ctx) || in ec_GFp_simple_points_make_affine()