openvm_ecc_sw_setup

Macro sw_declare

Source
sw_declare!() { /* proc-macro */ }
Expand description

This macro generates the code to setup the elliptic curve for a given modular type. Also it places the curve parameters into a special static variable to be later extracted from the ELF and used by the VM. Usage:

sw_declare! {
    [TODO]
}

For this macro to work, you must import the elliptic_curve crate and the openvm_ecc_guest crate..