1c76bdf9c3
These test vectors were generated internally.
60 lines
2.6 KiB
JavaScript
60 lines
2.6 KiB
JavaScript
module.exports = {
|
|
"valid": {
|
|
"ECPointFp": [
|
|
{
|
|
"x": "55066263022277343669578718895168534326250603453777594175500187360389116729240",
|
|
"y": "32670510020758816978083085130507043184471273380659243275938904335757337482424",
|
|
"compressed": false,
|
|
"hex": "0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8"
|
|
},
|
|
{
|
|
"x": "55066263022277343669578718895168534326250603453777594175500187360389116729240",
|
|
"y": "32670510020758816978083085130507043184471273380659243275938904335757337482424",
|
|
"compressed": true,
|
|
"hex": "0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
|
|
},
|
|
{
|
|
"x": "83225686012142088543596389522774768397204444195709443235253141114409346958144",
|
|
"y": "23739058578904784236915560265041168694780215705543362357495033621678991351768",
|
|
"compressed": true,
|
|
"hex": "02b80011a883a0fd621ad46dfc405df1e74bf075cbaf700fd4aebef6e96f848340"
|
|
},
|
|
{
|
|
"x": "30095590000961171681152428142595206241714764354580127609094760797518133922356",
|
|
"y": "93521207164355458151597931319591130635754976513751247168472016818884561919702",
|
|
"compressed": true,
|
|
"hex": "024289801366bcee6172b771cf5a7f13aaecd237a0b9a1ff9d769cabc2e6b70a34"
|
|
},
|
|
{
|
|
"x": "55066263022277343669578718895168534326250603453777594175500187360389116729240",
|
|
"y": "83121579216557378445487899878180864668798711284981320763518679672151497189239",
|
|
"compressed": true,
|
|
"hex": "0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
|
|
}
|
|
]
|
|
},
|
|
"invalid": {
|
|
"ECPointFp": [
|
|
{
|
|
"description": "Invalid sequence tag",
|
|
"hex": "0179be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
|
|
},
|
|
{
|
|
"description": "Sequence too short",
|
|
"hex": "0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10"
|
|
},
|
|
{
|
|
"description": "Sequence too short (compressed)",
|
|
"hex": "0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f8"
|
|
},
|
|
{
|
|
"description": "Sequence too long",
|
|
"hex": "0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b80000"
|
|
},
|
|
{
|
|
"description": "Sequence too long (compressed)",
|
|
"hex": "0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f817980000"
|
|
}
|
|
]
|
|
}
|
|
}
|