Lines Matching refs:meth

79 EC_GROUP_new(const EC_METHOD *meth)  in EC_GROUP_new()  argument
83 if (meth == NULL) { in EC_GROUP_new()
92 group->meth = meth; in EC_GROUP_new()
153 if (dst->meth != src->meth) { in EC_GROUP_copy()
211 if ((group = EC_GROUP_new(in_group->meth)) == NULL) in EC_GROUP_dup()
492 if (group->meth->group_set_curve == NULL) { in EC_GROUP_set_curve()
496 ret = group->meth->group_set_curve(group, p, a, b, ctx); in EC_GROUP_set_curve()
518 if (group->meth->group_get_curve == NULL) { in EC_GROUP_get_curve()
522 ret = group->meth->group_get_curve(group, p, a, b, ctx); in EC_GROUP_get_curve()
815 point->meth = group->meth; in EC_POINT_new()
850 if (dst->meth != src->meth) { in EC_POINT_copy()
895 if (group->meth != point->meth) { in EC_POINT_set_to_infinity()
919 if (group->meth->point_set_affine_coordinates == NULL) { in EC_POINT_set_affine_coordinates()
923 if (group->meth != point->meth) { in EC_POINT_set_affine_coordinates()
927 if (!group->meth->point_set_affine_coordinates(group, point, x, y, ctx)) in EC_POINT_set_affine_coordinates()
970 if (group->meth->point_get_affine_coordinates == NULL) { in EC_POINT_get_affine_coordinates()
974 if (group->meth != point->meth) { in EC_POINT_get_affine_coordinates()
978 ret = group->meth->point_get_affine_coordinates(group, point, x, y, ctx); in EC_POINT_get_affine_coordinates()
1120 if (group->meth->add == NULL) { in EC_POINT_add()
1124 if (group->meth != r->meth || group->meth != a->meth || in EC_POINT_add()
1125 group->meth != b->meth) { in EC_POINT_add()
1129 ret = group->meth->add(group, r, a, b, ctx); in EC_POINT_add()
1151 if (group->meth->dbl == NULL) { in EC_POINT_dbl()
1155 if (group->meth != r->meth || r->meth != a->meth) { in EC_POINT_dbl()
1159 ret = group->meth->dbl(group, r, a, ctx); in EC_POINT_dbl()
1180 if (group->meth->invert == NULL) { in EC_POINT_invert()
1184 if (group->meth != a->meth) { in EC_POINT_invert()
1188 ret = group->meth->invert(group, a, ctx); in EC_POINT_invert()
1201 if (group->meth != point->meth) { in EC_POINT_is_at_infinity()
1222 if (group->meth->point_is_on_curve == NULL) { in EC_POINT_is_on_curve()
1226 if (group->meth != point->meth) { in EC_POINT_is_on_curve()
1230 ret = group->meth->point_is_on_curve(group, point, ctx); in EC_POINT_is_on_curve()
1252 if (group->meth->point_cmp == NULL) { in EC_POINT_cmp()
1256 if (group->meth != a->meth || a->meth != b->meth) { in EC_POINT_cmp()
1260 ret = group->meth->point_cmp(group, a, b, ctx); in EC_POINT_cmp()
1318 if (group->meth->mul_single_ct == NULL || in EC_POINT_mul()
1319 group->meth->mul_double_nonct == NULL) { in EC_POINT_mul()
1333 ret = group->meth->mul_single_ct(group, r, g_scalar, in EC_POINT_mul()
1344 ret = group->meth->mul_single_ct(group, r, p_scalar, point, ctx); in EC_POINT_mul()
1352 ret = group->meth->mul_double_nonct(group, r, g_scalar, in EC_POINT_mul()
1418 EC_METHOD_get_field_type(const EC_METHOD *meth) in EC_METHOD_get_field_type() argument