Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
keccak_constraint.hpp
Go to the documentation of this file.
1// === AUDIT STATUS ===
2// internal: { status: not started, auditors: [], date: YYYY-MM-DD }
3// external_1: { status: not started, auditors: [], date: YYYY-MM-DD }
4// external_2: { status: not started, auditors: [], date: YYYY-MM-DD }
5// =====================
6
7#pragma once
10#include <array>
11#include <cstdint>
12#include <vector>
13
14namespace acir_format {
15
18 std::array<uint32_t, 25> result;
19
20 // For serialization, update with any new fields
22 friend bool operator==(Keccakf1600 const& lhs, Keccakf1600 const& rhs) = default;
23};
24
25template <typename Builder>
27
28} // namespace acir_format
AluTraceBuilder builder
Definition alu.test.cpp:124
void create_keccak_permutations_constraints(Builder &builder, const Keccakf1600 &constraint)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
std::array< uint32_t, 25 > result
std::array< WitnessOrConstant< bb::fr >, 25 > state
friend bool operator==(Keccakf1600 const &lhs, Keccakf1600 const &rhs)=default
MSGPACK_FIELDS(state, result)