nil::crypto3::algebra::curves::detail::alt_bn128_g1< Version, Form, Coordinates > Struct Template Reference
A struct representing a group G1 of Barreto-Naehrig curve. More...
#include <g1.hpp>
Collaboration diagram for nil::crypto3::algebra::curves::detail::alt_bn128_g1< Version, Form, Coordinates >:
Public Types | |
using | curve_type = alt_bn128< Version > |
using | field_type = typename params_type::field_type |
using | params_type = alt_bn128_g1_params< Version, Form > |
using | value_type = curve_element< params_type, Form, Coordinates > |
Static Public Attributes | |
constexpr static const std::size_t | value_bits |
size of the base field in bits More... | |
Detailed Description
template<std::size_t Version, typename Form, typename Coordinates>
struct nil::crypto3::algebra::curves::detail::alt_bn128_g1< Version, Form, Coordinates >
A struct representing a group G1 of Barreto-Naehrig curve.
- Template Parameters
-
Version version of the curve
Member Typedef Documentation
◆ curve_type
template<std::size_t Version, typename Form , typename Coordinates >
using nil::crypto3::algebra::curves::detail::alt_bn128_g1< Version, Form, Coordinates >::curve_type = alt_bn128<Version> |
◆ field_type
template<std::size_t Version, typename Form , typename Coordinates >
using nil::crypto3::algebra::curves::detail::alt_bn128_g1< Version, Form, Coordinates >::field_type = typename params_type::field_type |
◆ params_type
template<std::size_t Version, typename Form , typename Coordinates >
using nil::crypto3::algebra::curves::detail::alt_bn128_g1< Version, Form, Coordinates >::params_type = alt_bn128_g1_params<Version, Form> |
◆ value_type
template<std::size_t Version, typename Form , typename Coordinates >
using nil::crypto3::algebra::curves::detail::alt_bn128_g1< Version, Form, Coordinates >::value_type = curve_element<params_type, Form, Coordinates> |
Member Data Documentation
◆ value_bits
template<std::size_t Version, typename Form , typename Coordinates >
|
staticconstexpr |
Initial value:
=
field_type::value_bits + 1
size of the base field in bits
The documentation for this struct was generated from the following file: