Trait elliptic_curve::hash2curve::Isogeny
source · [−]pub trait Isogeny: Field + AddAssign + Mul<Output = Self> {
type Degree: ArrayLength<Self>;
const COEFFICIENTS: IsogenyCoefficients<Self>;
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
type Degree: ArrayLength<Self>
type Degree: ArrayLength<Self>
The maximum number of coefficients
Required Associated Constants
const COEFFICIENTS: IsogenyCoefficients<Self>
const COEFFICIENTS: IsogenyCoefficients<Self>
The isogeny coefficients
Provided Methods
fn isogeny(x: Self, y: Self) -> (Self, Self)
fn isogeny(x: Self, y: Self) -> (Self, Self)
Map from the isogeny points to the main curve
fn compute_iso(xxs: &[Self], k: &[Self]) -> Self
fn compute_iso(xxs: &[Self], k: &[Self]) -> Self
Compute the ISO transform