文件名称:sm2国米算法
文件大小:13KB
文件格式:C
更新时间:2022-01-16 09:26:34
sm2
sm2国密算法big x,y,x_3,tmp; epoint *nP; x=mirvar(0); y=mirvar(0); x_3=mirvar(0); tmp=mirvar(0); nP=epoint_init(); //test if the pubKey is the point at infinity if (point_at_infinity(pubKey))// if pubKey is point at infinity, return error; return ERR_INFINITY_POINT; //test if x