|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Circuit implementation of SHA-256 compression function using lookup tables. More...
#include "sha256.hpp"#include "barretenberg/stdlib/primitives/field/field.hpp"#include "barretenberg/stdlib/primitives/plookup/plookup.hpp"#include "barretenberg/stdlib_circuit_builders/plookup_tables/plookup_tables.hpp"#include "barretenberg/stdlib_circuit_builders/plookup_tables/sha256.hpp"Go to the source code of this file.
Namespaces | |
| namespace | bb |
| Entry point for Barretenberg command-line interface. | |
| namespace | bb::stdlib |
Circuit implementation of SHA-256 compression function using lookup tables.
This implementation uses "sparse form" representations to efficiently compute SHA-256 operations:
Two sparse bases are used:
See plookup_tables/sha256.hpp for the details of the lookup tables used herein.
Definition in file sha256.cpp.