Crate openvm_ecc_guest

Source

Re-exports§

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 implements WeierstrassPoint. Assumes that Neg 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§

Traits§

Functions§

  • Multi-scalar multiplication via Pippenger’s algorithm