nil::crypto3::algebra::curves::detail::edwards_g2_params< 183, forms::edwards > Struct Reference

#include <edwards_params.hpp>

+ Inheritance diagram for nil::crypto3::algebra::curves::detail::edwards_g2_params< 183, forms::edwards >:
+ Collaboration diagram for nil::crypto3::algebra::curves::detail::edwards_g2_params< 183, forms::edwards >:

Public Types

using base_field_type = typename edwards_types< 183 >::base_field_type
 
using field_type = typename edwards_types< 183 >::g2_field_type
 
template<typename Coordinates >
using group_type = edwards_types< 183 >::g2_type< forms::edwards, Coordinates >
 
using scalar_field_type = typename edwards_types< 183 >::scalar_field_type
 

Static Public Attributes

constexpr static const field_type::value_type c = g1_c * twist
 
constexpr static const field_type::value_type d = g1_d * twist
 
constexpr static const std::array< typename field_type::value_type, 2 > one_fill
 
constexpr static const field_type::value_type twist
 
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::edwards_g2_params< 183, forms::edwards >::group_type = edwards_types<183>::g2_type<forms::edwards, Coordinates>

◆ scalar_field_type

Member Data Documentation

◆ c

constexpr static const field_type::value_type nil::crypto3::algebra::curves::detail::edwards_g2_params< 183, forms::edwards >::c = g1_c * twist
staticconstexpr

◆ d

constexpr static const field_type::value_type nil::crypto3::algebra::curves::detail::edwards_g2_params< 183, forms::edwards >::d = g1_d * twist
staticconstexpr

◆ one_fill

constexpr std::array< typename edwards_g2_params< 183, forms::edwards >::field_type::value_type, 2 > const nil::crypto3::algebra::curves::detail::edwards_g2_params< 183, forms::edwards >::one_fill
staticconstexpr
Initial value:
= {
inverted_one_fill[2] * inverted_one_fill[0].inversed(),
inverted_one_fill[2] * inverted_one_fill[1].inversed()}

◆ twist

constexpr static const field_type::value_type nil::crypto3::algebra::curves::detail::edwards_g2_params< 183, forms::edwards >::twist
staticconstexpr
Initial value:
=
typename field_type::value_type(0x00, 0x01, 0x00)

◆ zero_fill

constexpr std::array< typename edwards_g2_params< 183, forms::edwards >::field_type::value_type, 2 > const nil::crypto3::algebra::curves::detail::edwards_g2_params< 183, forms::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: