nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > > Struct Template Reference

#include <bn128.hpp>

+ Inheritance diagram for nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > >:
+ Collaboration diagram for nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > >:

Public Types

typedef field_type::extended_integral_type extended_integral_type
 
typedef bn128_scalar_field< Version > field_type
 
typedef policy_type::integral_type integral_type
 
typedef policy_type::modular_backend modular_backend
 
typedef field_type::modular_params_type modular_params_type
 
typedef policy_type::modular_type modular_type
 

Static Public Attributes

constexpr static const integral_type arithmetic_generator = 0x01
 
constexpr static const integral_type geometric_generator = 0x02
 
constexpr static const integral_type group_order
 
constexpr static const integral_type modulus = policy_type::modulus
 
constexpr static const std::size_t modulus_bits
 
constexpr static const modular_params_type modulus_params
 
constexpr static const integral_type multiplicative_generator = 0x05
 
constexpr static const integral_type nqr = 0x05
 
constexpr static const integral_type nqr_to_t
 
constexpr static const integral_type Rcubed
 
constexpr static const integral_type root_of_unity
 
constexpr static const integral_type Rsquared
 
constexpr static const std::size_t s = 0x1C
 
constexpr static const integral_type t
 
constexpr static const integral_type t_minus_1_over_2
 

Member Typedef Documentation

◆ extended_integral_type

typedef field_type::extended_integral_type nil::crypto3::algebra::fields::params< bn128_scalar_field< Version > >::extended_integral_type
inherited

◆ field_type

◆ integral_type

◆ modular_backend

◆ modular_params_type

typedef field_type::modular_params_type nil::crypto3::algebra::fields::params< bn128_scalar_field< Version > >::modular_params_type
inherited

◆ modular_type

Member Data Documentation

◆ arithmetic_generator

template<std::size_t Version>
constexpr static const integral_type nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > >::arithmetic_generator = 0x01
staticconstexpr

◆ geometric_generator

template<std::size_t Version>
constexpr static const integral_type nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > >::geometric_generator = 0x02
staticconstexpr

◆ group_order

template<std::size_t Version>
constexpr static const integral_type nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > >::group_order
staticconstexpr
Initial value:
=
0x183227397098D014DC2822DB40C0AC2E9419F4243CDCB848A1F0FAC9F8000000_cppui254

◆ modulus

template<std::size_t Version>
constexpr static const integral_type nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > >::modulus = policy_type::modulus
staticconstexpr

◆ modulus_bits

constexpr std::size_t const nil::crypto3::algebra::fields::params< bn128_scalar_field< Version > >::modulus_bits
staticconstexprinherited

◆ modulus_params

constexpr static const modular_params_type nil::crypto3::algebra::fields::params< bn128_scalar_field< Version > >::modulus_params
staticconstexprinherited

◆ multiplicative_generator

template<std::size_t Version>
constexpr static const integral_type nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > >::multiplicative_generator = 0x05
staticconstexpr

◆ nqr

template<std::size_t Version>
constexpr static const integral_type nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > >::nqr = 0x05
staticconstexpr

◆ nqr_to_t

template<std::size_t Version>
constexpr static const integral_type nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > >::nqr_to_t
staticconstexpr
Initial value:
=
0x2A3C09F0A58A7E8500E0A7EB8EF62ABC402D111E41112ED49BD61B6E725B19F0_cppui254

◆ Rcubed

template<std::size_t Version>
constexpr static const integral_type nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > >::Rcubed
staticconstexpr
Initial value:
=
0xCF8594B7FCC657C893CC664A19FCFED2A489CBE1CFBB6B85E94D8E1B4BF0040_cppui252

◆ root_of_unity

template<std::size_t Version>
constexpr static const integral_type nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > >::root_of_unity
staticconstexpr
Initial value:
=
0x2A3C09F0A58A7E8500E0A7EB8EF62ABC402D111E41112ED49BD61B6E725B19F0_cppui254

◆ Rsquared

template<std::size_t Version>
constexpr static const integral_type nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > >::Rsquared
staticconstexpr
Initial value:
=
0x216D0B17F4E44A58C49833D53BB808553FE3AB1E35C59E31BB8E645AE216DA7_cppui250

◆ s

template<std::size_t Version>
constexpr static const std::size_t nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > >::s = 0x1C
staticconstexpr

◆ t

template<std::size_t Version>
constexpr static const integral_type nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > >::t
staticconstexpr
Initial value:
=
0x30644E72E131A029B85045B68181585D2833E84879B9709143E1F593F_cppui226

◆ t_minus_1_over_2

template<std::size_t Version>
constexpr static const integral_type nil::crypto3::algebra::fields::arithmetic_params< bn128_scalar_field< Version > >::t_minus_1_over_2
staticconstexpr
Initial value:
=
0x183227397098D014DC2822DB40C0AC2E9419F4243CDCB848A1F0FAC9F_cppui225

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