Trait bellperson::bls::PairingCurveAffine[][src]

pub trait PairingCurveAffine: CurveAffine {
    type Prepared: 'static + Clone + Send + Sync;
    type Pair: PairingCurveAffine;
    type PairingResult: Field;
    pub fn prepare(&self) -> Self::Prepared;
pub fn pairing_with(&self, other: &Self::Pair) -> Self::PairingResult; }

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

Associated Types

Loading content...

Required methods

pub fn prepare(&self) -> Self::Prepared[src]

Prepares this element for pairing purposes.

pub fn pairing_with(&self, other: &Self::Pair) -> Self::PairingResult[src]

Perform a pairing

Loading content...

Implementors

Loading content...