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

#include <secp256k1.hpp>

Static Public Attributes

static constexpr bool USE_ENDOMORPHISM = false
 
static constexpr bool can_hash_to_curve = true
 
static constexpr bool small_elements = true
 
static constexpr bool has_a = false
 
static constexpr fq b = fq(7)
 
static constexpr fq a = fq(0)
 
static constexpr fq one_x
 
static constexpr fq one_y
 

Detailed Description

Definition at line 291 of file secp256k1.hpp.

Member Data Documentation

◆ a

constexpr fq bb::secp256k1::G1Params::a = fq(0)
staticconstexpr

Definition at line 298 of file secp256k1.hpp.

◆ b

constexpr fq bb::secp256k1::G1Params::b = fq(7)
staticconstexpr

Definition at line 297 of file secp256k1.hpp.

◆ can_hash_to_curve

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

Definition at line 293 of file secp256k1.hpp.

◆ has_a

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

Definition at line 295 of file secp256k1.hpp.

◆ one_x

constexpr fq bb::secp256k1::G1Params::one_x
staticconstexpr
Initial value:
=
fq(0x59F2815B16F81798UL, 0x029BFCDB2DCE28D9UL, 0x55A06295CE870B07UL, 0x79BE667EF9DCBBACUL).to_montgomery_form()
field< FqParams > fq

Definition at line 300 of file secp256k1.hpp.

◆ one_y

constexpr fq bb::secp256k1::G1Params::one_y
staticconstexpr
Initial value:
=
fq(0x9C47D08FFB10D4B8UL, 0xFD17B448A6855419UL, 0x5DA4FBFC0E1108A8UL, 0x483ADA7726A3C465UL).to_montgomery_form()

Definition at line 302 of file secp256k1.hpp.

◆ small_elements

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

Definition at line 294 of file secp256k1.hpp.

◆ USE_ENDOMORPHISM

constexpr bool bb::secp256k1::G1Params::USE_ENDOMORPHISM = false
staticconstexpr

Definition at line 292 of file secp256k1.hpp.


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