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

#include <params.hpp>

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

Public Types

using base_field_type = typename babyjubjub_types::base_field_type
 
using field_type = typename babyjubjub_params< forms::twisted_edwards >::base_field_type
 
template<typename Coordinates >
using group_type = babyjubjub_types::g1_type< forms::twisted_edwards, Coordinates >
 
using scalar_field_type = typename babyjubjub_types::scalar_field_type
 

Static Public Attributes

constexpr static const babyjubjub_types::integral_type a
 twisted Edwards elliptic curve More...
 
constexpr static const babyjubjub_types::integral_type d
 twisted Edwards elliptic curve More...
 
constexpr static const std::array< typename base_field_type::value_type, 2 > one_fill
 
constexpr static const std::array< typename base_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:
=
0x292FC_cppui18

twisted Edwards elliptic curve

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

◆ d

Initial value:
=
0x292F8_cppui18

twisted Edwards elliptic curve

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

◆ one_fill

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

◆ zero_fill

constexpr std::array< typename babyjubjub_g1_params< forms::twisted_edwards >::base_field_type::value_type, 2 > const nil::crypto3::algebra::curves::detail::babyjubjub_g1_params< forms::twisted_edwards >::zero_fill
staticconstexpr
Initial value:
= {
base_field_type::value_type::zero(), base_field_type::value_type::one()}

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