Clearmatics Libff
0.1
C++ library for Finite Fields and Elliptic Curves
|
#include <bn128_pp.hpp>
Public Types | |
typedef bn128_Fr | Fp_type |
typedef bn128_G1 | G1_type |
typedef bn128_G2 | G2_type |
typedef bn128_ate_G1_precomp | G1_precomp_type |
typedef bn128_ate_G2_precomp | G2_precomp_type |
typedef bn128_Fq | Fq_type |
typedef bn128_Fq12 | Fqk_type |
typedef bn128_GT | GT_type |
Static Public Member Functions | |
static void | init_public_params () |
static bn128_GT | final_exponentiation (const bn128_Fq12 &elt) |
static bn128_ate_G1_precomp | precompute_G1 (const bn128_G1 &P) |
static bn128_ate_G2_precomp | precompute_G2 (const bn128_G2 &Q) |
static bn128_Fq12 | miller_loop (const bn128_ate_G1_precomp &prec_P, const bn128_ate_G2_precomp &prec_Q) |
static bn128_Fq12 | double_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) |
static bn128_GT | pairing (const bn128_G1 &P, const bn128_G2 &Q) |
static bn128_GT | reduced_pairing (const bn128_G1 &P, const bn128_G2 &Q) |
Static Public Attributes | |
static const std::string | name |
static const bool | has_affine_pairing = false |
Definition at line 20 of file bn128_pp.hpp.
typedef bn128_Fr libff::bn128_pp::Fp_type |
Definition at line 25 of file bn128_pp.hpp.
typedef bn128_Fq libff::bn128_pp::Fq_type |
Definition at line 30 of file bn128_pp.hpp.
typedef bn128_Fq12 libff::bn128_pp::Fqk_type |
Definition at line 31 of file bn128_pp.hpp.
Definition at line 28 of file bn128_pp.hpp.
typedef bn128_G1 libff::bn128_pp::G1_type |
Definition at line 26 of file bn128_pp.hpp.
Definition at line 29 of file bn128_pp.hpp.
typedef bn128_G2 libff::bn128_pp::G2_type |
Definition at line 27 of file bn128_pp.hpp.
typedef bn128_GT libff::bn128_pp::GT_type |
Definition at line 32 of file bn128_pp.hpp.
|
static |
|
static |
Definition at line 18 of file bn128_pp.cpp.
|
static |
|
static |
Definition at line 33 of file bn128_pp.cpp.
|
static |
Definition at line 55 of file bn128_pp.cpp.
|
static |
Definition at line 23 of file bn128_pp.cpp.
|
static |
Definition at line 28 of file bn128_pp.cpp.
|
static |
Definition at line 34 of file bn128_pp.hpp.
|
static |
Definition at line 23 of file bn128_pp.hpp.