|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <sha256.hpp>
Public Member Functions | |
| Sha256 (ExecutionIdGetterInterface &execution_id_manager, BitwiseInterface &bitwise, GreaterThanInterface >, EventEmitterInterface< Sha256CompressionEvent > &event_emitter) | |
| void | compression (MemoryInterface &memory, MemoryAddress state_addr, MemoryAddress input_addr, MemoryAddress output_addr) override |
Public Member Functions inherited from bb::avm2::simulation::Sha256Interface | |
| virtual | ~Sha256Interface ()=default |
Private Member Functions | |
| MemoryValue | shr (const MemoryValue &x, uint8_t shift) |
| MemoryValue | ror (const MemoryValue &x, uint8_t shift) |
| MemoryValue | modulo_sum (std::span< const MemoryValue > values) |
Private Attributes | |
| ExecutionIdGetterInterface & | execution_id_manager |
| BitwiseInterface & | bitwise |
| GreaterThanInterface & | gt |
| EventEmitterInterface< Sha256CompressionEvent > & | events |
Definition at line 17 of file sha256.hpp.
|
inline |
Definition at line 19 of file sha256.hpp.
|
overridevirtual |
Implements bb::avm2::simulation::Sha256Interface.
Definition at line 83 of file sha256.cpp.
|
private |
Definition at line 62 of file sha256.cpp.
|
private |
Definition at line 30 of file sha256.cpp.
|
private |
Definition at line 46 of file sha256.cpp.
|
private |
Definition at line 41 of file sha256.hpp.
|
private |
Definition at line 43 of file sha256.hpp.
|
private |
Definition at line 40 of file sha256.hpp.
|
private |
Definition at line 42 of file sha256.hpp.