Clearmatics Libsnark  0.1
C++ library for zkSNARK proofs
Public Types | Public Member Functions | Public Attributes | List of all members
libsnark::mnt_G1_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_G1_precomputation ()
 
 mnt_G1_precomputation (protoboard< FieldT > &pb, const libff::G1< other_curve< ppT >> &P, const std::string &annotation_prefix)
 

Public Attributes

std::shared_ptr< G1_variable< ppT > > P
 
std::shared_ptr< Fqe_variable< ppT > > PY_twist_squared
 

Detailed Description

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

Not a gadget. It only holds values.

Definition at line 37 of file mnt_precomputation.hpp.

Member Typedef Documentation

◆ FieldT

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

Definition at line 40 of file mnt_precomputation.hpp.

◆ FqeT

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

Definition at line 41 of file mnt_precomputation.hpp.

◆ FqkT

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

Definition at line 42 of file mnt_precomputation.hpp.

Constructor & Destructor Documentation

◆ mnt_G1_precomputation() [1/2]

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

◆ mnt_G1_precomputation() [2/2]

template<typename ppT >
libsnark::mnt_G1_precomputation< ppT >::mnt_G1_precomputation ( protoboard< FieldT > &  pb,
const libff::G1< other_curve< ppT >> &  P,
const std::string &  annotation_prefix 
)

Member Data Documentation

◆ P

template<typename ppT >
std::shared_ptr<G1_variable<ppT> > libsnark::mnt_G1_precomputation< ppT >::P

Definition at line 44 of file mnt_precomputation.hpp.

◆ PY_twist_squared

template<typename ppT >
std::shared_ptr<Fqe_variable<ppT> > libsnark::mnt_G1_precomputation< ppT >::PY_twist_squared

Definition at line 45 of file mnt_precomputation.hpp.


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