File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -2465,6 +2465,21 @@ def case16_fail_msm_G1():
2465
2465
+ int_to_hex (int (2 ), 32 ),
2466
2466
"ExpectedError" : "g1 point is not in the correct subgroup" ,
2467
2467
"Name" : "bls_g1msm_g1_not_in_correct_subgroup"
2468
+ },
2469
+ {
2470
+ "Input" : ""
2471
+ # G1 point (not in correct subgroup but invalid curve)
2472
+ + int_to_hex (int (G1_in_correct_subgroup_invalid_curve [0 ]), 64 )
2473
+ + int_to_hex (int (G1_in_correct_subgroup_invalid_curve [1 ]), 64 )
2474
+ # scalar
2475
+ + int_to_hex (int (2 ), 32 )
2476
+ # P1 point
2477
+ + int_to_hex (int (P1 [0 ]), 64 )
2478
+ + int_to_hex (int (P1 [1 ]), 64 )
2479
+ # scalar
2480
+ + int_to_hex (int (2 ), 32 ),
2481
+ "ExpectedError" : "invalid point: not on curve" ,
2482
+ "Name" : "bls_g1msm_point_in_correct_subgroup_invalid_curve"
2468
2483
}
2469
2484
]
2470
2485
You can’t perform that action at this time.
0 commit comments