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

#include <short_weierstrass_params.hpp>

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

Public Types

using base_field_type = typename mnt6_types< 298 >::base_field_type
 
using field_type = typename mnt6_types< 298 >::g1_field_type
 
template<typename Coordinates >
using group_type = mnt6_types< 298 >::g1_type< forms::short_weierstrass, Coordinates >
 
using scalar_field_type = typename mnt6_types< 298 >::scalar_field_type
 

Static Public Attributes

constexpr static const mnt6_types< 298 >::integral_type a
 coefficient of short Weierstrass curve $y^2=x^3+a*x+b$ More...
 
constexpr static const mnt6_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, 3 > one_fill
 
constexpr static const std::array< typename field_type::value_type, 3 > zero_fill
 

Member Typedef Documentation

◆ base_field_type

◆ field_type

◆ group_type

template<typename Coordinates >
using nil::crypto3::algebra::curves::detail::mnt6_g1_params< 298, forms::short_weierstrass >::group_type = mnt6_types<298>::g1_type<forms::short_weierstrass, Coordinates>

◆ scalar_field_type

Member Data Documentation

◆ a

constexpr mnt6_types< 298 >::integral_type const nil::crypto3::algebra::curves::detail::mnt6_params< 298, forms::short_weierstrass >::a
staticconstexprinherited
Initial value:
=
0x0B)
typename base_field_type::integral_type integral_type
Definition: curves/detail/mnt6/types.hpp:69

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

◆ b

constexpr mnt6_types< 298 >::integral_type const nil::crypto3::algebra::curves::detail::mnt6_params< 298, forms::short_weierstrass >::b
staticconstexprinherited
Initial value:
=
0xD68C7B1DC5DD042E957B71C44D3D6C24E683FC09B420B1A2D263FDE47DDBA59463D0C65282_cppui296)

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

◆ one_fill

constexpr std::array< typename mnt6_g1_params< 298, forms::short_weierstrass >::field_type::value_type, 3 > const nil::crypto3::algebra::curves::detail::mnt6_g1_params< 298, forms::short_weierstrass >::one_fill
staticconstexpr
Initial value:
= {
typename field_type::value_type(
0x2A4FEEE24FD2C69D1D90471B2BA61ED56F9BAD79B57E0B4C671392584BDADEBC01ABBC0447D_cppui298),
typename field_type::value_type(
0x32986C245F6DB2F82F4E037BF7AFD69CBFCBFF07FC25D71E9C75E1B97208A333D73D91D3028_cppui298)}

◆ zero_fill

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