#include "bn.h"
#include "test_point.hpp"
Go to the source code of this file.
◆ main()
Definition at line 10 of file loop_test.cpp.
11{
12#ifdef BN_SUPPORT_SNARK
13 puts("snark");
15#else
16 puts("fp254BNb");
18#endif
19
21
26 );
31
33 mie::Vuint a(
"0x18b48dddfb2f81cc829b4b9acd393ccb1e90909aabe126bcdbe6a96438eaf313");
34 for (int i = 0; i < 3000; i++) {
40 if (ea != ea1 || ea != ea2) {
46 exit(1);
47 }
49 }
50 puts("ok");
51}
LOGGING_API void printf(Category category, const char *format,...)
const CurveParam CurveFp254BNb
void opt_atePairing(Fp12T< Fp6T< Fp2T< Fp > > > &f, const Fp2T< Fp > Q[2], const Fp P[2])
T power(const T &x, const S &y)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
static void init(const CurveParam &cp, int mode=-1, bool useMulx=true)
const Point & selectPoint(const bn::CurveParam &cp)