get_status
get_status定义在ecn.h
int get_status() {return p->marker;}
函数功能:返回点的状态,记录在epoint的marker。
参数:无。
1. 源码分析
与get_status相关的内容如下。
/* Elliptic Curve epoint structure. Uses projective (X,Y,Z) co-ordinates */
typedef struct {
int marker;
big X;
big Y;
#ifndef MR_AFFINE_ONLY
big Z;
#endif
} epoint;
epoint *p;
int get_status() {return p->marker;}
可参考epoint类型的描述。