nil::crypto3::algebra::curves::detail::mnt4_g2_params< 298, forms::short_weierstrass > Struct Reference

#include <short_weierstrass_params.hpp>

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

Public Types

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

Static Public Attributes

constexpr static const field_type::value_type a
 
constexpr static const field_type::value_type b
 
constexpr static const std::array< typename field_type::value_type, 2 > one_fill
 
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::mnt4_g2_params< 298, forms::short_weierstrass >::group_type = mnt4_types<298>::g2_type<forms::short_weierstrass, Coordinates>

◆ scalar_field_type

Member Data Documentation

◆ a

constexpr mnt4_g2_params< 298, forms::short_weierstrass >::field_type::value_type const nil::crypto3::algebra::curves::detail::mnt4_g2_params< 298, forms::short_weierstrass >::a
staticconstexpr
Initial value:
=
typename field_type::value_type(g1_a * field_type::value_type::non_residue,
g1_field_type::value_type::zero())

◆ b

constexpr mnt4_g2_params< 298, forms::short_weierstrass >::field_type::value_type const nil::crypto3::algebra::curves::detail::mnt4_g2_params< 298, forms::short_weierstrass >::b
staticconstexpr
Initial value:
=
typename field_type::value_type(g1_field_type::value_type::zero(),
g1_b *field_type::value_type::non_residue)

◆ one_fill

constexpr std::array< typename mnt4_g2_params< 298, forms::short_weierstrass >::field_type::value_type, 2 > const nil::crypto3::algebra::curves::detail::mnt4_g2_params< 298, forms::short_weierstrass >::one_fill
staticconstexpr
Initial value:
= {
typename field_type::value_type(
0x371780491C5660571FF542F2EF89001F205151E12A72CB14F01A931E72DBA7903DF6C09A9A4_cppui298,
0x4BA59A3F72DA165DEF838081AF697C851F002F576303302BB6C02C712C968BE32C0AE0A989_cppui295),
typename field_type::value_type(
0x4B471F33FFAAD868A1C47D6605D31E5C4B3B2E0B60EC98F0F610A5AAFD0D9522BCA4E79F22_cppui295,
0x355D05A1C69A5031F3F81A5C100CB7D982F78EC9CFC3B5168ED8D75C7C484FB61A3CBF0E0F1_cppui298)}

◆ zero_fill

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