Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
mnt4_init.hpp
Go to the documentation of this file.
1
12#ifndef MNT4_INIT_HPP_
13#define MNT4_INIT_HPP_
14
20
21namespace libff {
22
23#define mnt4_modulus_r mnt46_modulus_A
24#define mnt4_modulus_q mnt46_modulus_B
25
28
29const mp_size_t mnt4_r_limbs = mnt46_A_limbs;
30const mp_size_t mnt4_q_limbs = mnt46_B_limbs;
31
34
40
41// parameters for twisted short Weierstrass curve E'/Fq2 : y^2 = x^3 + (a * twist^2) * x + (b * twist^3)
42extern mnt4_Fq2 mnt4_twist;
51
52// parameters for pairing
59
60void init_mnt4_params();
61
62class mnt4_G1;
63class mnt4_G2;
64
65} // libff
66
67#endif // MNT4_INIT_HPP_
bool mnt4_final_exponent_last_chunk_is_w0_neg
Definition mnt4_init.cpp:37
Fp_model< mnt4_q_limbs, mnt4_modulus_q > mnt4_Fq
Definition mnt4_init.hpp:36
bigint< mnt4_q_limbs > mnt4_modulus_q
mnt4_Fq4 mnt4_GT
Definition mnt4_init.hpp:39
bigint< 4 *mnt4_q_limbs > mnt4_final_exponent
Definition mnt4_init.cpp:35
const mp_size_t mnt4_q_limbs
Definition mnt4_init.hpp:30
Fp4_model< mnt4_q_limbs, mnt4_modulus_q > mnt4_Fq4
Definition mnt4_init.hpp:38
void init_mnt4_params()
Definition mnt4_init.cpp:40
mnt4_Fq mnt4_twist_mul_by_b_c1
Definition mnt4_init.cpp:29
const mp_size_t mnt46_B_bitcount
bool mnt4_ate_is_loop_count_neg
Definition mnt4_init.cpp:34
const mp_size_t mnt46_A_limbs
bigint< mnt4_q_limbs > mnt4_final_exponent_last_chunk_abs_of_w0
Definition mnt4_init.cpp:36
mnt4_Fq2 mnt4_twist
Definition mnt4_init.cpp:23
bigint< mnt4_r_limbs > mnt4_modulus_r
bigint< mnt4_q_limbs > mnt4_final_exponent_last_chunk_w1
Definition mnt4_init.cpp:38
bigint< mnt4_q_limbs > mnt4_ate_loop_count
Definition mnt4_init.cpp:33
mnt4_Fq mnt4_twist_mul_by_a_c0
Definition mnt4_init.cpp:26
const mp_size_t mnt4_q_bitcount
Definition mnt4_init.hpp:27
const mp_size_t mnt46_A_bitcount
mnt4_Fq2 mnt4_twist_coeff_b
Definition mnt4_init.cpp:25
const mp_size_t mnt46_B_limbs
mnt4_Fq mnt4_twist_mul_by_q_X
Definition mnt4_init.cpp:30
Fp_model< mnt4_r_limbs, mnt4_modulus_r > mnt4_Fr
Definition mnt4_init.hpp:35
mnt4_Fq mnt4_twist_mul_by_a_c1
Definition mnt4_init.cpp:27
mnt4_Fq2 mnt4_twist_coeff_a
Definition mnt4_init.cpp:24
Fp2_model< mnt4_q_limbs, mnt4_modulus_q > mnt4_Fq2
Definition mnt4_init.hpp:37
const mp_size_t mnt4_r_bitcount
Definition mnt4_init.hpp:26
mnt4_Fq mnt4_twist_mul_by_b_c0
Definition mnt4_init.cpp:28
mnt4_Fq mnt4_twist_mul_by_q_Y
Definition mnt4_init.cpp:31
const mp_size_t mnt4_r_limbs
Definition mnt4_init.hpp:29