From 263431c486bcaddf442c912cf56171a778322316 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Mon, 28 May 2018 00:27:54 +0100 Subject: Pippenger multiexp Based on sarang's python code --- tests/performance_tests/multiexp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/performance_tests/multiexp.h') 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 +template 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; } -- cgit v1.2.3