Expand description
This crate provides the implementation of BlackBox functions of ACIR and Brillig. For functions that are backend-dependent, it provides a Trait BlackBoxFunctionSolver that must be implemented by the backend. For functions that have a reference implementation, such as keccakf1600, this crate exports the reference implementation directly.
ModulesΒ§
StructsΒ§
- Resolve BigInt opcodes by storing BigInt values (and their moduli) by their ID in a HashMap:
- Wrapper over the generic bigint solver to automatically assign bigint IDs.
EnumsΒ§
TraitsΒ§
- This component will generate outputs for Blackbox function calls where the underlying
acir::BlackBoxFunc
doesnβt have a canonical Rust implementation.