Clearmatics Libff
0.1
C++ library for Finite Fields and Elliptic Curves
|
#include <bls12_381_pp.hpp>
Public Types | |
typedef bls12_381_Fr | Fp_type |
typedef bls12_381_G1 | G1_type |
typedef bls12_381_G2 | G2_type |
typedef bls12_381_G1_precomp | G1_precomp_type |
typedef bls12_381_G2_precomp | G2_precomp_type |
typedef bls12_381_Fq | Fq_type |
typedef bls12_381_Fq2 | Fqe_type |
typedef bls12_381_Fq12 | Fqk_type |
typedef bls12_381_GT | GT_type |
Static Public Member Functions | |
static void | init_public_params () |
static bls12_381_GT | final_exponentiation (const bls12_381_Fq12 &elt) |
static bls12_381_G1_precomp | precompute_G1 (const bls12_381_G1 &P) |
static bls12_381_G2_precomp | precompute_G2 (const bls12_381_G2 &Q) |
static bls12_381_Fq12 | miller_loop (const bls12_381_G1_precomp &prec_P, const bls12_381_G2_precomp &prec_Q) |
static bls12_381_Fq12 | double_miller_loop (const bls12_381_G1_precomp &prec_P1, const bls12_381_G2_precomp &prec_Q1, const bls12_381_G1_precomp &prec_P2, const bls12_381_G2_precomp &prec_Q2) |
static bls12_381_Fq12 | pairing (const bls12_381_G1 &P, const bls12_381_G2 &Q) |
static bls12_381_Fq12 | reduced_pairing (const bls12_381_G1 &P, const bls12_381_G2 &Q) |
Static Public Attributes | |
static const std::string | name |
static const bool | has_affine_pairing = false |
Definition at line 19 of file bls12_381_pp.hpp.
Definition at line 24 of file bls12_381_pp.hpp.
Definition at line 29 of file bls12_381_pp.hpp.
Definition at line 30 of file bls12_381_pp.hpp.
Definition at line 31 of file bls12_381_pp.hpp.
Definition at line 27 of file bls12_381_pp.hpp.
Definition at line 25 of file bls12_381_pp.hpp.
Definition at line 28 of file bls12_381_pp.hpp.
Definition at line 26 of file bls12_381_pp.hpp.
Definition at line 32 of file bls12_381_pp.hpp.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 34 of file bls12_381_pp.hpp.
|
static |
Definition at line 22 of file bls12_381_pp.hpp.