Lines Matching refs:field_sqr
522 if (!group->meth->field_sqr(group, Z_2, Z_1, ctx)) { in ec_GFp_simple_point_get_affine_coordinates()
565 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *); in ec_GFp_simple_add() local
582 field_sqr = group->meth->field_sqr; in ec_GFp_simple_add()
617 if (!field_sqr(group, n0, &b->Z, ctx) || in ec_GFp_simple_add()
638 if (!field_sqr(group, n0, &a->Z, ctx) || in ec_GFp_simple_add()
708 if (!field_sqr(group, n0, n6, ctx) || in ec_GFp_simple_add()
709 !field_sqr(group, n4, n5, ctx) || in ec_GFp_simple_add()
756 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *); in ec_GFp_simple_dbl() local
769 field_sqr = group->meth->field_sqr; in ec_GFp_simple_dbl()
795 if (!field_sqr(group, n0, &a->X, ctx) || in ec_GFp_simple_dbl()
803 if (!field_sqr(group, n1, &a->Z, ctx) || in ec_GFp_simple_dbl()
814 if (!field_sqr(group, n0, &a->X, ctx) || in ec_GFp_simple_dbl()
817 !field_sqr(group, n1, &a->Z, ctx) || in ec_GFp_simple_dbl()
818 !field_sqr(group, n1, n1, ctx) || in ec_GFp_simple_dbl()
841 if (!field_sqr(group, n3, &a->Y, ctx) || in ec_GFp_simple_dbl()
850 !field_sqr(group, &r->X, n1, ctx) || in ec_GFp_simple_dbl()
857 if (!field_sqr(group, n0, n3, ctx) || in ec_GFp_simple_dbl()
896 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *); in ec_GFp_simple_is_on_curve() local
907 field_sqr = group->meth->field_sqr; in ec_GFp_simple_is_on_curve()
937 if (!field_sqr(group, rh, &point->X, ctx)) { in ec_GFp_simple_is_on_curve()
942 if (!field_sqr(group, tmp, &point->Z, ctx) || in ec_GFp_simple_is_on_curve()
943 !field_sqr(group, Z4, tmp, ctx) || in ec_GFp_simple_is_on_curve()
984 if (!field_sqr(group, tmp, &point->Y, ctx)) { in ec_GFp_simple_is_on_curve()
1006 int (*field_sqr)(const EC_GROUP *, BIGNUM *, const BIGNUM *, BN_CTX *); in ec_GFp_simple_cmp() local
1025 field_sqr = group->meth->field_sqr; in ec_GFp_simple_cmp()
1050 if (!field_sqr(group, Zb23, &b->Z, ctx) || in ec_GFp_simple_cmp()
1059 if (!field_sqr(group, Za23, &a->Z, ctx) || in ec_GFp_simple_cmp()
1267 if (!group->meth->field_sqr(group, tmp, &p->Z, ctx) || in ec_GFp_simple_points_make_affine()