Expand description
Support crate for integrating the extractor.
Re-exports§
pub use haloumi_ir as ir;
Modules§
- cells
- Types and traits related to loading and storing data from cells.
- circuit
- Traits for working at the circuit level.
- error
- Error type for the support crate.
- macros
- Macros for supporting extraction.
Macros§
- auto_
conf_ impl - Creates an implementation of
AutoConfigure. - cell_
to_ expr - Creates an [
Expression] that queries the given cell relative to the beginning of the cell’s region. - circuit_
initialization_ from_ scratch - Implements
crate::circuit::CircuitInitializationfor the given type based on its FromScratch implementation. - expect_
elements - Macro for creating
Error::UnexpectedElementserrors.
Traits§
- Halo2
Types - This trait defines the halo2 types required by this crate. An implementation of halo2 compatible with this crate must have some type that implements this trait s.t. it can be passed to traits and types in this crate.
Functions§
- big_
to_ fe - Converts a big unsigned integer into a prime field element.
- fe_
to_ big - Converts a prime field element into a big unsigned integer.
- parse_
field - Parses a value of F from the given string.
- sbig_
to_ fe - Converts a big signed integer into a prime field element. If the value is negative it wraps around the field’s modulus.