Trait halo2curves::pairing::PairingCurveAffine
source · [−]pub trait PairingCurveAffine: CurveAffine + UncompressedEncoding {
type Pair: PairingCurveAffine<Pair = Self>;
type PairingResult: Group;
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
type Pair: PairingCurveAffine<Pair = Self>
type PairingResult: Group
Required Methods
sourcefn pairing_with(&self, other: &Self::Pair) -> Self::PairingResult
fn pairing_with(&self, other: &Self::Pair) -> Self::PairingResult
Perform a pairing