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§
Sourceconst COEFFICIENTS: IsogenyCoefficients<Self>
const COEFFICIENTS: IsogenyCoefficients<Self>
The isogeny coefficients
Required Associated Types§
Sourcetype Degree: ArrayLength<Self>
type Degree: ArrayLength<Self>
The maximum number of coefficients
Provided Methods§
Sourcefn compute_iso(xxs: &[Self], k: &[Self]) -> Self
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.