ZenGo-X / curv

Rust language general purpose elliptic curve cryptography.
MIT License
264 stars 111 forks source link

Efficient computation of product of pairings #98

Closed survived closed 3 years ago

survived commented 3 years ago

PR adds method for efficient computation of product of pairings with single final exponentiation. Also trait Neg is implemented for both bls12_381::{g1,g2}::GE. Eventually there should be method .negate() as part of ECPoint trait, but it's tricky.