#![no_std]
extern crate self as openvm_ecc_guest;
#[macro_use]
extern crate alloc;
#[cfg(feature = "halo2curves")]
pub use halo2curves_axiom as halo2curves;
pub use openvm_algebra_guest as algebra;
pub use openvm_ecc_sw_setup as sw_setup;
use strum_macros::FromRepr;
mod affine_point;
pub use affine_point::*;
mod group;
pub use group::*;
mod msm;
pub use msm::*;
pub mod ecdsa;
pub mod weierstrass;
#[cfg(feature = "k256")]
pub mod k256;
pub const OPCODE: u8 = 0x2b;
pub const SW_FUNCT3: u8 = 0b001;
#[derive(Debug, Copy, Clone, PartialEq, Eq, FromRepr)]
#[repr(u8)]
pub enum SwBaseFunct7 {
SwAddNe = 0,
SwDouble,
SwSetup,
HintDecompress,
}
impl SwBaseFunct7 {
pub const SHORT_WEIERSTRASS_MAX_KINDS: u8 = 8;
}