Skip to main content

PairingFriendlyCycle

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>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§