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

#include <short_weierstrass_params.hpp>

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

Public Types

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

Static Public Attributes

constexpr static const secp_r1_types< 384 >::integral_type a
 
constexpr static const secp_r1_types< 384 >::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< 384 >::integral_type const nil::crypto3::algebra::curves::detail::secp_r1_params< 384, forms::short_weierstrass >::a
staticconstexprinherited
Initial value:
=
0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffc_cppui384)
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< 384 >::integral_type const nil::crypto3::algebra::curves::detail::secp_r1_params< 384, forms::short_weierstrass >::b
staticconstexprinherited
Initial value:
=
0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef_cppui384)

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

◆ one_fill

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

◆ zero_fill

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