Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
alt_bn128_pairing.hpp
Go to the documentation of this file.
1
8#ifndef ALT_BN128_PAIRING_HPP_
9#define ALT_BN128_PAIRING_HPP_
10#include <vector>
11
13
14namespace libff {
15
16/* final exponentiation */
17
19
20/* ate pairing */
21
25
26 bool operator==(const alt_bn128_ate_G1_precomp &other) const;
27 friend std::ostream& operator<<(std::ostream &out, const alt_bn128_ate_G1_precomp &prec_P);
28 friend std::istream& operator>>(std::istream &in, alt_bn128_ate_G1_precomp &prec_P);
29};
30
35
36 bool operator==(const alt_bn128_ate_ell_coeffs &other) const;
37 friend std::ostream& operator<<(std::ostream &out, const alt_bn128_ate_ell_coeffs &dc);
38 friend std::istream& operator>>(std::istream &in, alt_bn128_ate_ell_coeffs &dc);
39};
40
44 std::vector<alt_bn128_ate_ell_coeffs> coeffs;
45
46 bool operator==(const alt_bn128_ate_G2_precomp &other) const;
47 friend std::ostream& operator<<(std::ostream &out, const alt_bn128_ate_G2_precomp &prec_Q);
48 friend std::istream& operator>>(std::istream &in, alt_bn128_ate_G2_precomp &prec_Q);
49};
50
53
55 const alt_bn128_ate_G2_precomp &prec_Q);
57 const alt_bn128_ate_G2_precomp &prec_Q1,
58 const alt_bn128_ate_G1_precomp &prec_P2,
59 const alt_bn128_ate_G2_precomp &prec_Q2);
60
62 const alt_bn128_G2 &Q);
64 const alt_bn128_G2 &Q);
65
66/* choice of pairing */
67
70
72
74
76 const alt_bn128_G2_precomp &prec_Q);
77
79 const alt_bn128_G2_precomp &prec_Q1,
80 const alt_bn128_G1_precomp &prec_P2,
81 const alt_bn128_G2_precomp &prec_Q2);
82
84 const alt_bn128_G2 &Q);
85
87 const alt_bn128_G2 &Q);
88
90 const alt_bn128_G2 &Q);
91
92} // libff
93#endif // ALT_BN128_PAIRING_HPP_
#define P
Definition dtoa.c:437
alt_bn128_Fq12 alt_bn128_pairing(const alt_bn128_G1 &P, const alt_bn128_G2 &Q)
alt_bn128_GT alt_bn128_reduced_pairing(const alt_bn128_G1 &P, const alt_bn128_G2 &Q)
alt_bn128_GT alt_bn128_ate_reduced_pairing(const alt_bn128_G1 &P, const alt_bn128_G2 &Q)
alt_bn128_Fq12 alt_bn128_miller_loop(const alt_bn128_G1_precomp &prec_P, const alt_bn128_G2_precomp &prec_Q)
alt_bn128_ate_G2_precomp alt_bn128_ate_precompute_G2(const alt_bn128_G2 &Q)
alt_bn128_ate_G1_precomp alt_bn128_G1_precomp
alt_bn128_G2_precomp alt_bn128_precompute_G2(const alt_bn128_G2 &Q)
alt_bn128_G1_precomp alt_bn128_precompute_G1(const alt_bn128_G1 &P)
Fp12_2over3over2_model< alt_bn128_q_limbs, alt_bn128_modulus_q > alt_bn128_Fq12
alt_bn128_GT alt_bn128_affine_reduced_pairing(const alt_bn128_G1 &P, const alt_bn128_G2 &Q)
alt_bn128_Fq12 alt_bn128_double_miller_loop(const alt_bn128_G1_precomp &prec_P1, const alt_bn128_G2_precomp &prec_Q1, const alt_bn128_G1_precomp &prec_P2, const alt_bn128_G2_precomp &prec_Q2)
alt_bn128_ate_G2_precomp alt_bn128_G2_precomp
alt_bn128_ate_G1_precomp alt_bn128_ate_precompute_G1(const alt_bn128_G1 &P)
alt_bn128_Fq12 alt_bn128_ate_miller_loop(const alt_bn128_ate_G1_precomp &prec_P, const alt_bn128_ate_G2_precomp &prec_Q)
alt_bn128_GT alt_bn128_final_exponentiation(const alt_bn128_Fq12 &elt)
alt_bn128_Fq12 alt_bn128_ate_pairing(const alt_bn128_G1 &P, const alt_bn128_G2 &Q)
alt_bn128_Fq12 alt_bn128_GT
alt_bn128_Fq12 alt_bn128_ate_double_miller_loop(const alt_bn128_ate_G1_precomp &prec_P1, const alt_bn128_ate_G2_precomp &prec_Q1, const alt_bn128_ate_G1_precomp &prec_P2, const alt_bn128_ate_G2_precomp &prec_Q2)
friend std::istream & operator>>(std::istream &in, alt_bn128_ate_G1_precomp &prec_P)
bool operator==(const alt_bn128_ate_G1_precomp &other) const
friend std::ostream & operator<<(std::ostream &out, const alt_bn128_ate_G1_precomp &prec_P)
std::vector< alt_bn128_ate_ell_coeffs > coeffs
friend std::ostream & operator<<(std::ostream &out, const alt_bn128_ate_G2_precomp &prec_Q)
friend std::istream & operator>>(std::istream &in, alt_bn128_ate_G2_precomp &prec_Q)
bool operator==(const alt_bn128_ate_G2_precomp &other) const
friend std::ostream & operator<<(std::ostream &out, const alt_bn128_ate_ell_coeffs &dc)
friend std::istream & operator>>(std::istream &in, alt_bn128_ate_ell_coeffs &dc)
bool operator==(const alt_bn128_ate_ell_coeffs &other) const