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

#include <grumpkin.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 bb::fr b { 0x2646d52420000b3eUL, 0xf78d5ec872bf8119UL, 0x166fb9c3ec1f6749UL, 0x7a9ef7fabe69506UL }
 
static constexpr bb::fr a { 0UL, 0UL, 0UL, 0UL }
 
static constexpr bb::fr one_x = bb::fr::one()
 
static constexpr bb::fr one_y
 

Detailed Description

Definition at line 20 of file grumpkin.hpp.

Member Data Documentation

◆ a

constexpr bb::fr bb::grumpkin::G1Params::a { 0UL, 0UL, 0UL, 0UL }
staticconstexpr

Definition at line 31 of file grumpkin.hpp.

◆ b

constexpr bb::fr bb::grumpkin::G1Params::b { 0x2646d52420000b3eUL, 0xf78d5ec872bf8119UL, 0x166fb9c3ec1f6749UL, 0x7a9ef7fabe69506UL }
staticconstexpr

Definition at line 29 of file grumpkin.hpp.

◆ can_hash_to_curve

constexpr bool bb::grumpkin::G1Params::can_hash_to_curve = true
staticconstexpr

Definition at line 22 of file grumpkin.hpp.

◆ has_a

constexpr bool bb::grumpkin::G1Params::has_a = false
staticconstexpr

Definition at line 24 of file grumpkin.hpp.

◆ one_x

constexpr bb::fr bb::grumpkin::G1Params::one_x = bb::fr::one()
staticconstexpr

Definition at line 34 of file grumpkin.hpp.

◆ one_y

constexpr bb::fr bb::grumpkin::G1Params::one_y
staticconstexpr
Initial value:
{
0xc3e285a561883af3UL, 0x6fc5c2360a850101UL, 0xf35e144228647aa9UL, 0x2151a2fe48c68af6UL
}

Definition at line 40 of file grumpkin.hpp.

◆ small_elements

constexpr bool bb::grumpkin::G1Params::small_elements = true
staticconstexpr

Definition at line 23 of file grumpkin.hpp.

◆ USE_ENDOMORPHISM

constexpr bool bb::grumpkin::G1Params::USE_ENDOMORPHISM = true
staticconstexpr

Definition at line 21 of file grumpkin.hpp.


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