Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
mnt6_init.hpp
Go to the documentation of this file.
1
12#ifndef MNT6_INIT_HPP_
13#define MNT6_INIT_HPP_
14
20
21namespace libff {
22
23#define mnt6_modulus_r mnt46_modulus_B
24#define mnt6_modulus_q mnt46_modulus_A
25
28
29const mp_size_t mnt6_r_limbs = mnt46_B_limbs;
30const mp_size_t mnt6_q_limbs = mnt46_A_limbs;
31
34
40
41// parameters for twisted short Weierstrass curve E'/Fq3 : y^2 = x^3 + (a * twist^2) * x + (b * twist^3)
42extern mnt6_Fq3 mnt6_twist;
53
54// parameters for pairing
61
62void init_mnt6_params();
63
64class mnt6_G1;
65class mnt6_G2;
66
67} // libff
68
69#endif // MNT6_INIT_HPP_
const mp_size_t mnt6_r_limbs
Definition mnt6_init.hpp:29
Fp6_2over3_model< mnt6_q_limbs, mnt6_modulus_q > mnt6_Fq6
Definition mnt6_init.hpp:38
bigint< mnt6_r_limbs > mnt6_modulus_r
bigint< 6 *mnt6_q_limbs > mnt6_final_exponent
Definition mnt6_init.cpp:37
bigint< mnt6_q_limbs > mnt6_final_exponent_last_chunk_abs_of_w0
Definition mnt6_init.cpp:38
const mp_size_t mnt6_q_bitcount
Definition mnt6_init.hpp:27
void init_mnt6_params()
Definition mnt6_init.cpp:42
bigint< mnt6_q_limbs > mnt6_modulus_q
const mp_size_t mnt46_B_bitcount
const mp_size_t mnt46_A_limbs
bool mnt6_final_exponent_last_chunk_is_w0_neg
Definition mnt6_init.cpp:39
mnt6_Fq mnt6_twist_mul_by_a_c0
Definition mnt6_init.cpp:26
bigint< mnt6_q_limbs > mnt6_final_exponent_last_chunk_w1
Definition mnt6_init.cpp:40
mnt6_Fq mnt6_twist_mul_by_a_c2
Definition mnt6_init.cpp:28
const mp_size_t mnt6_q_limbs
Definition mnt6_init.hpp:30
Fp_model< mnt6_r_limbs, mnt6_modulus_r > mnt6_Fr
Definition mnt6_init.hpp:35
mnt6_Fq mnt6_twist_mul_by_b_c2
Definition mnt6_init.cpp:31
Fp_model< mnt6_q_limbs, mnt6_modulus_q > mnt6_Fq
Definition mnt6_init.hpp:36
mnt6_Fq6 mnt6_GT
Definition mnt6_init.hpp:39
mnt6_Fq3 mnt6_twist
Definition mnt6_init.cpp:23
const mp_size_t mnt46_A_bitcount
mnt6_Fq mnt6_twist_mul_by_b_c1
Definition mnt6_init.cpp:30
const mp_size_t mnt46_B_limbs
bool mnt6_ate_is_loop_count_neg
Definition mnt6_init.cpp:36
const mp_size_t mnt6_r_bitcount
Definition mnt6_init.hpp:26
mnt6_Fq3 mnt6_twist_coeff_a
Definition mnt6_init.cpp:24
mnt6_Fq mnt6_twist_mul_by_q_Y
Definition mnt6_init.cpp:33
mnt6_Fq mnt6_twist_mul_by_b_c0
Definition mnt6_init.cpp:29
mnt6_Fq mnt6_twist_mul_by_q_X
Definition mnt6_init.cpp:32
Fp3_model< mnt6_q_limbs, mnt6_modulus_q > mnt6_Fq3
Definition mnt6_init.hpp:37
mnt6_Fq3 mnt6_twist_coeff_b
Definition mnt6_init.cpp:25
bigint< mnt6_q_limbs > mnt6_ate_loop_count
Definition mnt6_init.cpp:35
mnt6_Fq mnt6_twist_mul_by_a_c1
Definition mnt6_init.cpp:27