Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
flavor_settings.hpp
Go to the documentation of this file.
1
// This file exists so that we can have access to these definitions without including the whole flavor.
2
#pragma once
3
4
#include "
barretenberg/commitment_schemes/kzg/kzg.hpp
"
5
#include "
barretenberg/ecc/curves/bn254/g1.hpp
"
6
#include "
barretenberg/flavor/relation_definitions.hpp
"
7
#include "
barretenberg/polynomials/barycentric.hpp
"
8
#include "
barretenberg/polynomials/univariate.hpp
"
9
10
namespace
bb::avm2
{
11
12
class
AvmFlavorSettings
{
13
public
:
14
using
Curve
=
curve::BN254
;
15
using
EmbeddedCurve
=
curve::Grumpkin
;
16
using
G1
=
Curve::Group
;
17
using
PCS
=
KZG<Curve>
;
18
19
using
FF
= G1::Fr;
20
using
Polynomial
=
bb::Polynomial<FF>
;
21
using
PolynomialHandle
=
std::span<FF>
;
22
using
GroupElement
= G1::element;
23
using
Commitment
= G1::affine_element;
24
using
CommitmentHandle
= G1::affine_element;
25
using
CommitmentKey
=
bb::CommitmentKey<Curve>
;
26
using
VerifierCommitmentKey
=
bb::VerifierCommitmentKey<Curve>
;
27
};
28
29
}
// namespace bb::avm2
barycentric.hpp
bb::CommitmentKey
CommitmentKey object over a pairing group 𝔾₁.
Definition
commitment_key.hpp:40
bb::KZG
Definition
kzg.hpp:20
bb::Polynomial< FF >
bb::VerifierCommitmentKey< Curve >
bb::avm2::AvmFlavorSettings
Definition
flavor_settings.hpp:12
bb::avm2::AvmFlavorSettings::GroupElement
G1::element GroupElement
Definition
flavor_settings.hpp:22
bb::avm2::AvmFlavorSettings::CommitmentHandle
G1::affine_element CommitmentHandle
Definition
flavor_settings.hpp:24
bb::avm2::AvmFlavorSettings::FF
G1::Fr FF
Definition
flavor_settings.hpp:19
bb::avm2::AvmFlavorSettings::Commitment
G1::affine_element Commitment
Definition
flavor_settings.hpp:23
bb::avm2::AvmFlavorSettings::G1
Curve::Group G1
Definition
flavor_settings.hpp:16
bb::avm2::AvmFlavorSettings::PolynomialHandle
std::span< FF > PolynomialHandle
Definition
flavor_settings.hpp:21
bb::curve::BN254
Definition
bn254.hpp:16
bb::curve::BN254::Group
typename bb::g1 Group
Definition
bn254.hpp:20
bb::curve::Grumpkin
Definition
grumpkin.hpp:50
g1.hpp
kzg.hpp
bb::avm2
Definition
flavor.hpp:472
std::get
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition
tuple.hpp:13
relation_definitions.hpp
univariate.hpp
src
barretenberg
vm2
constraining
flavor_settings.hpp
Generated by
1.9.8