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§
- aes128 🔒
- curve_
specific_ 🔒solver - ecdsa 🔒
- hash 🔒
- logic 🔒
Structs§
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.
Functions§
- aes128_
encrypt - bit_and
- bit_xor
- blake3
- blake2s
- ecdsa_
secp256k1_ verify - ecdsa_
secp256r1_ verify - keccakf1600
- Keccak permutation for a state of size 1600 bits, represented by 25 lanes of 64 bits (25*64 = 1600)
- sha256_
compression