nil::crypto3::algebra::curves::alt_bn128< Version > Struct Template Reference
A struct representing a Barreto-Naehrig curve. More...
#include <alt_bn128.hpp>
Collaboration diagram for nil::crypto3::algebra::curves::alt_bn128< Version >:
Public Types | |
typedef policy_type::base_field_type | base_field_type |
template<typename Coordinates = coordinates::jacobian_with_a4_0, typename Form = forms::short_weierstrass> | |
using | g1_type = typename detail::alt_bn128_g1< Version, Form, Coordinates > |
template<typename Coordinates = coordinates::jacobian_with_a4_0, typename Form = forms::short_weierstrass> | |
using | g2_type = typename detail::alt_bn128_g2< Version, Form, Coordinates > |
typedef policy_type::gt_field_type | gt_type |
typedef policy_type::scalar_field_type | scalar_field_type |
Detailed Description
template<std::size_t Version>
struct nil::crypto3::algebra::curves::alt_bn128< Version >
A struct representing a Barreto-Naehrig curve.
- Template Parameters
-
Version version of the curve
An alternative to bn128
, somewhat slower but avoids dynamic code generation.
Member Typedef Documentation
◆ base_field_type
template<std::size_t Version>
typedef policy_type::base_field_type nil::crypto3::algebra::curves::alt_bn128< Version >::base_field_type |
◆ g1_type
template<std::size_t Version>
template<typename Coordinates = coordinates::jacobian_with_a4_0, typename Form = forms::short_weierstrass>
using nil::crypto3::algebra::curves::alt_bn128< Version >::g1_type = typename detail::alt_bn128_g1<Version, Form, Coordinates> |
◆ g2_type
template<std::size_t Version>
template<typename Coordinates = coordinates::jacobian_with_a4_0, typename Form = forms::short_weierstrass>
using nil::crypto3::algebra::curves::alt_bn128< Version >::g2_type = typename detail::alt_bn128_g2<Version, Form, Coordinates> |
◆ gt_type
template<std::size_t Version>
typedef policy_type::gt_field_type nil::crypto3::algebra::curves::alt_bn128< Version >::gt_type |
◆ scalar_field_type
template<std::size_t Version>
typedef policy_type::scalar_field_type nil::crypto3::algebra::curves::alt_bn128< Version >::scalar_field_type |
The documentation for this struct was generated from the following file: