File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -2321,6 +2321,18 @@ def case13_fail_mul_G2():
2321
2321
+ int_to_hex (int (2 ), 32 ),
2322
2322
"ExpectedError" : "g2 point is not in the correct subgroup" ,
2323
2323
"Name" : "bls_g2mul_g2_not_in_correct_subgroup"
2324
+ },
2325
+ {
2326
+ "Input" : ""
2327
+ # G2 point (not on curve)
2328
+ + int_to_hex (int (G2_in_correct_subgroup_invalid_curve [0 ].coeffs [0 ]), 64 )
2329
+ + int_to_hex (int (G2_in_correct_subgroup_invalid_curve [0 ].coeffs [1 ]), 64 )
2330
+ + int_to_hex (int (G2_in_correct_subgroup_invalid_curve [1 ].coeffs [0 ]), 64 )
2331
+ + int_to_hex (int (G2_in_correct_subgroup_invalid_curve [1 ].coeffs [1 ]), 64 )
2332
+ # scalar
2333
+ + int_to_hex (int (2 ), 32 ),
2334
+ "ExpectedError" : "invalid point: not on curve" ,
2335
+ "Name" : "bls_g2mul_g2_in_correct_subgroup_invalid_curve"
2324
2336
}
2325
2337
]
2326
2338
You can’t perform that action at this time.
0 commit comments