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

#include <params.hpp>

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

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::montgomery, Coordinates >
 
using scalar_field_type = typename curve25519_types::scalar_field_type
 

Static Public Attributes

constexpr static curve25519_types::integral_type a
 coefficient of Montgomery curve $b*y^2=x^3+a*x^2+x$ More...
 
constexpr static curve25519_types::integral_type b
 coefficient of Montgomery curve $b*y^2=x^3+a*x^2+x$ More...
 
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:
=
0x76d06)
typename base_field_type::integral_type integral_type
Definition: curves/detail/curve25519/types.hpp:55

coefficient of Montgomery curve $b*y^2=x^3+a*x^2+x$

◆ b

Initial value:

coefficient of Montgomery curve $b*y^2=x^3+a*x^2+x$

◆ one_fill

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

◆ zero_fill

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