pub trait Isogeny: Field + AddAssign + Mul<Output = Self> {
    type Degree: ArrayLength<Self>;

    const COEFFICIENTS: IsogenyCoefficients<Self>;

    // Provided methods
    fn isogeny(x: Self, y: Self) -> (Self, Self) { ... }
    fn compute_iso(xxs: &[Self], k: &[Self]) -> Self { ... }
}
Available on crate feature hash2curve only.
Expand description

The Isogeny methods to map to another curve.

Required Associated Types§

source

type Degree: ArrayLength<Self>

The maximum number of coefficients

Required Associated Constants§

source

const COEFFICIENTS: IsogenyCoefficients<Self>

The isogeny coefficients

Provided Methods§

source

fn isogeny(x: Self, y: Self) -> (Self, Self)

Map from the isogeny points to the main curve

source

fn compute_iso(xxs: &[Self], k: &[Self]) -> Self

Compute the ISO transform

Object Safety§

This trait is not object safe.

Implementors§