nil::crypto3::algebra::curves::detail::bls12_g2< Version, Form, Coordinates > Struct Template Reference

A struct representing a group G2 of BLS12 curve. More...

#include <g2.hpp>

+ Collaboration diagram for nil::crypto3::algebra::curves::detail::bls12_g2< Version, Form, Coordinates >:

Public Types

using curve_type = bls12< Version >
 
using field_type = typename params_type::field_type
 
using params_type = bls12_g2_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::bls12_g2< Version, Form, Coordinates >

A struct representing a group G2 of BLS12 curve.

Template Parameters
Versionversion of the curve

Member Typedef Documentation

◆ curve_type

template<std::size_t Version, typename Form , typename Coordinates >
using nil::crypto3::algebra::curves::detail::bls12_g2< Version, Form, Coordinates >::curve_type = bls12<Version>

◆ field_type

template<std::size_t Version, typename Form , typename Coordinates >
using nil::crypto3::algebra::curves::detail::bls12_g2< 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::bls12_g2< Version, Form, Coordinates >::params_type = bls12_g2_params<Version, Form>

◆ value_type

template<std::size_t Version, typename Form , typename Coordinates >
using nil::crypto3::algebra::curves::detail::bls12_g2< 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 >
constexpr static const std::size_t nil::crypto3::algebra::curves::detail::bls12_g2< Version, Form, Coordinates >::value_bits
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: