Re-exports§
pub use halo2curves_axiom as halo2curves;
pub use openvm_algebra_guest as algebra;
pub use openvm_ecc_sw_setup as sw_setup;
Modules§
- ECDSA
- Types for Secp256k1 curve with intrinsic functions. Implements traits necessary for ECDSA.
- Weierstrass curve traits
Macros§
- 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.
- Implements
Group
on$struct_name
assuming that$struct_name
implementsWeierstrassPoint
. Assumes thatNeg
is implemented for&$struct_name
.
Structs§
Enums§
- Short Weierstrass curves are configurable. The funct7 field equals
curve_idx * SHORT_WEIERSTRASS_MAX_KINDS + base_funct7
.
Constants§
- This is custom-1 defined in RISC-V spec document
Traits§
Functions§
- Multi-scalar multiplication via Pippenger’s algorithm