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

#include <params.hpp>

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

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::twisted_edwards, Coordinates >
 
using scalar_field_type = typename jubjub_types::scalar_field_type
 

Static Public Attributes

constexpr static const jubjub_types::integral_type a
 twisted Edwards elliptic curve More...
 
static constexpr std::size_t cofactor = 8
 
constexpr static const jubjub_types::integral_type d
 twisted Edwards elliptic curve 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

◆ scalar_field_type

Member Data Documentation

◆ a

Initial value:
=
0x73EDA753299D7D483339D80809A1D80553BDA402FFFE5BFEFFFFFFFF00000000_cppui255

twisted Edwards elliptic curve

described by equation ax^2 + y^2 = 1

  • dx^2y^2

◆ cofactor

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

◆ d

Initial value:
=
0x2A9318E74BFA2B48F5FD9207E6BD7FD4292D7F6D37579D2601065FD6D6343EB1_cppui254

twisted Edwards elliptic curve

described by equation ax^2 + y^2 = 1

  • dx^2y^2

◆ one_fill

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

◆ zero_fill

constexpr std::array< typename jubjub_g1_params< forms::twisted_edwards >::base_field_type::value_type, 2 > const nil::crypto3::algebra::curves::detail::jubjub_g1_params< forms::twisted_edwards >::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: