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

#include <bn128.hpp>

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

Public Types

typedef field_type::extended_integral_type extended_integral_type
 
typedef bn128_base_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 = 0x03
 
constexpr static const integral_type nqr = 0x03
 
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 = 0x01
 
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_base_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_base_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_base_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_base_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_base_field< Version > >::group_order
staticconstexpr
Initial value:
=
0x183227397098D014DC2822DB40C0AC2ECBC0B548B438E5469E10460B6C3E7EA3_cppui254

◆ modulus

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

◆ modulus_bits

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

◆ modulus_params

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

◆ multiplicative_generator

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

◆ nqr

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

◆ nqr_to_t

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

◆ Rcubed

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

◆ root_of_unity

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

◆ Rsquared

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

◆ s

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

◆ t

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

◆ t_minus_1_over_2

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

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