group->validate_point = NULL;
ECGroup_new(){	mp_err res = MP_OKAY;	ECGroup *group;	group = (ECGroup *) malloc(sizeof(ECGroup));	if (group == NULL)		return NULL;	group->constructed = MP_YES;	group->text = NULL;	MP_DIGITS(&group->curvea) = 0;	MP_DIGITS(&group->curveb) = 0;	MP_DIGITS(&group->genx) = 0;	MP_DIGITS(&group->geny) = 0;	MP_DIGITS(&group->order) = 0;	MP_CHECKOK(mp_init(&group->curvea));	MP_CHECKOK(mp_init(&group->curveb));	MP_CHECKOK(mp_init(&group->genx));	MP_CHECKOK(mp_init(&group->geny));	MP_CHECKOK(mp_init(&group->order));	group->base_point_mul = NULL;	group->points_mul = NULL;	group->extra1 = NULL;	group->extra2 = NULL;	group->extra_free = NULL;  CLEANUP:	if (res != MP_OKAY) {		ECGroup_free(group);		return NULL;	}	return group;}