3.7.3 Add multiexp tests

This commit is contained in:
Luke Parker
2023-03-02 03:58:48 -05:00
parent 93d5f41917
commit 8661111fc6
4 changed files with 144 additions and 3 deletions

View File

@@ -169,6 +169,7 @@ where
match algorithm(pairs.len()) {
Algorithm::Null => Group::identity(),
Algorithm::Single => pairs[0].1 * pairs[0].0,
// These functions panic if called without any pairs
Algorithm::Straus(window) => straus(pairs, window),
Algorithm::Pippenger(window) => pippenger(pairs, window),
}