aboutsummaryrefslogtreecommitdiff
path: root/tests/performance_tests/multiexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/performance_tests/multiexp.h')
-rw-r--r--tests/performance_tests/multiexp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/performance_tests/multiexp.h b/tests/performance_tests/multiexp.h
index ab5af166b..294e74116 100644
--- a/tests/performance_tests/multiexp.h
+++ b/tests/performance_tests/multiexp.h
@@ -39,9 +39,10 @@ enum test_multiexp_algorithm
multiexp_bos_coster,
multiexp_straus,
multiexp_straus_cached,
+ multiexp_pippenger,
};
-template<test_multiexp_algorithm algorithm, size_t npoints>
+template<test_multiexp_algorithm algorithm, size_t npoints, size_t c=0>
class test_multiexp
{
public:
@@ -74,6 +75,8 @@ public:
return res == straus(data);
case multiexp_straus_cached:
return res == straus(data, cache);
+ case multiexp_pippenger:
+ return res == pippenger(data, c);
default:
return false;
}