Skip to content

Commit

Permalink
fail multi exp g2
Browse files Browse the repository at this point in the history
  • Loading branch information
asanso committed Apr 23, 2024
1 parent 4991fec commit f39ef7c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,16 @@ def case17_fail_multiexp_G2():
"Input": "",
"ExpectedError": "invalid input length",
"Name": "bls_g2multiexp_empty_input"
},
{
"Input": int_to_hex(int(G2[0].coeffs[0]), 63) + int_to_hex(int(G2[0].coeffs[1]), 64) + int_to_hex(int(G2[1].coeffs[0]), 64) + int_to_hex(int(G2[1].coeffs[1]), 64) + int_to_hex(int(2), 32),
"ExpectedError": "invalid input length",
"Name": "bls_g2multiexp_short_input"
},
{
"Input": int_to_hex(int(G2[0].coeffs[0]), 65) + int_to_hex(int(G2[0].coeffs[1]), 64) + int_to_hex(int(G2[1].coeffs[0]), 64) + int_to_hex(int(G2[1].coeffs[1]), 64) + int_to_hex(int(2), 32),
"ExpectedError": "invalid input length",
"Name": "bls_g2multiexp_long_input"
}
]

Expand Down

0 comments on commit f39ef7c

Please sign in to comment.