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

#include <g2.hpp>

Static Public Attributes

static constexpr bool USE_ENDOMORPHISM = false
 
static constexpr bool can_hash_to_curve = false
 
static constexpr bool small_elements = false
 
static constexpr bool has_a = false
 
static constexpr fq2 one_x
 
static constexpr fq2 one_y
 
static constexpr fq2 a = fq2::zero()
 
static constexpr fq2 b = fq2::twist_coeff_b()
 

Detailed Description

Definition at line 14 of file g2.hpp.

Member Data Documentation

◆ a

constexpr fq2 bb::Bn254G2Params::a = fq2::zero()
staticconstexpr

Definition at line 35 of file g2.hpp.

◆ b

constexpr fq2 bb::Bn254G2Params::b = fq2::twist_coeff_b()
staticconstexpr

Definition at line 36 of file g2.hpp.

◆ can_hash_to_curve

constexpr bool bb::Bn254G2Params::can_hash_to_curve = false
staticconstexpr

Definition at line 16 of file g2.hpp.

◆ has_a

constexpr bool bb::Bn254G2Params::has_a = false
staticconstexpr

Definition at line 18 of file g2.hpp.

◆ one_x

constexpr fq2 bb::Bn254G2Params::one_x
staticconstexpr
Initial value:
{
{ 0xe6df8b2cfb43050UL, 0x254c7d92a843857eUL, 0xf2006d8ad80dd622UL, 0x24a22107dfb004e3UL },
{ 0xe8e7528c0b334b65UL, 0x56e941e8b293cf69UL, 0xe1169545c074740bUL, 0x2ac61491edca4b42UL }
}

Definition at line 26 of file g2.hpp.

◆ one_y

constexpr fq2 bb::Bn254G2Params::one_y
staticconstexpr
Initial value:
{
{ 0xdc508d48384e8843UL, 0xd55415a8afd31226UL, 0x834bf204bacb6e00UL, 0x51b9758138c5c79UL },
{ 0x64067e0b46a5f641UL, 0x37726529a3a77875UL, 0x4454445bd915f391UL, 0x10d5ac894edeed3UL }
}

Definition at line 30 of file g2.hpp.

◆ small_elements

constexpr bool bb::Bn254G2Params::small_elements = false
staticconstexpr

Definition at line 17 of file g2.hpp.

◆ USE_ENDOMORPHISM

constexpr bool bb::Bn254G2Params::USE_ENDOMORPHISM = false
staticconstexpr

Definition at line 15 of file g2.hpp.


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