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

#include <params.hpp>

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

Public Types

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

Static Public Attributes

constexpr static curve25519_types::integral_type a
 
constexpr static curve25519_types::integral_type d
 
constexpr static std::array< typename field_type::value_type, 2 > one_fill
 
constexpr static 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:
0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec_cppui255)
typename base_field_type::integral_type integral_type
Definition: curves/detail/curve25519/types.hpp:55

coefficient of Twisted Edwards curves $a*x^2+y^2=1+d*x^2*y^2$

◆ d

Initial value:
0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3_cppui255)

coefficient of Twisted Edwards curves $a*x^2+y^2=1+d*x^2*y^2$

◆ one_fill

constexpr std::array< typename curve25519_g1_params< forms::twisted_edwards >::field_type::value_type, 2 > nil::crypto3::algebra::curves::detail::curve25519_g1_params< forms::twisted_edwards >::one_fill
staticconstexpr
Initial value:
= {
typename field_type::value_type(
0x216936D3CD6E53FEC0A4E231FDD6DC5C692CC7609525A7B2C9562D608F25D51A_cppui254),
typename field_type::value_type(
0x6666666666666666666666666666666666666666666666666666666666666658_cppui255)}

◆ zero_fill

constexpr std::array< typename curve25519_g1_params< forms::twisted_edwards >::field_type::value_type, 2 > nil::crypto3::algebra::curves::detail::curve25519_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: