Skip to content

Commit

Permalink
invalid point g1
Browse files Browse the repository at this point in the history
  • Loading branch information
asanso committed Apr 17, 2024
1 parent cc7af6e commit b2a29d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,11 @@ def case10_fail_add_G1():
"Input": int_to_hex(int(G1[0]), 65) + (int_to_hex(int(G1[1]), 64)) + int_to_hex(int(P1[0]), 64) + (int_to_hex(int(P1[1]), 64)),
"ExpectedError": "invalid input length",
"Name": "bls_g1add_large_input"
},
{
"Input": int_to_hex(int(G1[0]), 64) + (int_to_hex(int(P1[1]), 64)) + int_to_hex(int(P1[0]), 64) + (int_to_hex(int(P1[1]), 64)),
"ExpectedError": "invalid point: not on curve",
"Name": "bls_g1add_large_input"
}
]

Expand Down

0 comments on commit b2a29d7

Please sign in to comment.