nil::crypto3::zk::components::element_fp6_2over3_squared< FieldType > Class Template Reference

#include <element_fp6_2over3.hpp>

+ Inheritance diagram for nil::crypto3::zk::components::element_fp6_2over3_squared< FieldType >:
+ Collaboration diagram for nil::crypto3::zk::components::element_fp6_2over3_squared< FieldType >:

Public Member Functions

 element_fp6_2over3_squared (blueprint< base_field_type > &bp, const element_fp6_2over3< field_type > &A, const element_fp6_2over3< field_type > &result)
 
void generate_r1cs_constraints ()
 
void generate_r1cs_witness ()
 

Public Attributes

element_fp6_2over3< field_type > A
 
std::shared_ptr< element_fp6_2over3_mul< field_type > > mul
 
element_fp6_2over3< field_type > result
 

Protected Attributes

blueprint< FieldType > & bp
 

Detailed Description

template<typename FieldType>
class nil::crypto3::zk::components::element_fp6_2over3_squared< FieldType >

Component that creates constraints for Fp6 squaring.

Constructor & Destructor Documentation

◆ element_fp6_2over3_squared()

template<typename FieldType >
nil::crypto3::zk::components::element_fp6_2over3_squared< FieldType >::element_fp6_2over3_squared ( blueprint< base_field_type > &  bp,
const element_fp6_2over3< field_type > &  A,
const element_fp6_2over3< field_type > &  result 
)
inline

Member Function Documentation

◆ generate_r1cs_constraints()

template<typename FieldType >
void nil::crypto3::zk::components::element_fp6_2over3_squared< FieldType >::generate_r1cs_constraints ( )
inline

◆ generate_r1cs_witness()

template<typename FieldType >
void nil::crypto3::zk::components::element_fp6_2over3_squared< FieldType >::generate_r1cs_witness ( )
inline

Member Data Documentation

◆ A

template<typename FieldType >
element_fp6_2over3<field_type> nil::crypto3::zk::components::element_fp6_2over3_squared< FieldType >::A

◆ bp

blueprint<FieldType>& nil::crypto3::zk::components::component< FieldType >::bp
protectedinherited

◆ mul

template<typename FieldType >
std::shared_ptr<element_fp6_2over3_mul<field_type> > nil::crypto3::zk::components::element_fp6_2over3_squared< FieldType >::mul

◆ result

template<typename FieldType >
element_fp6_2over3<field_type> nil::crypto3::zk::components::element_fp6_2over3_squared< FieldType >::result

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