nil::crypto3::algebra::curves::detail::jubjub_g1_params< forms::montgomery > Struct Reference

#include <params.hpp>

+ Inheritance diagram for nil::crypto3::algebra::curves::detail::jubjub_g1_params< forms::montgomery >:
+ Collaboration diagram for nil::crypto3::algebra::curves::detail::jubjub_g1_params< forms::montgomery >:

Public Types

using base_field_type = typename jubjub_types::base_field_type
 
using field_type = typename jubjub_params< forms::twisted_edwards >::base_field_type
 
template<typename Coordinates >
using group_type = jubjub_types::g1_type< forms::montgomery, Coordinates >
 
using scalar_field_type = typename jubjub_types::scalar_field_type
 

Static Public Attributes

constexpr static const jubjub_types::integral_type A
 Montgomery elliptic curve. More...
 
constexpr static const jubjub_types::integral_type B
 Montgomery elliptic curve. More...
 
static constexpr std::size_t cofactor = 8
 
constexpr static const std::array< typename field_type::value_type, 2 > one_fill
 

Member Typedef Documentation

◆ base_field_type

◆ field_type

◆ group_type

◆ scalar_field_type

Member Data Documentation

◆ A

Initial value:
=
0xA002_cppui16

Montgomery elliptic curve.

described by equation b*y^2 = x^3 + a*x^2 + x

◆ B

Initial value:
=
0x01

Montgomery elliptic curve.

described by equation b*y^2 = x^3 + a*x^2 + x

◆ cofactor

constexpr std::size_t nil::crypto3::algebra::curves::detail::jubjub_params< forms::montgomery >::cofactor = 8
staticconstexprinherited

◆ one_fill

constexpr std::array< typename jubjub_g1_params< forms::montgomery >::base_field_type::value_type, 2 > const nil::crypto3::algebra::curves::detail::jubjub_g1_params< forms::montgomery >::one_fill
staticconstexpr
Initial value:
= {
typename field_type::value_type(
0x52a47af6ec47deb77d663b6a45b148d1ccdaa4e2299ecfbd5504c409b3ea62c0_cppui255),
typename field_type::value_type(
0x399b020832f6a499ba9d5334ca932dc9faaeea860e9a49a8f8854f55f3b676d4_cppui254)}

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