pairing

Trait PairingCurveAffine

Source
pub trait PairingCurveAffine: PrimeCurveAffine + UncompressedEncoding {
    type Pair: PairingCurveAffine<Pair = Self>;
    type PairingResult: Group;

    // Required method
    fn pairing_with(&self, other: &Self::Pair) -> Self::PairingResult;
}
Expand description

Affine representation of an elliptic curve point that can be used to perform pairings.

Required Associated Types§

Required Methods§

Source

fn pairing_with(&self, other: &Self::Pair) -> Self::PairingResult

Perform a pairing

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§