Trait elliptic_curve::hash2curve::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 Types§
sourcetype Degree: ArrayLength<Self>
type Degree: ArrayLength<Self>
The maximum number of coefficients
Required Associated Constants§
sourceconst COEFFICIENTS: IsogenyCoefficients<Self>
const COEFFICIENTS: IsogenyCoefficients<Self>
The isogeny coefficients
Provided Methods§
sourcefn isogeny(x: Self, y: Self) -> (Self, Self)
fn isogeny(x: Self, y: Self) -> (Self, Self)
Map from the isogeny points to the main curve
sourcefn compute_iso(xxs: &[Self], k: &[Self]) -> Self
fn compute_iso(xxs: &[Self], k: &[Self]) -> Self
Compute the ISO transform
Object Safety§
This trait is not object safe.