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

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

#include <g2.hpp>

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

Public Types

using curve_type = edwards< Version >
 
using field_type = typename params_type::g2_field_type
 
using params_type = edwards_basic_policy< Version >
 
using value_type = element_edwards_g2< Version >
 

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::edwards_g2< Version, Form, Coordinates >

A struct representing a group G2 of Edwards 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::edwards_g2< Version, Form, Coordinates >::curve_type = edwards<Version>

◆ field_type

template<std::size_t Version, typename Form , typename Coordinates >
using nil::crypto3::algebra::curves::detail::edwards_g2< Version, Form, Coordinates >::field_type = typename params_type::g2_field_type

◆ params_type

template<std::size_t Version, typename Form , typename Coordinates >
using nil::crypto3::algebra::curves::detail::edwards_g2< Version, Form, Coordinates >::params_type = edwards_basic_policy<Version>

◆ value_type

template<std::size_t Version, typename Form , typename Coordinates >
using nil::crypto3::algebra::curves::detail::edwards_g2< Version, Form, Coordinates >::value_type = element_edwards_g2<Version>

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::edwards_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 files: