Crate openvm_ecc_guest Copy item path Source pub use once_cell ;
pub use openvm_algebra_guest as algebra;
pub use openvm_ecc_sw_macros as sw_macros;
ecdsa Optimized ECDSA implementation with the same functional interface as the ecdsa
crate weierstrass Weierstrass curve traits impl_sw_affine Macro to generate a newtype wrapper for AffinePoint
that implements elliptic curve operations by using the underlying field operations according to
the formulas for short Weierstrass curves. impl_sw_group_ops Implements Group
on $struct_name
assuming that $struct_name
implements WeierstrassPoint
.
Assumes that Neg
is implemented for &$struct_name
. AffinePoint SwBaseFunct7 Short Weierstrass curves are configurable.
The funct7 field equals curve_idx * SHORT_WEIERSTRASS_MAX_KINDS + base_funct7
. OPCODE This is custom-1 defined in RISC-V spec document SW_FUNCT3 CyclicGroup Group msm Multi-scalar multiplication via Pippenger’s algorithm