Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
aes128_constraint.hpp
Go to the documentation of this file.
1// === AUDIT STATUS ===
2// internal: { status: Planned, auditors: [], commit: }
3// external_1: { status: not started, auditors: [], commit: }
4// external_2: { status: not started, auditors: [], commit: }
5// =====================
6
7#pragma once
10#include <array>
11#include <cstdint>
12#include <vector>
13
14namespace acir_format {
15
17 uint32_t witness;
18 uint32_t num_bits;
19
20 friend bool operator==(AES128Input const& lhs, AES128Input const& rhs) = default;
21};
22
31
32template <typename Builder> void create_aes128_constraints(Builder& builder, const AES128Constraint& constraint);
33
34} // namespace acir_format
AluTraceBuilder builder
Definition alu.test.cpp:124
void create_aes128_constraints(Builder &builder, const AES128Constraint &constraint)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
std::array< WitnessOrConstant< bb::fr >, 16 > iv
std::vector< uint32_t > outputs
friend bool operator==(AES128Constraint const &lhs, AES128Constraint const &rhs)=default
std::vector< WitnessOrConstant< bb::fr > > inputs
std::array< WitnessOrConstant< bb::fr >, 16 > key
friend bool operator==(AES128Input const &lhs, AES128Input const &rhs)=default