File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -297,9 +297,8 @@ def test_worst_modexp(
297
297
pytest .param (
298
298
0x08 ,
299
299
[
300
- # TODO: the following are only two inputs, but this can be extended
301
- # to more inputs to amortize costs as much as possible. Additionally,
302
- # there might be worse pairings that can be used.
300
+ # This test optimizes for the maximum number of final exponentiations.
301
+ # For base cost amortization, see test_worst_bn128_pairing_miller.
303
302
#
304
303
# First pairing
305
304
"1C76476F4DEF4BB94541D57EBBA1193381FFA7AA76ADA664DD31C16024C43F59" ,
@@ -316,7 +315,7 @@ def test_worst_modexp(
316
315
"090689D0585FF075EC9E99AD690C3395BC4B313370B38EF355ACDADCD122975B" ,
317
316
"12C85EA5DB8C6DEB4AAB71808DCB408FE3D1E7690C43D37B4CE6CC0166FA7DAA" ,
318
317
],
319
- id = "bn128_pairing " ,
318
+ id = "bn128_pairing_final_exp " ,
320
319
),
321
320
pytest .param (
322
321
Blake2bSpec .BLAKE2_PRECOMPILE_ADDRESS ,
You can’t perform that action at this time.
0 commit comments