pub trait IntrinsicCurve {
type Scalar: Clone;
type Point: Clone;
// Required method
fn msm(coeffs: &[Self::Scalar], bases: &[Self::Point]) -> Self::Point;
}
Expand description
A trait for elliptic curves that bridges the openvm types and external types with CurveArithmetic etc. Implement this for external curves with corresponding openvm point and scalar types.
Required Associated Types§
Required Methods§
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.