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 keccak256, this crate exports the reference implementation directly.
Structs§
- BigInt
Solver - Resolve BigInt opcodes by storing BigInt values (and their moduli) by their ID in a HashMap:
- Stubbed
Black BoxSolver
Enums§
Traits§
- Black
BoxFunction Solver - This component will generate outputs for Blackbox function calls where the underlying
acir::BlackBoxFuncdoesn’t have a canonical Rust implementation.