Public Member Functions |
Static Public Member Functions |
Public Attributes |
Protected Attributes |
List of all members
nil::crypto3::zk::components::element_g2< CurveType > Class Template Reference
#include <element_g2.hpp>
Inheritance diagram for nil::crypto3::zk::components::element_g2< CurveType >:
Collaboration diagram for nil::crypto3::zk::components::element_g2< CurveType >:
Public Member Functions | |
element_g2 (blueprint< field_type > &bp) | |
element_g2 (blueprint< field_type > &bp, const typename CurveType::pairing::pair_curve_type::template g2_type<>::value_type &Q) | |
void | generate_r1cs_witness (const typename CurveType::pairing::pair_curve_type::template g2_type<>::value_type &Q) |
Static Public Member Functions | |
static std::size_t | __attribute__ ((noinline)) size_in_bits() |
static std::size_t | num_variables () |
Public Attributes | |
blueprint_linear_combination_vector< field_type > | all_vars |
std::shared_ptr< typename component_policy::Fqe_variable_type > | X |
std::shared_ptr< typename component_policy::Fqe_variable_type > | Y |
Protected Attributes | |
blueprint< CurveType::scalar_field_type > & | bp |
Detailed Description
template<typename CurveType>
class nil::crypto3::zk::components::element_g2< CurveType >
Component that represents a G2 element.
Constructor & Destructor Documentation
◆ element_g2() [1/2]
template<typename CurveType >
|
inline |
◆ element_g2() [2/2]
template<typename CurveType >
|
inline |
Member Function Documentation
◆ __attribute__()
template<typename CurveType >
|
inlinestatic |
◆ generate_r1cs_witness()
template<typename CurveType >
|
inline |
◆ num_variables()
template<typename CurveType >
|
inlinestatic |
Member Data Documentation
◆ all_vars
template<typename CurveType >
blueprint_linear_combination_vector<field_type> nil::crypto3::zk::components::element_g2< CurveType >::all_vars |
◆ bp
|
protectedinherited |
◆ X
template<typename CurveType >
std::shared_ptr<typename component_policy::Fqe_variable_type> nil::crypto3::zk::components::element_g2< CurveType >::X |
◆ Y
template<typename CurveType >
std::shared_ptr<typename component_policy::Fqe_variable_type> nil::crypto3::zk::components::element_g2< CurveType >::Y |
The documentation for this class was generated from the following file: