5const char *
expect =
"[[[8118772341496577043438385328606447626730215814727396173233264007541007797690,6742571767760762192519140673058087976840103832045324348366170860928670686713],"
6" [9727912590495366720378364920530546614235713408261568635512172059018197267630,10180700148605185348549931182990442059136187839792856455707820203302941578832],"
7" [5054507763444412917986776641611331046146804026682679569910978464879371792565,6917005519826733659554708445125877487590687705432214234949972860245110398023]],"
8" [[10448556317747236258066222816126375978842661908560317699736569642190930635294,1516980358051268127904344653343215863076753141133525905743113718749531324025],"
9" [9794836735385959178744195210089532061310424844916928682580569566332541022353,9375574834170998962484906689780052970915033987453510324648351251071086068423],"
10" [710778048594563655498360873129325895716179849942646859397874562033386335205,10688745994254573144943003027511098295097561129365638275727908595677791826005]]]";
12template<
class T,
class S>
16 printf(
"%s : ok\n", msg);
18 printf(
"%s : ng\n", msg);
43 opt_atePairing(e1, g2, g1);
46 std::stringstream ss(
expect);
49 printf(
"%s\n", e1 == e2 ?
"OK" :
"NG");
50}
catch (std::exception& e) {
51 printf(
"ERR %s\n", e.what());
void verify(const char *msg, const T &a, const S &b)
LOGGING_API void printf(Category category, const char *format,...)
const CurveParam CurveFp254BNb
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
#define T(meth, val, expected)
const Point & selectPoint(const bn::CurveParam &cp)