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

#include <short_weierstrass_params.hpp>

+ Inheritance diagram for nil::crypto3::algebra::curves::detail::mnt4_g1_params< 298, forms::short_weierstrass >:
+ Collaboration diagram for nil::crypto3::algebra::curves::detail::mnt4_g1_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 >::g1_field_type
 
template<typename Coordinates >
using group_type = mnt4_types< 298 >::g1_type< forms::short_weierstrass, Coordinates >
 
using scalar_field_type = typename mnt4_types< 298 >::scalar_field_type
 

Static Public Attributes

constexpr static const mnt4_types< 298 >::integral_type a
 coefficient of short Weierstrass curve $y^2=x^3+a*x+b$ More...
 
constexpr static const mnt4_types< 298 >::integral_type b
 coefficient of short Weierstrass curve $y^2=x^3+a*x+b$ More...
 
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_g1_params< 298, forms::short_weierstrass >::group_type = mnt4_types<298>::g1_type<forms::short_weierstrass, Coordinates>

◆ scalar_field_type

Member Data Documentation

◆ a

constexpr mnt4_types< 298 >::integral_type const nil::crypto3::algebra::curves::detail::mnt4_params< 298, forms::short_weierstrass >::a
staticconstexprinherited
Initial value:
=
0x02)
typename base_field_type::integral_type integral_type
Definition: curves/detail/mnt4/types.hpp:69

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

◆ b

constexpr mnt4_types< 298 >::integral_type const nil::crypto3::algebra::curves::detail::mnt4_params< 298, forms::short_weierstrass >::b
staticconstexprinherited
Initial value:
=
0x3545A27639415585EA4D523234FC3EDD2A2070A085C7B980F4E9CD21A515D4B0EF528EC0FD5_cppui298)

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

◆ one_fill

constexpr std::array< typename mnt4_g1_params< 298, forms::short_weierstrass >::field_type::value_type, 2 > const nil::crypto3::algebra::curves::detail::mnt4_g1_params< 298, forms::short_weierstrass >::one_fill
staticconstexpr
Initial value:
= {
typename field_type::value_type(
0x7A2CAF82A1BA85213FE6CA3875AEE86ABA8F73D69060C4079492B948DEA216B5B9C8D2AF46_cppui295),
typename field_type::value_type(
0x2DB619461CC82672F7F159FEC2E89D0148DCC9862D36778C1AFD96A71E29CBA48E710A48AB2_cppui298)}

◆ zero_fill

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