Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
ecc_bools_relation.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
8
9
#include "
barretenberg/ecc/curves/bn254/g1.hpp
"
10
#include "
barretenberg/ecc/curves/grumpkin/grumpkin.hpp
"
11
#include "
barretenberg/relations/relation_types.hpp
"
12
13
namespace
bb
{
14
22
template
<
typename
FF_>
class
ECCVMBoolsRelationImpl
{
23
public
:
24
using
FF
= FF_;
25
26
static
constexpr
std::array<size_t, 19>
SUBRELATION_PARTIAL_LENGTHS
{
27
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
28
};
29
30
template
<
typename
ContainerOverSubrelations,
typename
AllEntities,
typename
Parameters>
31
static
void
accumulate
(ContainerOverSubrelations& accumulator,
32
const
AllEntities& in,
33
const
Parameters&
/* unused */
,
34
const
FF
& scaling_factor);
35
};
36
37
template
<
typename
FF>
using
ECCVMBoolsRelation
=
Relation<ECCVMBoolsRelationImpl<FF>
>;
38
39
}
// namespace bb
bb::ECCVMBoolsRelationImpl
ECCVMBoolsRelationImpl evaluates the correctness of ECCVM boolean checks.
Definition
ecc_bools_relation.hpp:22
bb::ECCVMBoolsRelationImpl::accumulate
static void accumulate(ContainerOverSubrelations &accumulator, const AllEntities &in, const Parameters &, const FF &scaling_factor)
ECCVMBoolsRelationImpl evaluates the correctness of ECCVM boolean checks.
Definition
ecc_bools_relation_impl.hpp:27
bb::ECCVMBoolsRelationImpl::FF
FF_ FF
Definition
ecc_bools_relation.hpp:24
bb::ECCVMBoolsRelationImpl::SUBRELATION_PARTIAL_LENGTHS
static constexpr std::array< size_t, 19 > SUBRELATION_PARTIAL_LENGTHS
Definition
ecc_bools_relation.hpp:26
bb::Relation
A wrapper for Relations to expose methods used by the Sumcheck prover or verifier to add the contribu...
Definition
relation_types.hpp:153
grumpkin.hpp
g1.hpp
bb
Entry point for Barretenberg command-line interface.
Definition
acir_format_getters.cpp:6
bb::FF
typename Flavor::FF FF
Definition
protogalaxy.bench.cpp:16
relation_types.hpp
src
barretenberg
relations
ecc_vm
ecc_bools_relation.hpp
Generated by
1.9.8