Clearmatics Libsnark  0.1
C++ library for zkSNARK proofs
Public Types | Public Member Functions | Public Attributes | List of all members
libsnark::mnt_G2_precomputation< ppT > Class Template Reference

#include <mnt_precomputation.hpp>

Public Types

typedef libff::Fr< ppT > FieldT
 
typedef libff::Fqe< other_curve< ppT > > FqeT
 
typedef libff::Fqk< other_curve< ppT > > FqkT
 

Public Member Functions

 mnt_G2_precomputation ()
 
 mnt_G2_precomputation (protoboard< FieldT > &pb, const libff::G2< other_curve< ppT >> &Q_val, const std::string &annotation_prefix)
 

Public Attributes

std::shared_ptr< G2_variable< ppT > > Q
 
std::vector< std::shared_ptr< mnt_precompute_G2_gadget_coeffs< ppT > > > coeffs
 

Detailed Description

template<typename ppT>
class libsnark::mnt_G2_precomputation< ppT >

Not a gadget. It only holds values.

Definition at line 141 of file mnt_precomputation.hpp.

Member Typedef Documentation

◆ FieldT

template<typename ppT >
typedef libff::Fr<ppT> libsnark::mnt_G2_precomputation< ppT >::FieldT

Definition at line 144 of file mnt_precomputation.hpp.

◆ FqeT

template<typename ppT >
typedef libff::Fqe<other_curve<ppT> > libsnark::mnt_G2_precomputation< ppT >::FqeT

Definition at line 145 of file mnt_precomputation.hpp.

◆ FqkT

template<typename ppT >
typedef libff::Fqk<other_curve<ppT> > libsnark::mnt_G2_precomputation< ppT >::FqkT

Definition at line 146 of file mnt_precomputation.hpp.

Constructor & Destructor Documentation

◆ mnt_G2_precomputation() [1/2]

template<typename ppT >
libsnark::mnt_G2_precomputation< ppT >::mnt_G2_precomputation ( )

◆ mnt_G2_precomputation() [2/2]

template<typename ppT >
libsnark::mnt_G2_precomputation< ppT >::mnt_G2_precomputation ( protoboard< FieldT > &  pb,
const libff::G2< other_curve< ppT >> &  Q_val,
const std::string &  annotation_prefix 
)

Member Data Documentation

◆ coeffs

template<typename ppT >
std::vector<std::shared_ptr<mnt_precompute_G2_gadget_coeffs<ppT> > > libsnark::mnt_G2_precomputation< ppT >::coeffs

Definition at line 150 of file mnt_precomputation.hpp.

◆ Q

template<typename ppT >
std::shared_ptr<G2_variable<ppT> > libsnark::mnt_G2_precomputation< ppT >::Q

Definition at line 148 of file mnt_precomputation.hpp.


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