epoint_copy
epoint_copy定义在miracl.h
extern void epoint_copy(epoint *,epoint *);
mrcurve.c
void epoint_copy(epoint *a,epoint *b)
{
if (a==b || b==NULL) return;
copy(a->X,b->X);
copy(a->Y,b->Y);
copy(a->Z,b->Z);
b->marker=a->marker;
return;
}
void epoint_copy(epoint *a,epoint *b)
{
if (a==b || b==NULL) return;
copy(a->X,b->X);
copy(a->Y,b->Y);
#ifndef MR_AFFINE_ONLY
if (a->marker==MR_EPOINT_GENERAL) copy(a->Z,b->Z);
#endif
b->marker=a->marker;
return;
}