ark_ec

Trait PairingFriendlyCycle

Source
pub trait PairingFriendlyCycle: CurveCycle {
    type Engine1: Pairing<G1 = Self::E1, G1Affine = <Self::E1 as CurveGroup>::Affine, ScalarField = <Self::E1 as PrimeGroup>::ScalarField>;
    type Engine2: Pairing<G1 = Self::E2, G1Affine = <Self::E2 as CurveGroup>::Affine, ScalarField = <Self::E2 as PrimeGroup>::ScalarField>;
}
Expand description

A cycle of curves where both curves are pairing-friendly.

Required Associated Types§

Source

type Engine1: Pairing<G1 = Self::E1, G1Affine = <Self::E1 as CurveGroup>::Affine, ScalarField = <Self::E1 as PrimeGroup>::ScalarField>

Source

type Engine2: Pairing<G1 = Self::E2, G1Affine = <Self::E2 as CurveGroup>::Affine, ScalarField = <Self::E2 as PrimeGroup>::ScalarField>

Implementors§