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

#include <g1.hpp>

Static Public Attributes

static constexpr bool USE_ENDOMORPHISM = true
 
static constexpr bool can_hash_to_curve = true
 
static constexpr bool small_elements = true
 
static constexpr bool has_a = false
 
static constexpr fq one_x = fq::one()
 
static constexpr fq one_y { 0x9d0709d62af99842UL, 0xf7214c0419c29186UL, 0xa603f5090339546dUL, 0x1b906c52ac7a88eaUL }
 
static constexpr fq a { 0UL, 0UL, 0UL, 0UL }
 
static constexpr fq b { 0xeb8a8ec140766463UL, 0xf2b1f20626a3da49UL, 0xf905ef8d84d5fea4UL, 0x2958a27c02b7cd5fUL }
 

Detailed Description

Definition at line 14 of file g1.hpp.

Member Data Documentation

◆ a

constexpr fq bb::Bn254G1Params::a { 0UL, 0UL, 0UL, 0UL }
staticconstexpr

Definition at line 25 of file g1.hpp.

◆ b

constexpr fq bb::Bn254G1Params::b { 0xeb8a8ec140766463UL, 0xf2b1f20626a3da49UL, 0xf905ef8d84d5fea4UL, 0x2958a27c02b7cd5fUL }
staticconstexpr

Definition at line 29 of file g1.hpp.

◆ can_hash_to_curve

constexpr bool bb::Bn254G1Params::can_hash_to_curve = true
staticconstexpr

Definition at line 16 of file g1.hpp.

◆ has_a

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

Definition at line 18 of file g1.hpp.

◆ one_x

constexpr fq bb::Bn254G1Params::one_x = fq::one()
staticconstexpr

Definition at line 19 of file g1.hpp.

◆ one_y

constexpr fq bb::Bn254G1Params::one_y { 0x9d0709d62af99842UL, 0xf7214c0419c29186UL, 0xa603f5090339546dUL, 0x1b906c52ac7a88eaUL }
staticconstexpr

Definition at line 23 of file g1.hpp.

◆ small_elements

constexpr bool bb::Bn254G1Params::small_elements = true
staticconstexpr

Definition at line 17 of file g1.hpp.

◆ USE_ENDOMORPHISM

constexpr bool bb::Bn254G1Params::USE_ENDOMORPHISM = true
staticconstexpr

Definition at line 15 of file g1.hpp.


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