Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
sha256_compression.hpp File Reference
#include <cstdint>
#include <span>
#include "barretenberg/vm2/common/field.hpp"

Go to the source code of this file.

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 
namespace  bb::avm2
 
namespace  bb::avm2::simulation
 

Functions

std::array< uint32_t, 8 > bb::avm2::simulation::sha256_block (const std::array< uint32_t, 8 > &h_init, const std::array< uint32_t, 16 > &input)
 
constexpr uint32_t bb::avm2::simulation::ror (uint32_t val, uint32_t shift)