Trait cryptix_pairing::Pairing
source · pub trait Pairing {
type G1: AbelianGroup;
type G2: AbelianGroup;
type GT: AbelianGroup;
// Required methods
fn miller_loop(p: Self::G1, q: Self::G2) -> Self::GT;
fn final_exp(f: Self::GT) -> Self::GT;
// Provided method
fn pairing(p: Self::G1, q: Self::G2) -> Self::GT { ... }
}