File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -3035,6 +3035,19 @@ def case18_fail_pairing_check():
3035
3035
+ int_to_hex (int (G2 [1 ].coeffs [1 ]), 64 ),
3036
3036
"ExpectedError" : "invalid point: not on curve" ,
3037
3037
"Name" : "bls_pairing_e(G1_in_correct_subgroup_invalid_curve,G2)" ,
3038
+ },
3039
+ {
3040
+ "Input" : ""
3041
+ # G1 point
3042
+ + int_to_hex (int (G1 [0 ]), 64 )
3043
+ + int_to_hex (int (G1 [1 ]), 64 )
3044
+ # G2 point (not in correct subgroup but invalid curve)
3045
+ + int_to_hex (int (G2_in_correct_subgroup_invalid_curve [0 ].coeffs [0 ]), 64 )
3046
+ + int_to_hex (int (G2_in_correct_subgroup_invalid_curve [0 ].coeffs [1 ]), 64 )
3047
+ + int_to_hex (int (G2_in_correct_subgroup_invalid_curve [1 ].coeffs [0 ]), 64 )
3048
+ + int_to_hex (int (G2_in_correct_subgroup_invalid_curve [1 ].coeffs [1 ]), 64 ),
3049
+ "ExpectedError" : "invalid point: not on curve" ,
3050
+ "Name" : "bls_pairing_e(G1,G2_in_correct_subgroup_invalid_curve)" ,
3038
3051
}
3039
3052
]
3040
3053
You can’t perform that action at this time.
0 commit comments