Trait paired::PairingCurveAffine [−][src]
pub trait PairingCurveAffine: CurveAffine { type Prepared: Clone + Send + Sync + 'static; type Pair: PairingCurveAffine<Pair = Self>; type PairingResult: Field; fn prepare(&self) -> Self::Prepared; 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.
Associated Types
type Prepared: Clone + Send + Sync + 'static
[src]
type Pair: PairingCurveAffine<Pair = Self>
[src]
type PairingResult: Field
[src]
Required methods
fn pairing_with(&self, other: &Self::Pair) -> Self::PairingResult
[src]
fn pairing_with(&self, other: &Self::Pair) -> Self::PairingResult
[src]Perform a pairing
Implementors
impl PairingCurveAffine for G1Affine
[src]
impl PairingCurveAffine for G1Affine
[src]type Prepared = G1Prepared
type Pair = G2Affine
type PairingResult = Fq12
fn prepare(&self) -> Self::Prepared
[src]
fn pairing_with(&self, other: &Self::Pair) -> Self::PairingResult
[src]
impl PairingCurveAffine for G2Affine
[src]
impl PairingCurveAffine for G2Affine
[src]