Clearmatics Libsnark  0.1
C++ library for zkSNARK proofs
Public Types | Public Member Functions | Public Attributes | List of all members
libsnark::mnt_precompute_G2_gadget_coeffs< 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_precompute_G2_gadget_coeffs ()
 
 mnt_precompute_G2_gadget_coeffs (protoboard< FieldT > &pb, const std::string &annotation_prefix)
 
 mnt_precompute_G2_gadget_coeffs (protoboard< FieldT > &pb, const G2_variable< ppT > &Q, const std::string &annotation_prefix)
 

Public Attributes

std::shared_ptr< Fqe_variable< ppT > > RX
 
std::shared_ptr< Fqe_variable< ppT > > RY
 
std::shared_ptr< Fqe_variable< ppT > > gamma
 
std::shared_ptr< Fqe_variable< ppT > > gamma_X
 

Detailed Description

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

Not a gadget. It only holds values.

Definition at line 117 of file mnt_precomputation.hpp.

Member Typedef Documentation

◆ FieldT

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

Definition at line 120 of file mnt_precomputation.hpp.

◆ FqeT

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

Definition at line 121 of file mnt_precomputation.hpp.

◆ FqkT

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

Definition at line 122 of file mnt_precomputation.hpp.

Constructor & Destructor Documentation

◆ mnt_precompute_G2_gadget_coeffs() [1/3]

◆ mnt_precompute_G2_gadget_coeffs() [2/3]

template<typename ppT >
libsnark::mnt_precompute_G2_gadget_coeffs< ppT >::mnt_precompute_G2_gadget_coeffs ( protoboard< FieldT > &  pb,
const std::string &  annotation_prefix 
)

◆ mnt_precompute_G2_gadget_coeffs() [3/3]

template<typename ppT >
libsnark::mnt_precompute_G2_gadget_coeffs< ppT >::mnt_precompute_G2_gadget_coeffs ( protoboard< FieldT > &  pb,
const G2_variable< ppT > &  Q,
const std::string &  annotation_prefix 
)

Member Data Documentation

◆ gamma

template<typename ppT >
std::shared_ptr<Fqe_variable<ppT> > libsnark::mnt_precompute_G2_gadget_coeffs< ppT >::gamma

Definition at line 126 of file mnt_precomputation.hpp.

◆ gamma_X

template<typename ppT >
std::shared_ptr<Fqe_variable<ppT> > libsnark::mnt_precompute_G2_gadget_coeffs< ppT >::gamma_X

Definition at line 127 of file mnt_precomputation.hpp.

◆ RX

template<typename ppT >
std::shared_ptr<Fqe_variable<ppT> > libsnark::mnt_precompute_G2_gadget_coeffs< ppT >::RX

Definition at line 124 of file mnt_precomputation.hpp.

◆ RY

template<typename ppT >
std::shared_ptr<Fqe_variable<ppT> > libsnark::mnt_precompute_G2_gadget_coeffs< ppT >::RY

Definition at line 125 of file mnt_precomputation.hpp.


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