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

A struct representing a group G1 of curve25519 curve. More...

#include <g1.hpp>

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

Public Types

using curve_type = curve25519
 
using field_type = typename params_type::field_type
 
using params_type = curve25519_g1_params< 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<typename Form, typename Coordinates>
struct nil::crypto3::algebra::curves::detail::curve25519_g1< Form, Coordinates >

A struct representing a group G1 of curve25519 curve.

Template Parameters
Versionversion of the curve

Member Typedef Documentation

◆ curve_type

template<typename Form , typename Coordinates >
using nil::crypto3::algebra::curves::detail::curve25519_g1< Form, Coordinates >::curve_type = curve25519

◆ field_type

template<typename Form , typename Coordinates >
using nil::crypto3::algebra::curves::detail::curve25519_g1< Form, Coordinates >::field_type = typename params_type::field_type

◆ params_type

template<typename Form , typename Coordinates >
using nil::crypto3::algebra::curves::detail::curve25519_g1< Form, Coordinates >::params_type = curve25519_g1_params<Form>

◆ value_type

template<typename Form , typename Coordinates >
using nil::crypto3::algebra::curves::detail::curve25519_g1< Form, Coordinates >::value_type = curve_element<params_type, Form, Coordinates>

Member Data Documentation

◆ value_bits

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