Clearmatics Libsnark
0.1
C++ library for zkSNARK proofs
|
Go to the documentation of this file.
16 #ifndef LIBSNARK_GADGETLIB1_GADGETS_PAIRING_MNT_MNT_PAIRING_PARAMS_HPP_
17 #define LIBSNARK_GADGETLIB1_GADGETS_PAIRING_MNT_MNT_PAIRING_PARAMS_HPP_
28 #include <libff/algebra/curves/mnt/mnt4/mnt4_pp.hpp>
29 #include <libff/algebra/curves/mnt/mnt6/mnt6_pp.hpp>
40 typedef libff::Fr<libff::mnt4_pp>
FieldT;
41 typedef libff::Fqe<libff::mnt6_pp>
FqeT;
42 typedef libff::Fqk<libff::mnt6_pp>
FqkT;
79 typedef libff::Fr<libff::mnt6_pp>
FieldT;
81 typedef libff::Fqe<libff::mnt4_pp>
FqeT;
82 typedef libff::Fqk<libff::mnt4_pp>
FqkT;
122 static const constexpr libff::bigint<libff::mnt6_Fr::num_limbs>
123 &pairing_loop_count = libff::mnt6_ate_loop_count;
132 static const constexpr libff::bigint<libff::mnt4_Fr::num_limbs>
133 &pairing_loop_count = libff::mnt4_ate_loop_count;
138 #endif // LIBSNARK_GADGETLIB1_GADGETS_PAIRING_MNT_MNT_PAIRING_PARAMS_HPP_
mnt4_final_exp_gadget< libff::mnt4_pp > final_exp_gadget_type
Fp6_2over3_variable< FqkT > Fqk_variable_type
libff::mnt4_pp other_curve_type
Fp6_2over3_sqr_gadget< FqkT > Fqk_sqr_gadget_type
mnt_G2_precomputation< libff::mnt4_pp > G2_precomputation_type
Fp4_sqr_gadget< FqkT > Fqk_sqr_gadget_type
mnt_miller_loop_gadget< libff::mnt6_pp > miller_loop_gadget_type
mnt_precompute_G2_gadget< libff::mnt4_pp > precompute_G2_gadget_type
Fp2_sqr_gadget< FqeT > Fqe_sqr_gadget_type
mnt_e_times_e_times_e_over_e_miller_loop_gadget< libff::mnt6_pp > e_times_e_times_e_over_e_miller_loop_gadget_type
Fp3_mul_gadget< FqeT > Fqe_mul_gadget_type
mnt_e_over_e_miller_loop_gadget< libff::mnt4_pp > e_over_e_miller_loop_gadget_type
G2_checker_gadget< libff::mnt6_pp > G2_checker_type
mnt_precompute_G2_gadget< libff::mnt6_pp > precompute_G2_gadget_type
mnt6_final_exp_gadget< libff::mnt6_pp > final_exp_gadget_type
libff::Fqe< libff::mnt6_pp > FqeT
G1_checker_gadget< libff::mnt4_pp > G1_checker_type
Fp2_mul_by_lc_gadget< FqeT > Fqe_mul_by_lc_gadget_type
G2_checker_gadget< libff::mnt4_pp > G2_checker_type
Fp3_variable< FqeT > Fqe_variable_type
libff::Fr< libff::mnt4_pp > FieldT
G1_checker_gadget< libff::mnt6_pp > G1_checker_type
mnt_G1_precomputation< libff::mnt6_pp > G1_precomputation_type
mnt_e_times_e_times_e_over_e_miller_loop_gadget< libff::mnt4_pp > e_times_e_times_e_over_e_miller_loop_gadget_type
Fp3_mul_by_lc_gadget< FqeT > Fqe_mul_by_lc_gadget_type
Fp2_variable< FqeT > Fqe_variable_type
mnt_miller_loop_gadget< libff::mnt4_pp > miller_loop_gadget_type
mnt_G2_precomputation< libff::mnt6_pp > G2_precomputation_type
libff::Fqe< libff::mnt4_pp > FqeT
Gadget for verifying a double Miller loop (where the second is inverted).
libff::mnt6_pp other_curve_type
Fp4_variable< FqkT > Fqk_variable_type
libff::Fr< libff::mnt6_pp > FieldT
Gadget that creates constraints for the validity of a G2 variable.
mnt_precompute_G1_gadget< libff::mnt4_pp > precompute_G1_gadget_type
mnt_precompute_G1_gadget< libff::mnt6_pp > precompute_G1_gadget_type
libff::Fqk< libff::mnt6_pp > FqkT
Fp3_sqr_gadget< FqeT > Fqe_sqr_gadget_type
Gadget for verifying a single Miller loop.
mnt_e_times_e_over_e_miller_loop_gadget< libff::mnt6_pp > e_times_e_over_e_miller_loop_gadget_type
mnt_G1_precomputation< libff::mnt4_pp > G1_precomputation_type
libff::Fqk< libff::mnt4_pp > FqkT
Fp4_mul_gadget< FqkT > Fqk_mul_gadget_type
mnt_e_times_e_over_e_miller_loop_gadget< libff::mnt4_pp > e_times_e_over_e_miller_loop_gadget_type
mnt_e_over_e_miller_loop_gadget< libff::mnt6_pp > e_over_e_miller_loop_gadget_type
Fp6_2over3_mul_by_2345_gadget< libff::Fqk< libff::mnt6_pp > > Fqk_special_mul_gadget_type
Fp2_mul_gadget< FqeT > Fqe_mul_gadget_type
Gadget for verifying a triple Miller loop (where the third is inverted).
Fp6_2over3_mul_gadget< FqkT > Fqk_mul_gadget_type
Fp4_mul_gadget< libff::Fqk< libff::mnt4_pp > > Fqk_special_mul_gadget_type