Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
blake_util.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 
namespace  bb::stdlib
 
namespace  bb::stdlib::blake_util
 

Enumerations

enum  bb::stdlib::blake_util::blake_constant { bb::stdlib::blake_util::BLAKE_STATE_SIZE = 16 }
 

Functions

template<typename Builder >
field_t< Builderbb::stdlib::blake_util::add_normalize (const field_t< Builder > &a, const field_t< Builder > &b)
 
template<typename Builder >
void bb::stdlib::blake_util::g (field_t< Builder > state[BLAKE_STATE_SIZE], size_t a, size_t b, size_t c, size_t d, field_t< Builder > x, field_t< Builder > y, const bool last_update=false)
 
template<typename Builder >
void bb::stdlib::blake_util::round_fn (field_t< Builder > state[BLAKE_STATE_SIZE], field_t< Builder > msg[BLAKE_STATE_SIZE], size_t round, const bool which_blake=false)
 

Variables

constexpr uint8_t bb::stdlib::blake_util::MSG_SCHEDULE_BLAKE3 [7][16]
 
constexpr uint8_t bb::stdlib::blake_util::MSG_SCHEDULE_BLAKE2 [10][16]