• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ec/

Lines Matching refs:meth

76 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth)
80 if (meth == NULL)
85 if (meth->group_init == 0)
98 ret->meth = meth;
113 if (!meth->group_init(ret))
127 if (group->meth->group_finish != 0)
128 group->meth->group_finish(group);
148 if (group->meth->group_clear_finish != 0)
149 group->meth->group_clear_finish(group);
150 else if (group->meth->group_finish != 0)
151 group->meth->group_finish(group);
175 if (dest->meth->group_copy == 0)
180 if (dest->meth != src->meth)
246 return dest->meth->group_copy(dest, src);
257 if ((t = EC_GROUP_new(a->meth)) == NULL) return(NULL);
274 return group->meth;
278 int EC_METHOD_get_field_type(const EC_METHOD *meth)
280 return meth->field_type;
409 if (group->meth->group_set_curve == 0)
414 return group->meth->group_set_curve(group, p, a, b, ctx);
420 if (group->meth->group_get_curve == 0)
425 return group->meth->group_get_curve(group, p, a, b, ctx);
431 if (group->meth->group_set_curve == 0)
436 return group->meth->group_set_curve(group, p, a, b, ctx);
442 if (group->meth->group_get_curve == 0)
447 return group->meth->group_get_curve(group, p, a, b, ctx);
453 if (group->meth->group_get_degree == 0)
458 return group->meth->group_get_degree(group);
464 if (group->meth->group_check_discriminant == 0)
469 return group->meth->group_check_discriminant(group, ctx);
511 if (!a->meth->group_get_curve(a, a1, a2, a3, ctx) ||
512 !b->meth->group_get_curve(b, b1, b2, b3, ctx))
702 if (group->meth->point_init == 0)
715 ret->meth = group->meth;
717 if (!ret->meth->point_init(ret))
731 if (point->meth->point_finish != 0)
732 point->meth->point_finish(point);
741 if (point->meth->point_clear_finish != 0)
742 point->meth->point_clear_finish(point);
743 else if (point->meth->point_finish != 0)
744 point->meth->point_finish(point);
752 if (dest->meth->point_copy == 0)
757 if (dest->meth != src->meth)
764 return dest->meth->point_copy(dest, src);
789 return point->meth;
795 if (group->meth->point_set_to_infinity == 0)
800 if (group->meth != point->meth)
805 return group->meth->point_set_to_infinity(group, point);
812 if (group->meth->point_set_Jprojective_coordinates_GFp == 0)
817 if (group->meth != point->meth)
822 return group->meth->point_set_Jprojective_coordinates_GFp(group, point, x, y, z, ctx);
829 if (group->meth->point_get_Jprojective_coordinates_GFp == 0)
834 if (group->meth != point->meth)
839 return group->meth->point_get_Jprojective_coordinates_GFp(group, point, x, y, z, ctx);
846 if (group->meth->point_set_affine_coordinates == 0)
851 if (group->meth != point->meth)
856 return group->meth->point_set_affine_coordinates(group, point, x, y, ctx);
863 if (group->meth->point_set_affine_coordinates == 0)
868 if (group->meth != point->meth)
873 return group->meth->point_set_affine_coordinates(group, point, x, y, ctx);
880 if (group->meth->point_get_affine_coordinates == 0)
885 if (group->meth != point->meth)
890 return group->meth->point_get_affine_coordinates(group, point, x, y, ctx);
897 if (group->meth->point_get_affine_coordinates == 0)
902 if (group->meth != point->meth)
907 return group->meth->point_get_affine_coordinates(group, point, x, y, ctx);
914 if (group->meth->point_set_compressed_coordinates == 0)
919 if (group->meth != point->meth)
924 return group->meth->point_set_compressed_coordinates(group, point, x, y_bit, ctx);
931 if (group->meth->point_set_compressed_coordinates == 0)
936 if (group->meth != point->meth)
941 return group->meth->point_set_compressed_coordinates(group, point, x, y_bit, ctx);
948 if (group->meth->point2oct == 0)
953 if (group->meth != point->meth)
958 return group->meth->point2oct(group, point, form, buf, len, ctx);
965 if (group->meth->oct2point == 0)
970 if (group->meth != point->meth)
975 return group->meth->oct2point(group, point, buf, len, ctx);
981 if (group->meth->add == 0)
986 if ((group->meth != r->meth) || (r->meth != a->meth) || (a->meth != b->meth))
991 return group->meth->add(group, r, a, b, ctx);
997 if (group->meth->dbl == 0)
1002 if ((group->meth != r->meth) || (r->meth != a->meth))
1007 return group->meth->dbl(group, r, a, ctx);
1013 if (group->meth->dbl == 0)
1018 if (group->meth != a->meth)
1023 return group->meth->invert(group, a, ctx);
1029 if (group->meth->is_at_infinity == 0)
1034 if (group->meth != point->meth)
1039 return group->meth->is_at_infinity(group, point);
1045 if (group->meth->is_on_curve == 0)
1050 if (group->meth != point->meth)
1055 return group->meth->is_on_curve(group, point, ctx);
1061 if (group->meth->point_cmp == 0)
1066 if ((group->meth != a->meth) || (a->meth != b->meth))
1071 return group->meth->point_cmp(group, a, b, ctx);
1077 if (group->meth->make_affine == 0)
1082 if (group->meth != point->meth)
1087 return group->meth->make_affine(group, point, ctx);
1095 if (group->meth->points_make_affine == 0)
1102 if (group->meth != points[i]->meth)
1108 return group->meth->points_make_affine(group, num, points, ctx);
1114 * If group->meth->mul is 0, we use the wNAF-based implementations in ec_mult.c;
1121 if (group->meth->mul == 0)
1125 return group->meth->mul(group, r, scalar, num, points, scalars, ctx);
1144 if (group->meth->mul == 0)
1148 if (group->meth->precompute_mult != 0)
1149 return group->meth->precompute_mult(group, ctx);
1156 if (group->meth->mul == 0)
1160 if (group->meth->have_precompute_mult != 0)
1161 return group->meth->have_precompute_mult(group);