nil::crypto3::algebra::curves::detail::bls12_g2_params< 381, forms::short_weierstrass > Struct Reference
#include <short_weierstrass_params.hpp>
Inheritance diagram for nil::crypto3::algebra::curves::detail::bls12_g2_params< 381, forms::short_weierstrass >:
Collaboration diagram for nil::crypto3::algebra::curves::detail::bls12_g2_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 >::g2_field_type |
template<typename Coordinates > | |
using | group_type = bls12_types< 381 >::g2_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 field_type::value_type | b = g1_b * twist |
constexpr static const field_type::value_type::underlying_type | g1_b |
constexpr static const std::array< typename field_type::value_type, 2 > | one_fill |
constexpr static const field_type::value_type | twist |
constexpr static const std::array< typename field_type::value_type, 2 > | zero_fill |
Member Typedef Documentation
◆ base_field_type
|
inherited |
◆ field_type
using nil::crypto3::algebra::curves::detail::bls12_g2_params< 381, forms::short_weierstrass >::field_type = typename bls12_types<381>::g2_field_type |
◆ group_type
template<typename Coordinates >
using nil::crypto3::algebra::curves::detail::bls12_g2_params< 381, forms::short_weierstrass >::group_type = bls12_types<381>::g2_type<forms::short_weierstrass, Coordinates> |
◆ scalar_field_type
|
inherited |
Member Data Documentation
◆ a
|
staticconstexprinherited |
Initial value:
=
typename bls12_types<381>::integral_type(
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
|
staticconstexpr |
◆ g1_b
|
staticconstexpr |
Initial value:
=
typename field_type::value_type::underlying_type(b)
constexpr static const field_type::value_type b
Definition: bls12/381/short_weierstrass_params.hpp:84
◆ one_fill
|
staticconstexpr |
Initial value:
= {
typename field_type::value_type(
0x24AA2B2F08F0A91260805272DC51051C6E47AD4FA403B02B4510B647AE3D1770BAC0326A805BBEFD48056C8C121BDB8_cppui378,
0x13E02B6052719F607DACD3A088274F65596BD0D09920B61AB5DA61BBDC7F5049334CF11213945D57E5AC7D055D042B7E_cppui381),
typename field_type::value_type(
0xCE5D527727D6E118CC9CDC6DA2E351AADFD9BAA8CBDD3A76D429A695160D12C923AC9CC3BACA289E193548608B82801_cppui380,
0x606C4A02EA734CC32ACD2B02BC28B99CB3E287E85A763AF267492AB572E99AB3F370D275CEC1DA1AAA9075FF05F79BE_cppui379)}
◆ twist
|
staticconstexpr |
Initial value:
=
typename field_type::value_type(field_type::value_type::underlying_type::one(),
field_type::value_type::underlying_type::one())
◆ 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: