@@ -84,12 +84,12 @@ namespace nil {
84
84
std::shared_ptr<Fqk_mul_component<curve_type>> compute_el_inv_q_3_minus_1;
85
85
std::shared_ptr<Fqk_mul_component<curve_type>> compute_inv_beta;
86
86
87
- std::shared_ptr<exponentiation_component<curve_type>::pairing::Fqk_type ,
87
+ std::shared_ptr<exponentiation_component<curve_type>::pairing::fqk_type ,
88
88
Fp6_2over3_variable,
89
89
Fp6_2over3_mul_component,
90
90
Fp6_2over3_cyclotomic_sqr_component,
91
91
algebra::mnt6_q_limbs> > compute_w1;
92
- std::shared_ptr<exponentiation_component<curve_type>::pairing::Fqk_type ,
92
+ std::shared_ptr<exponentiation_component<curve_type>::pairing::fqk_type ,
93
93
Fp6_2over3_variable,
94
94
Fp6_2over3_mul_component,
95
95
Fp6_2over3_cyclotomic_sqr_component,
@@ -129,15 +129,15 @@ namespace nil {
129
129
compute_inv_beta.reset (
130
130
new Fqk_mul_component<curve_type>(bp, *inv_alpha, *el_inv_q_3_minus_1, *inv_beta));
131
131
132
- compute_w1.reset (new exponentiation_component<curve_type>::pairing::Fqk_type ,
132
+ compute_w1.reset (new exponentiation_component<curve_type>::pairing::fqk_type ,
133
133
Fp6_2over3_variable,
134
134
Fp6_2over3_mul_component,
135
135
Fp6_2over3_cyclotomic_sqr_component,
136
136
algebra::mnt6_q_limbs >
137
137
(bp, *beta_q, algebra::mnt6_final_exponent_last_chunk_w1, *w1));
138
138
139
139
compute_w0.reset (
140
- new exponentiation_component<curve_type>::pairing::Fqk_type ,
140
+ new exponentiation_component<curve_type>::pairing::fqk_type ,
141
141
Fp6_2over3_variable,
142
142
Fp6_2over3_mul_component,
143
143
Fp6_2over3_cyclotomic_sqr_component,
@@ -152,7 +152,7 @@ namespace nil {
152
152
153
153
void generate_r1cs_constraints () {
154
154
one->generate_r1cs_equals_const_constraints (
155
- pairing::pair_curve_type<curve_type> ::pairing::Fqk_type ::value_type::one ());
155
+ curve_type:: pairing::pair_curve_type::pairing::fqk_type ::value_type::one ());
156
156
157
157
compute_el_inv->generate_r1cs_constraints ();
158
158
compute_el_q_3_minus_1->generate_r1cs_constraints ();
@@ -177,7 +177,7 @@ namespace nil {
177
177
178
178
void generate_r1cs_witness () {
179
179
one->generate_r1cs_witness (
180
- pairing::pair_curve_type<curve_type> ::pairing::Fqk_type ::value_type::one ());
180
+ curve_type:: pairing::pair_curve_type::pairing::fqk_type ::value_type::one ());
181
181
el_inv->generate_r1cs_witness (el.get_element ().inversed ());
182
182
183
183
compute_el_inv->generate_r1cs_witness ();
@@ -230,12 +230,12 @@ namespace nil {
230
230
std::shared_ptr<Fqk_mul_component<curve_type>> compute_el_q_2_minus_1;
231
231
std::shared_ptr<Fqk_mul_component<curve_type>> compute_el_inv_q_2_minus_1;
232
232
233
- std::shared_ptr<exponentiation_component<curve_type>::pairing::Fqk_type ,
233
+ std::shared_ptr<exponentiation_component<curve_type>::pairing::fqk_type ,
234
234
Fp4_variable,
235
235
Fp4_mul_component,
236
236
Fp4_cyclotomic_sqr_component,
237
237
algebra::mnt4_q_limbs> > compute_w1;
238
- std::shared_ptr<exponentiation_component<curve_type>::pairing::Fqk_type ,
238
+ std::shared_ptr<exponentiation_component<curve_type>::pairing::fqk_type ,
239
239
Fp4_variable,
240
240
Fp4_mul_component,
241
241
Fp4_cyclotomic_sqr_component,
@@ -267,14 +267,14 @@ namespace nil {
267
267
new Fqk_mul_component<curve_type>(bp, *el_inv_q_2, el, *el_inv_q_2_minus_1));
268
268
269
269
compute_w1.reset (
270
- new exponentiation_component<curve_type>::pairing::Fqk_type ,
270
+ new exponentiation_component<curve_type>::pairing::fqk_type ,
271
271
Fp4_variable,
272
272
Fp4_mul_component,
273
273
Fp4_cyclotomic_sqr_component,
274
274
algebra::mnt4_q_limbs >
275
275
(bp, *el_q_3_minus_q, algebra::mnt4_final_exponent_last_chunk_w1, *w1));
276
276
compute_w0.reset (
277
- new exponentiation_component<curve_type>::pairing::Fqk_type ,
277
+ new exponentiation_component<curve_type>::pairing::fqk_type ,
278
278
Fp4_variable,
279
279
Fp4_mul_component,
280
280
Fp4_cyclotomic_sqr_component,
@@ -289,7 +289,7 @@ namespace nil {
289
289
290
290
void generate_r1cs_constraints () {
291
291
one->generate_r1cs_equals_const_constraints (
292
- pairing::pair_curve_type<curve_type> ::pairing::Fqk_type ::value_type::one ());
292
+ curve_type:: pairing::pair_curve_type::pairing::fqk_type ::value_type::one ());
293
293
294
294
compute_el_inv->generate_r1cs_constraints ();
295
295
compute_el_q_2_minus_1->generate_r1cs_constraints ();
@@ -308,7 +308,7 @@ namespace nil {
308
308
309
309
void generate_r1cs_witness () {
310
310
one->generate_r1cs_witness (
311
- pairing::pair_curve_type<curve_type> ::pairing::Fqk_type ::value_type::one ());
311
+ curve_type:: pairing::pair_curve_type::pairing::fqk_type ::value_type::one ());
312
312
el_inv->generate_r1cs_witness (el.get_element ().inversed ());
313
313
314
314
compute_el_inv->generate_r1cs_witness ();
@@ -326,7 +326,6 @@ namespace nil {
326
326
field_type::value_type::zero ());
327
327
}
328
328
};
329
-
330
329
} // namespace components
331
330
} // namespace snark
332
331
} // namespace zk
0 commit comments