Commit a09050d 1 parent a3d89c6 commit a09050d Copy full SHA for a09050d
File tree 1 file changed +6
-6
lines changed
cryptography/kzg_multi_open/src/fk20
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ pub struct FK20Verifier {
41
41
coset_domain : Domain ,
42
42
// Pre-computations for the verification algorithm
43
43
//
44
- // [s ^n]_2
45
- s_pow_n : G2Prepared ,
44
+ // [tau ^n]_2
45
+ tau_pow_n : G2Prepared ,
46
46
// [-1]_2
47
47
neg_g2_gen : G2Prepared ,
48
48
//
@@ -68,8 +68,8 @@ impl FK20Verifier {
68
68
let coset_domain = polynomial:: domain:: Domain :: new ( verification_key. coset_size ) ;
69
69
70
70
let n = verification_key. coset_size ;
71
- // [s ^n]_2
72
- let s_pow_n = G2Prepared :: from ( G2Point :: from ( verification_key. g2s [ n] ) ) ;
71
+ // [tau ^n]_2
72
+ let tau_pow_n = G2Prepared :: from ( G2Point :: from ( verification_key. g2s [ n] ) ) ;
73
73
// [-1]_2
74
74
let neg_g2_gen = G2Prepared :: from ( -verification_key. g2_gen ( ) ) ;
75
75
@@ -91,7 +91,7 @@ impl FK20Verifier {
91
91
verification_key,
92
92
coset_gens_bit_reversed : coset_gens,
93
93
coset_domain,
94
- s_pow_n ,
94
+ tau_pow_n ,
95
95
neg_g2_gen,
96
96
coset_gens_pow_n,
97
97
inv_coset_gens_pow_n,
@@ -242,7 +242,7 @@ impl FK20Verifier {
242
242
let pairing_input_g1 = normalized_vectors[ 1 ] ;
243
243
244
244
let proof_valid = multi_pairings ( & [
245
- ( & random_sum_proofs, & self . s_pow_n ) ,
245
+ ( & random_sum_proofs, & self . tau_pow_n ) ,
246
246
( & pairing_input_g1, & self . neg_g2_gen ) ,
247
247
] ) ;
248
248
if proof_valid {
You can’t perform that action at this time.
0 commit comments