Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
bn128_init.hpp
Go to the documentation of this file.
1
8#ifndef BN128_INIT_HPP_
9#define BN128_INIT_HPP_
11
14
15namespace libff {
16
17const mp_size_t bn128_r_bitcount = 254;
18const mp_size_t bn128_q_bitcount = 254;
19
20const mp_size_t bn128_r_limbs = (bn128_r_bitcount+GMP_NUMB_BITS-1)/GMP_NUMB_BITS;
21const mp_size_t bn128_q_limbs = (bn128_q_bitcount+GMP_NUMB_BITS-1)/GMP_NUMB_BITS;
22
25
27extern size_t bn128_Fq_s;
30
32extern size_t bn128_Fq2_s;
35
38
40
41class bn128_G1;
42class bn128_G2;
43class bn128_GT;
45
46} // libff
47#endif // BN128_INIT_HPP_
BN parameter.
Definition zm2.h:18
bn::Fp2 bn128_twist_coeff_b
mie::Vuint bn128_Fq_t_minus_1_over_2
size_t bn128_Fq2_s
bn::Fp bn128_coeff_b
const mp_size_t bn128_r_bitcount
bn::Fp2 bn128_Fq2_nqr_to_t
mie::Vuint bn128_Fq2_t_minus_1_over_2
Fp_model< bn128_r_limbs, bn128_modulus_r > bn128_Fr
bn::Fp bn128_Fq_nqr_to_t
const mp_size_t bn128_q_bitcount
Fp_model< bn128_q_limbs, bn128_modulus_q > bn128_Fq
bigint< bn128_q_limbs > bn128_modulus_q
bn128_GT bn128_Fq12
void init_bn128_params()
size_t bn128_Fq_s
bigint< bn128_r_limbs > bn128_modulus_r
const mp_size_t bn128_q_limbs
const mp_size_t bn128_r_limbs
Definition bn.h:348