Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
#include <bls12_377_miller_loop.hpp>
Public Types | |
using | FieldT = libff::Fr< ppT > |
using | FqkT = libff::Fqk< other_curve< ppT > > |
Public Member Functions | |
bls12_377_ate_compute_f_ell_P (protoboard< FieldT > &pb, const pb_linear_combination< FieldT > &Px, const pb_linear_combination< FieldT > &Py, const bls12_377_ate_ell_coeffs< ppT > &ell_coeffs, const Fp12_2over3over2_variable< FqkT > &f, const Fp12_2over3over2_variable< FqkT > &f_out, 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 | |
Fqe_mul_by_lc_gadget< ppT > | _compute_ell_vv_times_Px |
Fqe_mul_by_lc_gadget< ppT > | _compute_ell_vw_times_Py |
Fp12_2over3over2_mul_by_024_gadget< FqkT > | _compute_f_mul_ell_P |
Additional Inherited Members | |
![]() | |
protoboard< libff::Fr< ppT > > & | pb |
const std::string | annotation_prefix |
Given some current f in Fqk, the pairing parameter P in G1, and the precomputed coefficients for the function of some line function ell(), compute: f * ell(P) Note that this gadget allocates the variable to hold the resulting value of f.
Definition at line 31 of file bls12_377_miller_loop.hpp.
using libsnark::bls12_377_ate_compute_f_ell_P< ppT >::FieldT = libff::Fr<ppT> |
Definition at line 34 of file bls12_377_miller_loop.hpp.
using libsnark::bls12_377_ate_compute_f_ell_P< ppT >::FqkT = libff::Fqk<other_curve<ppT> > |
Definition at line 35 of file bls12_377_miller_loop.hpp.
libsnark::bls12_377_ate_compute_f_ell_P< ppT >::bls12_377_ate_compute_f_ell_P | ( | protoboard< FieldT > & | pb, |
const pb_linear_combination< FieldT > & | Px, | ||
const pb_linear_combination< FieldT > & | Py, | ||
const bls12_377_ate_ell_coeffs< ppT > & | ell_coeffs, | ||
const Fp12_2over3over2_variable< FqkT > & | f, | ||
const Fp12_2over3over2_variable< FqkT > & | f_out, | ||
const std::string & | annotation_prefix | ||
) |
void libsnark::bls12_377_ate_compute_f_ell_P< ppT >::generate_r1cs_constraints | ( | ) |
void libsnark::bls12_377_ate_compute_f_ell_P< ppT >::generate_r1cs_witness | ( | ) |
const Fp12_2over3over2_variable<FqkT>& libsnark::bls12_377_ate_compute_f_ell_P< ppT >::result | ( | ) | const |
Fqe_mul_by_lc_gadget<ppT> libsnark::bls12_377_ate_compute_f_ell_P< ppT >::_compute_ell_vv_times_Px |
Definition at line 37 of file bls12_377_miller_loop.hpp.
Fqe_mul_by_lc_gadget<ppT> libsnark::bls12_377_ate_compute_f_ell_P< ppT >::_compute_ell_vw_times_Py |
Definition at line 38 of file bls12_377_miller_loop.hpp.
Fp12_2over3over2_mul_by_024_gadget<FqkT> libsnark::bls12_377_ate_compute_f_ell_P< ppT >::_compute_f_mul_ell_P |
Definition at line 39 of file bls12_377_miller_loop.hpp.