Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
bn128_pairing.hpp
Go to the documentation of this file.
1
11#ifndef BN128_PAIRING_HPP_
12#define BN128_PAIRING_HPP_
14
18
19namespace libff {
20
23
24 bool operator==(const bn128_ate_G1_precomp &other) const;
25 friend std::ostream& operator<<(std::ostream &out, const bn128_ate_G1_precomp &prec_P);
26 friend std::istream& operator>>(std::istream &in, bn128_ate_G1_precomp &prec_P);
27};
28
30
33 std::vector<bn128_ate_ell_coeffs> coeffs;
34
35 bool operator==(const bn128_ate_G2_precomp &other) const;
36 friend std::ostream& operator<<(std::ostream &out, const bn128_ate_G2_precomp &prec_Q);
37 friend std::istream& operator>>(std::istream &in, bn128_ate_G2_precomp &prec_Q);
38};
39
42
44 const bn128_ate_G2_precomp &prec_Q1,
45 const bn128_ate_G1_precomp &prec_P2,
46 const bn128_ate_G2_precomp &prec_Q2);
48 const bn128_ate_G2_precomp &prec_Q);
49
51
52} // libff
53#endif // BN128_PAIRING_HPP_
BN parameter.
Definition zm2.h:18
#define P
Definition dtoa.c:437
bn::Fp6 bn128_ate_ell_coeffs
bn128_Fq12 bn128_double_ate_miller_loop(const bn128_ate_G1_precomp &prec_P1, const bn128_ate_G2_precomp &prec_Q1, const bn128_ate_G1_precomp &prec_P2, const bn128_ate_G2_precomp &prec_Q2)
bn128_ate_G2_precomp bn128_ate_precompute_G2(const bn128_G2 &Q)
bn128_Fq12 bn128_ate_miller_loop(const bn128_ate_G1_precomp &prec_P, const bn128_ate_G2_precomp &prec_Q)
bn128_GT bn128_final_exponentiation(const bn128_Fq12 &elt)
bn128_ate_G1_precomp bn128_ate_precompute_G1(const bn128_G1 &P)
Definition bn.h:348
Definition bn.h:837
bool operator==(const bn128_ate_G1_precomp &other) const
friend std::istream & operator>>(std::istream &in, bn128_ate_G1_precomp &prec_P)
friend std::ostream & operator<<(std::ostream &out, const bn128_ate_G1_precomp &prec_P)
std::vector< bn128_ate_ell_coeffs > coeffs
friend std::ostream & operator<<(std::ostream &out, const bn128_ate_G2_precomp &prec_Q)
friend std::istream & operator>>(std::istream &in, bn128_ate_G2_precomp &prec_Q)
bool operator==(const bn128_ate_G2_precomp &other) const