32 lines
2.2 KiB
JSON
32 lines
2.2 KiB
JSON
[
|
|
{
|
|
"Input": "",
|
|
"ExpectedError": "invalid input length",
|
|
"Name": "bls_g1mul_empty_input"
|
|
},
|
|
{
|
|
"Input": "0000000000000000000000000000000017f1d3a73197d7942695638c4fa9ac0fc3688c4f9774b905a14e3a3f171bac586c55e83ff97a1aeffb3af00adb22c6bb00000000000000000000000000000008b3f481e3aaa0f1a09e30ed741d8ae4fcf5e095d5d00af600db18cb2c04b3edd03cc744a2888ae40caa232946c5e7e10000000000000000000000000000000000000000000000000000000000000007",
|
|
"ExpectedError": "invalid input length",
|
|
"Name": "bls_g1mul_short_input"
|
|
},
|
|
{
|
|
"Input": "0000000000000000000000000000000017f1d3a73197d7942695638c4fa9ac0fc3688c4f9774b905a14e3a3f171bac586c55e83ff97a1aeffb3af00adb22c6bb000000000000000000000000000000000008b3f481e3aaa0f1a09e30ed741d8ae4fcf5e095d5d00af600db18cb2c04b3edd03cc744a2888ae40caa232946c5e7e10000000000000000000000000000000000000000000000000000000000000007",
|
|
"ExpectedError": "invalid input length",
|
|
"Name": "bls_g1mul_large_input"
|
|
},
|
|
{
|
|
"Input": "0000000000000000000000000000000017f1d3a73197d7942695638c4fa9ac0fc3688c4f9774b905a14e3a3f171bac586c55e83ff97a1aeffb3af00adb22c6bb0000000000000000000000000000000108b3f481e3aaa0f1a09e30ed741d8ae4fcf5e095d5d00af600db18cb2c04b3edd03cc744a2888ae40caa232946c5e7e10000000000000000000000000000000000000000000000000000000000000007",
|
|
"ExpectedError": "invalid field element top bytes",
|
|
"Name": "bls_g1mul_violate_top_bytes"
|
|
},
|
|
{
|
|
"Input": "0000000000000000000000000000000017f1d3a73197d7942695638c4fa9ac0fc3688c4f9774b905a14e3a3f171bac586c55e83ff97a1aeffb3af00adb22c6bb000000000000000000000000000000001a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaac0000000000000000000000000000000000000000000000000000000000000007",
|
|
"ExpectedError": "must be less than modulus",
|
|
"Name": "bls_g1mul_invalid_field_element"
|
|
},
|
|
{
|
|
"Input": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001",
|
|
"ExpectedError": "point is not on curve",
|
|
"Name": "bls_g1mul_point_not_on_curve"
|
|
}
|
|
] |