Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
mnt4_pp.cpp
Go to the documentation of this file.
1
15
16namespace libff {
17
22
27
32
37
39 const mnt4_G2_precomp &prec_Q)
40{
41 return mnt4_miller_loop(prec_P, prec_Q);
42}
43
48
53
59
67
78
80 const mnt4_G2_precomp &prec_Q1,
81 const mnt4_G1_precomp &prec_P2,
82 const mnt4_G2_precomp &prec_Q2)
83{
84 return mnt4_double_miller_loop(prec_P1, prec_Q1, prec_P2, prec_Q2);
85}
86
88 const mnt4_G2 &Q)
89{
90 return mnt4_pairing(P, Q);
91}
92
94 const mnt4_G2 &Q)
95{
96 return mnt4_reduced_pairing(P, Q);
97}
98
104
105} // libff
Fp4_model unitary_inverse() const
static mnt4_Fq4 affine_ate_e_over_e_miller_loop(const mnt4_affine_ate_G1_precomputation &prec_P1, const mnt4_affine_ate_G2_precomputation &prec_Q1, const mnt4_affine_ate_G1_precomputation &prec_P2, const mnt4_affine_ate_G2_precomputation &prec_Q2)
Definition mnt4_pp.cpp:60
static mnt4_GT final_exponentiation(const mnt4_Fq4 &elt)
Definition mnt4_pp.cpp:23
static mnt4_Fq4 affine_ate_miller_loop(const mnt4_affine_ate_G1_precomputation &prec_P, const mnt4_affine_ate_G2_precomputation &prec_Q)
Definition mnt4_pp.cpp:54
static mnt4_Fq4 affine_reduced_pairing(const mnt4_G1 &P, const mnt4_G2 &Q)
Definition mnt4_pp.cpp:99
static mnt4_affine_ate_G1_precomputation affine_ate_precompute_G1(const mnt4_G1 &P)
Definition mnt4_pp.cpp:44
static mnt4_Fq4 affine_ate_e_times_e_over_e_miller_loop(const mnt4_affine_ate_G1_precomputation &prec_P1, const mnt4_affine_ate_G2_precomputation &prec_Q1, const mnt4_affine_ate_G1_precomputation &prec_P2, const mnt4_affine_ate_G2_precomputation &prec_Q2, const mnt4_affine_ate_G1_precomputation &prec_P3, const mnt4_affine_ate_G2_precomputation &prec_Q3)
Definition mnt4_pp.cpp:68
static mnt4_Fq4 miller_loop(const mnt4_G1_precomp &prec_P, const mnt4_G2_precomp &prec_Q)
Definition mnt4_pp.cpp:38
static mnt4_affine_ate_G2_precomputation affine_ate_precompute_G2(const mnt4_G2 &Q)
Definition mnt4_pp.cpp:49
static void init_public_params()
Definition mnt4_pp.cpp:18
static mnt4_Fq4 reduced_pairing(const mnt4_G1 &P, const mnt4_G2 &Q)
Definition mnt4_pp.cpp:93
static mnt4_Fq4 double_miller_loop(const mnt4_G1_precomp &prec_P1, const mnt4_G2_precomp &prec_Q1, const mnt4_G1_precomp &prec_P2, const mnt4_G2_precomp &prec_Q2)
Definition mnt4_pp.cpp:79
static mnt4_Fq4 pairing(const mnt4_G1 &P, const mnt4_G2 &Q)
Definition mnt4_pp.cpp:87
static mnt4_G1_precomp precompute_G1(const mnt4_G1 &P)
Definition mnt4_pp.cpp:28
static mnt4_G2_precomp precompute_G2(const mnt4_G2 &Q)
Definition mnt4_pp.cpp:33
#define P
Definition dtoa.c:437
mnt4_Fq4 mnt4_pairing(const mnt4_G1 &P, const mnt4_G2 &Q)
mnt4_GT mnt4_reduced_pairing(const mnt4_G1 &P, const mnt4_G2 &Q)
mnt4_G1_precomp mnt4_precompute_G1(const mnt4_G1 &P)
mnt4_Fq4 mnt4_double_miller_loop(const mnt4_G1_precomp &prec_P1, const mnt4_G2_precomp &prec_Q1, const mnt4_G1_precomp &prec_P2, const mnt4_G2_precomp &prec_Q2)
mnt4_affine_ate_G1_precomputation mnt4_affine_ate_precompute_G1(const mnt4_G1 &P)
void init_mnt4_params()
Definition mnt4_init.cpp:40
mnt4_G2_precomp mnt4_precompute_G2(const mnt4_G2 &Q)
mnt4_Fq4 mnt4_miller_loop(const mnt4_G1_precomp &prec_P, const mnt4_G2_precomp &prec_Q)
mnt4_Fq4 mnt4_affine_ate_miller_loop(const mnt4_affine_ate_G1_precomputation &prec_P, const mnt4_affine_ate_G2_precomputation &prec_Q)
mnt4_GT mnt4_affine_reduced_pairing(const mnt4_G1 &P, const mnt4_G2 &Q)
mnt4_GT mnt4_final_exponentiation(const mnt4_Fq4 &elt)
mnt4_affine_ate_G2_precomputation mnt4_affine_ate_precompute_G2(const mnt4_G2 &Q)