Home | History | Annotate | Download | only in ec

Lines Matching refs:meth

321 EC_GROUP *ec_group_new(const EC_METHOD *meth) {
324 if (meth == NULL) {
329 if (meth->group_init == 0) {
341 ret->meth = meth;
345 if (!meth->group_init(ret)) {
355 const EC_METHOD *meth = EC_GFp_mont_method();
358 ret = ec_group_new(meth);
363 if (ret->meth->group_set_curve == 0) {
367 if (!ret->meth->group_set_curve(ret, p, a, b, ctx)) {
417 const EC_METHOD *meth;
438 meth = curve->method();
439 if (((group = ec_group_new(meth)) == NULL) ||
440 (!(group->meth->group_set_curve(group, p, a, b, ctx)))) {
524 if (group->meth->group_finish != 0) {
525 group->meth->group_finish(group);
536 if (dest->meth->group_copy == 0) {
540 if (dest->meth != src->meth) {
572 return dest->meth->group_copy(dest, src);
587 t = ec_group_new(a->meth);
662 ret->meth = group->meth;
694 if (dest->meth != src->meth) {
727 if (group->meth != point->meth) {
735 if (group->meth != point->meth) {
744 if (group->meth != point->meth) {
753 if ((group->meth != a->meth) || (a->meth != b->meth)) {
761 if (group->meth != point->meth) {
773 if (group->meth != points[i]->meth) {
784 if (group->meth->point_get_affine_coordinates == 0) {
788 if (group->meth != point->meth) {
792 return group->meth->point_get_affine_coordinates(group, point, x, y, ctx);
798 if (group->meth != point->meth) {
816 if ((group->meth != r->meth) || (r->meth != a->meth) ||
817 (a->meth != b->meth)) {
827 if ((group->meth != r->meth) || (r->meth != a->meth)) {
836 if (group->meth != a->meth) {
854 if (group->meth != r->meth ||
855 (p != NULL && group->meth != p->meth)) {
860 return group->meth->mul(group, r, g_scalar, p, p_scalar, ctx);
866 if (group->meth != point->meth) {
880 int EC_METHOD_get_field_type(const EC_METHOD *meth) {