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

#include <bls12_377_precomputation.hpp>

Public Member Functions

 bls12_377_G2_proj (protoboard< libff::Fr< ppT >> &pb, const std::string &annotation_prefix)
 
 bls12_377_G2_proj (const Fqe_variable< ppT > &X_var, const Fqe_variable< ppT > &Y_var, const Fqe_variable< ppT > &Z_var)
 
void generate_r1cs_witness (const libff::bls12_377_G2 &element)
 

Public Attributes

Fqe_variable< ppT > X
 
Fqe_variable< ppT > Y
 
Fqe_variable< ppT > Z
 

Detailed Description

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

Holds an element of G2 in homogeneous projective form. Used for intermediate values of R in the miller loop.

Definition at line 38 of file bls12_377_precomputation.hpp.

Constructor & Destructor Documentation

◆ bls12_377_G2_proj() [1/2]

template<typename ppT >
libsnark::bls12_377_G2_proj< ppT >::bls12_377_G2_proj ( protoboard< libff::Fr< ppT >> &  pb,
const std::string &  annotation_prefix 
)

◆ bls12_377_G2_proj() [2/2]

template<typename ppT >
libsnark::bls12_377_G2_proj< ppT >::bls12_377_G2_proj ( const Fqe_variable< ppT > &  X_var,
const Fqe_variable< ppT > &  Y_var,
const Fqe_variable< ppT > &  Z_var 
)

Member Function Documentation

◆ generate_r1cs_witness()

template<typename ppT >
void libsnark::bls12_377_G2_proj< ppT >::generate_r1cs_witness ( const libff::bls12_377_G2 &  element)

Member Data Documentation

◆ X

template<typename ppT >
Fqe_variable<ppT> libsnark::bls12_377_G2_proj< ppT >::X

Definition at line 41 of file bls12_377_precomputation.hpp.

◆ Y

template<typename ppT >
Fqe_variable<ppT> libsnark::bls12_377_G2_proj< ppT >::Y

Definition at line 42 of file bls12_377_precomputation.hpp.

◆ Z

template<typename ppT >
Fqe_variable<ppT> libsnark::bls12_377_G2_proj< ppT >::Z

Definition at line 43 of file bls12_377_precomputation.hpp.


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