mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 12:49:23 +00:00
3.7.3 Add multiexp tests
This commit is contained in:
@@ -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),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user