Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
acir_format::Sha256Compression Struct Reference

#include <sha256_constraint.hpp>

Public Member Functions

 MSGPACK_FIELDS (inputs, hash_values, result)
 

Public Attributes

std::array< WitnessOrConstant< bb::fr >, 16 > inputs
 
std::array< WitnessOrConstant< bb::fr >, 8 > hash_values
 
std::array< uint32_t, 8 > result
 

Friends

bool operator== (Sha256Compression const &lhs, Sha256Compression const &rhs)=default
 

Detailed Description

Definition at line 25 of file sha256_constraint.hpp.

Member Function Documentation

◆ MSGPACK_FIELDS()

acir_format::Sha256Compression::MSGPACK_FIELDS ( inputs  ,
hash_values  ,
result   
)

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( Sha256Compression const &  lhs,
Sha256Compression const &  rhs 
)
friend

Member Data Documentation

◆ hash_values

std::array<WitnessOrConstant<bb::fr>, 8> acir_format::Sha256Compression::hash_values

Definition at line 27 of file sha256_constraint.hpp.

◆ inputs

std::array<WitnessOrConstant<bb::fr>, 16> acir_format::Sha256Compression::inputs

Definition at line 26 of file sha256_constraint.hpp.

◆ result

std::array<uint32_t, 8> acir_format::Sha256Compression::result

Definition at line 28 of file sha256_constraint.hpp.


The documentation for this struct was generated from the following file: