Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
alt_bn128_init.hpp
Go to the documentation of this file.
1
8#ifndef ALT_BN128_INIT_HPP_
9#define ALT_BN128_INIT_HPP_
15
16namespace libff {
17
18const mp_size_t alt_bn128_r_bitcount = 254;
19const mp_size_t alt_bn128_q_bitcount = 254;
20
21const mp_size_t alt_bn128_r_limbs = (alt_bn128_r_bitcount+GMP_NUMB_BITS-1)/GMP_NUMB_BITS;
22const mp_size_t alt_bn128_q_limbs = (alt_bn128_q_bitcount+GMP_NUMB_BITS-1)/GMP_NUMB_BITS;
23
26
33
34// parameters for Barreto--Naehrig curve E/Fq : y^2 = x^3 + b
36// parameters for twisted Barreto--Naehrig curve E'/Fq2 : y^2 = x^3 + b/xi
43
44// parameters for pairing
50
52
53class alt_bn128_G1;
54class alt_bn128_G2;
55
56} // libff
57#endif // ALT_BN128_INIT_HPP_
alt_bn128_Fq2 alt_bn128_twist
const mp_size_t alt_bn128_r_limbs
bigint< alt_bn128_q_limbs > alt_bn128_final_exponent_z
Fp6_3over2_model< alt_bn128_q_limbs, alt_bn128_modulus_q > alt_bn128_Fq6
const mp_size_t alt_bn128_q_bitcount
Fp2_model< alt_bn128_q_limbs, alt_bn128_modulus_q > alt_bn128_Fq2
Fp_model< alt_bn128_q_limbs, alt_bn128_modulus_q > alt_bn128_Fq
alt_bn128_Fq alt_bn128_twist_mul_by_b_c0
alt_bn128_Fq2 alt_bn128_twist_mul_by_q_Y
alt_bn128_Fq alt_bn128_coeff_b
bigint< alt_bn128_q_limbs > alt_bn128_modulus_q
bool alt_bn128_ate_is_loop_count_neg
bigint< alt_bn128_q_limbs > alt_bn128_ate_loop_count
const mp_size_t alt_bn128_q_limbs
bool alt_bn128_final_exponent_is_z_neg
Fp12_2over3over2_model< alt_bn128_q_limbs, alt_bn128_modulus_q > alt_bn128_Fq12
void init_alt_bn128_params()
const mp_size_t alt_bn128_r_bitcount
alt_bn128_Fq2 alt_bn128_twist_coeff_b
alt_bn128_Fq alt_bn128_twist_mul_by_b_c1
Fp_model< alt_bn128_r_limbs, alt_bn128_modulus_r > alt_bn128_Fr
bigint< alt_bn128_r_limbs > alt_bn128_modulus_r
alt_bn128_Fq2 alt_bn128_twist_mul_by_q_X
alt_bn128_Fq12 alt_bn128_GT
bigint< 12 *alt_bn128_q_limbs > alt_bn128_final_exponent