Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
alt_bn128_pp.cpp
Go to the documentation of this file.
1
9
10namespace libff {
11
16
21
26
31
33 const alt_bn128_G2_precomp &prec_Q)
34{
35 return alt_bn128_miller_loop(prec_P, prec_Q);
36}
37
39 const alt_bn128_G2_precomp &prec_Q1,
40 const alt_bn128_G1_precomp &prec_P2,
41 const alt_bn128_G2_precomp &prec_Q2)
42{
43 return alt_bn128_double_miller_loop(prec_P1, prec_Q1, prec_P2, prec_Q2);
44}
45
51
57
58} // libff
static alt_bn128_G1_precomp precompute_G1(const alt_bn128_G1 &P)
static alt_bn128_G2_precomp precompute_G2(const alt_bn128_G2 &Q)
static alt_bn128_Fq12 miller_loop(const alt_bn128_G1_precomp &prec_P, const alt_bn128_G2_precomp &prec_Q)
static alt_bn128_Fq12 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)
static void init_public_params()
static alt_bn128_Fq12 reduced_pairing(const alt_bn128_G1 &P, const alt_bn128_G2 &Q)
static alt_bn128_Fq12 pairing(const alt_bn128_G1 &P, const alt_bn128_G2 &Q)
static alt_bn128_GT final_exponentiation(const alt_bn128_Fq12 &elt)
#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_Fq12 alt_bn128_miller_loop(const alt_bn128_G1_precomp &prec_P, const alt_bn128_G2_precomp &prec_Q)
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)
void init_alt_bn128_params()
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_GT alt_bn128_final_exponentiation(const alt_bn128_Fq12 &elt)