elliptic_curve::hash2curve

Trait Isogeny

Source
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 Constants§

Source

const COEFFICIENTS: IsogenyCoefficients<Self>

The isogeny coefficients

Required Associated Types§

Source

type Degree: ArrayLength<Self>

The maximum number of 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§