Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <bls12_377_miller_loop.hpp>
Public Types | |
using | FieldT = libff::Fr< ppT > |
using | FqeT = libff::Fqe< other_curve< ppT > > |
using | FqkT = libff::Fqk< other_curve< ppT > > |
using | Fq6T = typename FqkT::my_Fp6 |
Public Member Functions | |
bls12_377_miller_loop_gadget (protoboard< FieldT > &pb, const bls12_377_G1_precomputation< ppT > &prec_P, const bls12_377_G2_precomputation< ppT > &prec_Q, const Fqk_variable< ppT > &result, const std::string &annotation_prefix) | |
const Fp12_2over3over2_variable< FqkT > & | result () const |
void | generate_r1cs_constraints () |
void | generate_r1cs_witness () |
![]() | |
gadget (protoboard< libff::Fr< ppT > > &pb, const std::string &annotation_prefix) | |
Public Attributes | |
Fp12_2over3over2_variable< FqkT > | _f0 |
std::vector< std::shared_ptr< Fp12_2over3over2_square_gadget< FqkT > > > | _f_squared |
std::vector< std::shared_ptr< bls12_377_ate_compute_f_ell_P< ppT > > > | _f_ell_P |
Additional Inherited Members | |
![]() | |
protoboard< libff::Fr< ppT > > & | pb |
const std::string | annotation_prefix |
Definition at line 56 of file bls12_377_miller_loop.hpp.
using libsnark::bls12_377_miller_loop_gadget< ppT >::FieldT = libff::Fr<ppT> |
Definition at line 59 of file bls12_377_miller_loop.hpp.
using libsnark::bls12_377_miller_loop_gadget< ppT >::Fq6T = typename FqkT::my_Fp6 |
Definition at line 62 of file bls12_377_miller_loop.hpp.
using libsnark::bls12_377_miller_loop_gadget< ppT >::FqeT = libff::Fqe<other_curve<ppT> > |
Definition at line 60 of file bls12_377_miller_loop.hpp.
using libsnark::bls12_377_miller_loop_gadget< ppT >::FqkT = libff::Fqk<other_curve<ppT> > |
Definition at line 61 of file bls12_377_miller_loop.hpp.
libsnark::bls12_377_miller_loop_gadget< ppT >::bls12_377_miller_loop_gadget | ( | protoboard< FieldT > & | pb, |
const bls12_377_G1_precomputation< ppT > & | prec_P, | ||
const bls12_377_G2_precomputation< ppT > & | prec_Q, | ||
const Fqk_variable< ppT > & | result, | ||
const std::string & | annotation_prefix | ||
) |
void libsnark::bls12_377_miller_loop_gadget< ppT >::generate_r1cs_constraints | ( | ) |
void libsnark::bls12_377_miller_loop_gadget< ppT >::generate_r1cs_witness | ( | ) |
const Fp12_2over3over2_variable<FqkT>& libsnark::bls12_377_miller_loop_gadget< ppT >::result | ( | ) | const |
Fp12_2over3over2_variable<FqkT> libsnark::bls12_377_miller_loop_gadget< ppT >::_f0 |
Definition at line 64 of file bls12_377_miller_loop.hpp.
std::vector<std::shared_ptr<bls12_377_ate_compute_f_ell_P<ppT> > > libsnark::bls12_377_miller_loop_gadget< ppT >::_f_ell_P |
Definition at line 71 of file bls12_377_miller_loop.hpp.
std::vector<std::shared_ptr<Fp12_2over3over2_square_gadget<FqkT> > > libsnark::bls12_377_miller_loop_gadget< ppT >::_f_squared |
Definition at line 68 of file bls12_377_miller_loop.hpp.