nil::crypto3::algebra::curves::detail::alt_bn128_g2_params< 254, forms::short_weierstrass > Struct Reference

#include <short_weierstrass_params.hpp>

+ Inheritance diagram for nil::crypto3::algebra::curves::detail::alt_bn128_g2_params< 254, forms::short_weierstrass >:
+ Collaboration diagram for nil::crypto3::algebra::curves::detail::alt_bn128_g2_params< 254, forms::short_weierstrass >:

Public Types

using base_field_type = typename alt_bn128_types< 254 >::base_field_type
 
using field_type = typename alt_bn128_types< 254 >::g2_field_type
 
template<typename Coordinates >
using group_type = alt_bn128_types< 254 >::g2_type< forms::short_weierstrass, Coordinates >
 
using scalar_field_type = typename alt_bn128_types< 254 >::scalar_field_type
 

Static Public Attributes

constexpr static const alt_bn128_types< 254 >::integral_type a
 coefficient of short Weierstrass curve $y^2=x^3+a*x+b$ More...
 
constexpr static const field_type::value_type b = g1_b * twist.inversed()
 
constexpr static const field_type::value_type::underlying_type g1_b
 
constexpr static const std::array< typename field_type::value_type, 2 > one_fill
 
constexpr static const field_type::value_type twist
 
constexpr static const std::array< typename field_type::value_type, 2 > zero_fill
 

Member Typedef Documentation

◆ base_field_type

◆ field_type

◆ group_type

◆ scalar_field_type

Member Data Documentation

◆ a

constexpr alt_bn128_types< 254 >::integral_type const nil::crypto3::algebra::curves::detail::alt_bn128_params< 254, forms::short_weierstrass >::a
staticconstexprinherited
Initial value:
=
0x00)
typename base_field_type::integral_type integral_type
Definition: curves/detail/alt_bn128/types.hpp:69

coefficient of short Weierstrass curve $y^2=x^3+a*x+b$

◆ b

constexpr static const field_type::value_type nil::crypto3::algebra::curves::detail::alt_bn128_g2_params< 254, forms::short_weierstrass >::b = g1_b * twist.inversed()
staticconstexpr

◆ g1_b

constexpr static const field_type::value_type::underlying_type nil::crypto3::algebra::curves::detail::alt_bn128_g2_params< 254, forms::short_weierstrass >::g1_b
staticconstexpr
Initial value:
=
typename field_type::value_type::underlying_type(b)
constexpr static const field_type::value_type b
Definition: alt_bn128/254/short_weierstrass_params.hpp:83

◆ one_fill

constexpr std::array< typename alt_bn128_g2_params< 254, forms::short_weierstrass >::field_type::value_type, 2 > const nil::crypto3::algebra::curves::detail::alt_bn128_g2_params< 254, forms::short_weierstrass >::one_fill
staticconstexpr
Initial value:
= {
typename field_type::value_type(
0x1800DEEF121F1E76426A00665E5C4479674322D4F75EDADD46DEBD5CD992F6ED_cppui254,
0x198E9393920D483A7260BFB731FB5D25F1AA493335A9E71297E485B7AEF312C2_cppui254),
typename field_type::value_type(
0x12C85EA5DB8C6DEB4AAB71808DCB408FE3D1E7690C43D37B4CE6CC0166FA7DAA_cppui254,
0x90689D0585FF075EC9E99AD690C3395BC4B313370B38EF355ACDADCD122975B_cppui254)}

◆ twist

constexpr static const field_type::value_type nil::crypto3::algebra::curves::detail::alt_bn128_g2_params< 254, forms::short_weierstrass >::twist
staticconstexpr
Initial value:
=
typename field_type::value_type(0x09, 0x01)

◆ zero_fill

constexpr std::array< typename alt_bn128_g2_params< 254, forms::short_weierstrass >::field_type::value_type, 2 > const nil::crypto3::algebra::curves::detail::alt_bn128_g2_params< 254, forms::short_weierstrass >::zero_fill
staticconstexpr
Initial value:
= {
field_type::value_type::zero(), field_type::value_type::one()}

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