nil::crypto3::algebra::curves::detail::bls12_g1_params< 381, forms::short_weierstrass > Struct Reference

#include <short_weierstrass_params.hpp>

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

Public Types

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

Static Public Attributes

constexpr static const bls12_types< 381 >::integral_type a
 coefficient of short Weierstrass curve $y^2=x^3+a*x+b$ More...
 
constexpr static const bls12_types< 381 >::integral_type b
 coefficient of short Weierstrass curve $y^2=x^3+a*x+b$ More...
 
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

template<typename Coordinates >
using nil::crypto3::algebra::curves::detail::bls12_g1_params< 381, forms::short_weierstrass >::group_type = bls12_types<381>::g1_type<forms::short_weierstrass, Coordinates>

◆ scalar_field_type

Member Data Documentation

◆ a

constexpr bls12_types< 381 >::integral_type const nil::crypto3::algebra::curves::detail::bls12_params< 381, forms::short_weierstrass >::a
staticconstexprinherited
Initial value:
=
0x00)
typename base_field_type::integral_type integral_type
Definition: curves/detail/bls12/types.hpp:69

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

◆ b

constexpr bls12_types< 381 >::integral_type const nil::crypto3::algebra::curves::detail::bls12_params< 381, forms::short_weierstrass >::b
staticconstexprinherited
Initial value:

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

◆ one_fill

constexpr std::array< typename bls12_g1_params< 381, forms::short_weierstrass >::field_type::value_type, 2 > const nil::crypto3::algebra::curves::detail::bls12_g1_params< 381, forms::short_weierstrass >::one_fill
staticconstexpr
Initial value:
= {
typename field_type::value_type(
0x17F1D3A73197D7942695638C4FA9AC0FC3688C4F9774B905A14E3A3F171BAC586C55E83FF97A1AEFFB3AF00ADB22C6BB_cppui381),
typename field_type::value_type(
0x8B3F481E3AAA0F1A09E30ED741D8AE4FCF5E095D5D00AF600DB18CB2C04B3EDD03CC744A2888AE40CAA232946C5E7E1_cppui380)}

◆ zero_fill

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