nil::crypto3::pubkey::detail::bls_basic_policy< CurveType > Struct Template Reference

#include <bls_basic_policy.hpp>

+ Collaboration diagram for nil::crypto3::pubkey::detail::bls_basic_policy< CurveType >:

Public Types

typedef CurveType curve_type
 
typedef curve_type::gt_type::value_type gt_value_type
 
typedef scalar_field_type::value_type private_key_type
 
typedef curve_type::scalar_field_type scalar_field_type
 
typedef scalar_field_type::modular_type scalar_modular_type
 

Static Public Attributes

constexpr static std::size_t private_key_bits = scalar_field_type::modulus_bits
 
constexpr static scalar_modular_type r = curve_type::q
 

Member Typedef Documentation

◆ curve_type

template<typename CurveType >
typedef CurveType nil::crypto3::pubkey::detail::bls_basic_policy< CurveType >::curve_type

◆ gt_value_type

template<typename CurveType >
typedef curve_type::gt_type::value_type nil::crypto3::pubkey::detail::bls_basic_policy< CurveType >::gt_value_type

◆ private_key_type

template<typename CurveType >
typedef scalar_field_type::value_type nil::crypto3::pubkey::detail::bls_basic_policy< CurveType >::private_key_type

◆ scalar_field_type

template<typename CurveType >
typedef curve_type::scalar_field_type nil::crypto3::pubkey::detail::bls_basic_policy< CurveType >::scalar_field_type

◆ scalar_modular_type

template<typename CurveType >
typedef scalar_field_type::modular_type nil::crypto3::pubkey::detail::bls_basic_policy< CurveType >::scalar_modular_type

Member Data Documentation

◆ private_key_bits

template<typename CurveType >
constexpr static std::size_t nil::crypto3::pubkey::detail::bls_basic_policy< CurveType >::private_key_bits = scalar_field_type::modulus_bits
staticconstexpr

◆ r

template<typename CurveType >
constexpr static scalar_modular_type nil::crypto3::pubkey::detail::bls_basic_policy< CurveType >::r = curve_type::q
staticconstexpr

The documentation for this struct was generated from the following file: