We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b70b5 commit b6aaa08Copy full SHA for b6aaa08
extensions/ecc/guest/src/ed25519.rs
@@ -79,3 +79,13 @@ impl CyclicGroup for Ed25519Point {
79
)),
80
};
81
}
82
+
83
+impl IntrinsicCurve for Ed25519Point {
84
+ type Scalar = Ed25519Scalar;
85
+ type Point = Ed25519Point;
86
87
+ fn msm(coeffs: &[Self::Scalar], bases: &[Self::Point]) -> Self::Point {
88
+ // TODO: idk if this can be optimized
89
+ openvm_ecc_guest::msm(coeffs, bases)
90
+ }
91
+}
0 commit comments