Merge commit '81aa36e'

dev
MITSUNARI Shigeo 8 years ago
commit 30a6c4a6af
  1. 11
      test/bn_test.cpp

@ -95,6 +95,17 @@ CYBOZU_TEST_AUTO(naive)
CYBOZU_BENCH("finalExp", BN::finalExp, e1, e1); // 1.3Mclk
}
CYBOZU_TEST_AUTO(HashMapToG1)
{
mcl::bn::HashMapToG1<Fp> hash;
for (int i = 0; i < 10; i++) {
G1 g;
hash.calc(g, i, 2);
std::cout << i << ':' << g << std::endl;
}
}
int main(int argc, char *argv[])
try
{

Loading…
Cancel
Save