• Home
  • Raw
  • Download

Lines Matching refs:meth

321 EC_GROUP *ec_group_new(const EC_METHOD *meth) {  in ec_group_new()  argument
324 if (meth == NULL) { in ec_group_new()
329 if (meth->group_init == 0) { in ec_group_new()
341 ret->meth = meth; in ec_group_new()
345 if (!meth->group_init(ret)) { in ec_group_new()
355 const EC_METHOD *meth = EC_GFp_mont_method(); in EC_GROUP_new_curve_GFp() local
358 ret = ec_group_new(meth); in EC_GROUP_new_curve_GFp()
363 if (ret->meth->group_set_curve == 0) { in EC_GROUP_new_curve_GFp()
367 if (!ret->meth->group_set_curve(ret, p, a, b, ctx)) { in EC_GROUP_new_curve_GFp()
423 const EC_METHOD *meth; in ec_group_new_from_data() local
444 meth = curve->method(); in ec_group_new_from_data()
445 if (((group = ec_group_new(meth)) == NULL) || in ec_group_new_from_data()
446 (!(group->meth->group_set_curve(group, p, a, b, ctx)))) { in ec_group_new_from_data()
530 if (group->meth->group_finish != 0) { in EC_GROUP_free()
531 group->meth->group_finish(group); in EC_GROUP_free()
542 if (dest->meth->group_copy == 0) { in ec_group_copy()
546 if (dest->meth != src->meth) { in ec_group_copy()
578 return dest->meth->group_copy(dest, src); in ec_group_copy()
593 t = ec_group_new(a->meth); in EC_GROUP_dup()
668 ret->meth = group->meth; in EC_POINT_new()
700 if (dest->meth != src->meth) { in EC_POINT_copy()
733 if (group->meth != point->meth) { in EC_POINT_set_to_infinity()
741 if (group->meth != point->meth) { in EC_POINT_is_at_infinity()
750 if (group->meth != point->meth) { in EC_POINT_is_on_curve()
759 if ((group->meth != a->meth) || (a->meth != b->meth)) { in EC_POINT_cmp()
767 if (group->meth != point->meth) { in EC_POINT_make_affine()
779 if (group->meth != points[i]->meth) { in EC_POINTs_make_affine()
790 if (group->meth->point_get_affine_coordinates == 0) { in EC_POINT_get_affine_coordinates_GFp()
794 if (group->meth != point->meth) { in EC_POINT_get_affine_coordinates_GFp()
798 return group->meth->point_get_affine_coordinates(group, point, x, y, ctx); in EC_POINT_get_affine_coordinates_GFp()
804 if (group->meth != point->meth) { in EC_POINT_set_affine_coordinates_GFp()
822 if ((group->meth != r->meth) || (r->meth != a->meth) || in EC_POINT_add()
823 (a->meth != b->meth)) { in EC_POINT_add()
833 if ((group->meth != r->meth) || (r->meth != a->meth)) { in EC_POINT_dbl()
842 if (group->meth != a->meth) { in EC_POINT_invert()
860 if (group->meth != r->meth || in EC_POINT_mul()
861 (p != NULL && group->meth != p->meth)) { in EC_POINT_mul()
866 return group->meth->mul(group, r, g_scalar, p, p_scalar, ctx); in EC_POINT_mul()
872 if (group->meth != point->meth) { in ec_point_set_Jprojective_coordinates_GFp()
886 int EC_METHOD_get_field_type(const EC_METHOD *meth) { in EC_METHOD_get_field_type() argument