nil::crypto3::algebra::curves::detail::bls12_g2_params< 377, forms::short_weierstrass > Struct Reference

#include <short_weierstrass_params.hpp>

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

Public Types

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

Static Public Attributes

constexpr static const bls12_types< 377 >::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

template<typename Coordinates >
using nil::crypto3::algebra::curves::detail::bls12_g2_params< 377, forms::short_weierstrass >::group_type = bls12_types<377>::g2_type<forms::short_weierstrass, Coordinates>

◆ scalar_field_type

Member Data Documentation

◆ a

constexpr bls12_types< 377 >::integral_type const nil::crypto3::algebra::curves::detail::bls12_params< 377, forms::short_weierstrass >::a
staticconstexprinherited
Initial value:
=
0x00)
typename base_field_type::integral_type integral_type
Definition: curves/detail/bls12/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::bls12_g2_params< 377, 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::bls12_g2_params< 377, 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: bls12/377/short_weierstrass_params.hpp:87

◆ one_fill

constexpr std::array< typename bls12_g2_params< 377, forms::short_weierstrass >::field_type::value_type, 2 > const nil::crypto3::algebra::curves::detail::bls12_g2_params< 377, forms::short_weierstrass >::one_fill
staticconstexpr
Initial value:
= {
typename field_type::value_type(
0xB997FEF930828FE1B9E6A1707B8AA508A3DBFD7FE2246499C709226A0A6FEF49F85B3A375363F4F8F6EA3FBD159F8A_cppui376,
0xD6AC33B84947D9845F81A57A136BFA326E915FABC8CD6A57FF133B42D00F62E4E1AF460228CD5184DEAE976FA62596_cppui376),
typename field_type::value_type(
0x118DD509B2E9A13744A507D515A595DBB7E3B63DF568866473790184BDF83636C94DF2B7A962CB2AF4337F07CB7E622_cppui377,
0x185067C6CA76D992F064A432BD9F9BE832B0CAC2D824D0518F77D39E76C3E146AFB825F2092218D038867D7F337A010_cppui377)}

◆ twist

constexpr static const field_type::value_type nil::crypto3::algebra::curves::detail::bls12_g2_params< 377, forms::short_weierstrass >::twist
staticconstexpr
Initial value:
=
typename field_type::value_type(field_type::value_type::underlying_type::zero(),
field_type::value_type::underlying_type::one())

◆ zero_fill

constexpr std::array< typename bls12_g2_params< 377, forms::short_weierstrass >::field_type::value_type, 2 > const nil::crypto3::algebra::curves::detail::bls12_g2_params< 377, 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: