update-fork
MITSUNARI Shigeo 5 years ago
parent f796b73629
commit 120ac2b1a9
  1. 4
      test/bls12_test.cpp

@ -730,9 +730,9 @@ CYBOZU_TEST_AUTO(eth2)
const char *expectSig = "b9d1bf921b3dd048bdce38c2ceac2a2a8093c864881f2415f22b198de935ffa791707855c1656dc21a7af2d502bb46590151d645f062634c3b2cb79c4ed1c4a4b8b3f19f0f5c76965c651553e83d153ff95353735156eff77692f7a62ae653fb";
CYBOZU_TEST_EQUAL(sig.getStr(mcl::IoSerializeHexStr), expectSig);
CYBOZU_BENCH_C("mapToG2 org-cofactor", 1000, mapToG2, Q, m);
CYBOZU_BENCH_C("mapToG2 org-cofactor", 1000, mapToG2, Q, m);
setOriginalG2cofactor(false);
CYBOZU_BENCH_C("mapToG2 org-cofactor", 1000, mapToG2, Q, m);
CYBOZU_BENCH_C("mapToG2 fast-cofactor", 1000, mapToG2, Q, m);
}
typedef std::vector<Fp> FpVec;

Loading…
Cancel
Save