Clearmatics Libff
0.1
C++ library for Finite Fields and Elliptic Curves
|
#include <alt_bn128_pp.hpp>
Public Types | |
typedef alt_bn128_Fr | Fp_type |
typedef alt_bn128_G1 | G1_type |
typedef alt_bn128_G2 | G2_type |
typedef alt_bn128_G1_precomp | G1_precomp_type |
typedef alt_bn128_G2_precomp | G2_precomp_type |
typedef alt_bn128_Fq | Fq_type |
typedef alt_bn128_Fq2 | Fqe_type |
typedef alt_bn128_Fq12 | Fqk_type |
typedef alt_bn128_GT | GT_type |
Static Public Member Functions | |
static void | init_public_params () |
static alt_bn128_GT | final_exponentiation (const alt_bn128_Fq12 &elt) |
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 alt_bn128_Fq12 | pairing (const alt_bn128_G1 &P, const alt_bn128_G2 &Q) |
static alt_bn128_Fq12 | reduced_pairing (const alt_bn128_G1 &P, const alt_bn128_G2 &Q) |
Static Public Attributes | |
static const std::string | name |
static const bool | has_affine_pairing = false |
Definition at line 19 of file alt_bn128_pp.hpp.
Definition at line 24 of file alt_bn128_pp.hpp.
Definition at line 29 of file alt_bn128_pp.hpp.
Definition at line 30 of file alt_bn128_pp.hpp.
Definition at line 31 of file alt_bn128_pp.hpp.
Definition at line 27 of file alt_bn128_pp.hpp.
Definition at line 25 of file alt_bn128_pp.hpp.
Definition at line 28 of file alt_bn128_pp.hpp.
Definition at line 26 of file alt_bn128_pp.hpp.
Definition at line 32 of file alt_bn128_pp.hpp.
|
static |
|
static |
|
static |
Definition at line 15 of file alt_bn128_pp.cpp.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 34 of file alt_bn128_pp.hpp.
|
static |
Definition at line 22 of file alt_bn128_pp.hpp.