From af65817bf851e187f0a364d545153f83d89c993f Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Tue, 27 Jun 2017 20:27:47 +0900 Subject: [PATCH] add bench of GT::pow --- test/bn_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/bn_test.cpp b/test/bn_test.cpp index e10d062..afacb24 100644 --- a/test/bn_test.cpp +++ b/test/bn_test.cpp @@ -258,6 +258,7 @@ void testPairing(const G1& P, const G2& Q, const char *eStr) CYBOZU_BENCH_C("G2::mul z", 500, G2::mul, Qa, Qa, z); CYBOZU_BENCH_C("G2::add", 500, G2::add, Qa, Qa, Q); CYBOZU_BENCH_C("G2::dbl", 500, G2::dbl, Qa, Qa); + CYBOZU_BENCH_C("GT::pow", 500, GT::pow, e1, e1, a); } CYBOZU_BENCH("pairing", BN::pairing, e1, P, Q); // 2.4Mclk CYBOZU_BENCH("finalExp", BN::finalExp, e1, e1); // 1.3Mclk