nil::crypto3::algebra::curves::detail::secp_r1_g1_params< 521, forms::short_weierstrass > Struct Reference

#include <short_weierstrass_params.hpp>

+ Inheritance diagram for nil::crypto3::algebra::curves::detail::secp_r1_g1_params< 521, forms::short_weierstrass >:
+ Collaboration diagram for nil::crypto3::algebra::curves::detail::secp_r1_g1_params< 521, forms::short_weierstrass >:

Public Types

using base_field_type = typename secp_r1_types< 521 >::base_field_type
 
using field_type = typename secp_r1_types< 521 >::g1_field_type
 
template<typename Coordinates >
using group_type = secp_r1_types< 521 >::g1_type< forms::short_weierstrass, Coordinates >
 
using scalar_field_type = typename secp_r1_types< 521 >::scalar_field_type
 

Static Public Attributes

constexpr static const secp_r1_types< 521 >::integral_type a
 
constexpr static const secp_r1_types< 521 >::integral_type b
 
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

constexpr secp_r1_types< 521 >::integral_type const nil::crypto3::algebra::curves::detail::secp_r1_params< 521, forms::short_weierstrass >::a
staticconstexprinherited
Initial value:
=
0x01fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc_cppui521)
typename base_field_type::integral_type integral_type
Definition: curves/detail/secp_r1/types.hpp:59

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

◆ b

constexpr secp_r1_types< 521 >::integral_type const nil::crypto3::algebra::curves::detail::secp_r1_params< 521, forms::short_weierstrass >::b
staticconstexprinherited
Initial value:
=
0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00_cppui521)

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

◆ one_fill

constexpr std::array< typename secp_r1_g1_params< 521, forms::short_weierstrass >::field_type::value_type, 2 > const nil::crypto3::algebra::curves::detail::secp_r1_g1_params< 521, forms::short_weierstrass >::one_fill
staticconstexpr
Initial value:
= {
typename field_type::value_type(
0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66_cppui521),
typename field_type::value_type(
0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650_cppui521)}

◆ zero_fill

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