blob: b8ab2571a2366b7369e863cabacb2379bcf9104f [file]
{
"algorithm": "ECDSA",
"schema": "ecdsa_verify_schema_v1.json",
"numberOfTests": 448,
"header": [
"Test vectors of type EcdsaVerify are meant for the verification",
"of ASN encoded ECDSA signatures."
],
"notes": {
"ArithmeticError": {
"bugType": "EDGE_CASE",
"description": "Some implementations of ECDSA have arithmetic errors that occur when intermediate results have extreme values. This test vector has been constructed to test such occurrences.",
"cves": [
"CVE-2017-18146"
]
},
"BerEncodedSignature": {
"bugType": "BER_ENCODING",
"description": "ECDSA signatures are usually DER encoded. This signature contains valid values for r and s, but it uses alternative BER encoding.",
"effect": "Accepting alternative BER encodings may be benign in some cases, or be an issue if protocol requires signature malleability.",
"cves": [
"CVE-2020-14966",
"CVE-2020-13822",
"CVE-2019-14859",
"CVE-2016-1000342"
]
},
"EdgeCaseShamirMultiplication": {
"bugType": "EDGE_CASE",
"description": "Shamir proposed a fast method for computing the sum of two scalar multiplications efficiently. This test vector has been constructed so that an intermediate result is the point at infinity if Shamir's method is used."
},
"IntegerOverflow": {
"bugType": "CAN_OF_WORMS",
"description": "The test vector contains an r and s that has been modified, so that the original value is restored if the implementation ignores the most significant bits.",
"effect": "Without further analysis it is unclear if the modification can be used to forge signatures."
},
"InvalidEncoding": {
"bugType": "CAN_OF_WORMS",
"description": "ECDSA signatures are encoded using ASN.1. This test vector contains an incorrectly encoded signature. The test vector itself was generated from a valid signature by modifying its encoding.",
"effect": "Without further analysis it is unclear if the modification can be used to forge signatures."
},
"InvalidSignature": {
"bugType": "AUTH_BYPASS",
"description": "The signature contains special case values such as r=0 and s=0. Buggy implementations may accept such values, if the implementation does not check boundaries and computes s^(-1) == 0.",
"effect": "Accepting such signatures can have the effect that an adversary can forge signatures without even knowing the message to sign.",
"cves": [
"CVE-2022-21449",
"CVE-2021-43572",
"CVE-2022-24884"
]
},
"InvalidTypesInSignature": {
"bugType": "AUTH_BYPASS",
"description": "The signature contains invalid types. Dynamic typed languages sometime coerce such values of different types into integers. If an implementation is careless and has additional bugs, such as not checking integer boundaries then it may be possible that such signatures are accepted.",
"effect": "Accepting such signatures can have the effect that an adversary can forge signatures without even knowing the message to sign.",
"cves": [
"CVE-2022-21449"
]
},
"MissingZero": {
"bugType": "LEGACY",
"description": "Some implementations of ECDSA and DSA incorrectly encode r and s by not including leading zeros in the ASN encoding of integers when necessary. Hence, some implementations (e.g. jdk) allow signatures with incorrect ASN encodings assuming that the signature is otherwise valid.",
"effect": "While signatures are more malleable if such signatures are accepted, this typically leads to no vulnerability, since a badly encoded signature can be reencoded correctly."
},
"ModifiedInteger": {
"bugType": "CAN_OF_WORMS",
"description": "The test vector contains an r and s that has been modified. The goal is to check for arithmetic errors.",
"effect": "Without further analysis it is unclear if the modification can be used to forge signatures."
},
"ModifiedSignature": {
"bugType": "CAN_OF_WORMS",
"description": "The test vector contains an invalid signature that was generated from a valid signature by modifying it.",
"effect": "Without further analysis it is unclear if the modification can be used to forge signatures."
},
"ModularInverse": {
"bugType": "EDGE_CASE",
"description": "The test vectors contains a signature where computing the modular inverse of s hits an edge case.",
"effect": "While the signature in this test vector is constructed and similar cases are unlikely to occur, it is important to determine if the underlying arithmetic error can be used to forge signatures.",
"cves": [
"CVE-2019-0865"
]
},
"PointDuplication": {
"bugType": "EDGE_CASE",
"description": "Some implementations of ECDSA do not handle duplication and points at infinity correctly. This is a test vector that has been specially crafted to check for such an omission.",
"cves": [
"2020-12607",
"CVE-2015-2730"
]
},
"RangeCheck": {
"bugType": "CAN_OF_WORMS",
"description": "The test vector contains an r and s that has been modified. By adding or subtracting the order of the group (or other values) the test vector checks whether signature verification verifies the range of r and s.",
"effect": "Without further analysis it is unclear if the modification can be used to forge signatures."
},
"SmallRandS": {
"bugType": "EDGE_CASE",
"description": "The test vectors contains a signature where both r and s are small integers. Some libraries cannot verify such signatures.",
"effect": "While the signature in this test vector is constructed and similar cases are unlikely to occur, it is important to determine if the underlying arithmetic error can be used to forge signatures.",
"cves": [
"2020-13895"
]
},
"SpecialCaseHash": {
"bugType": "EDGE_CASE",
"description": "The test vector contains a signature where the hash of the message is a special case, e.g., contains a long run of 0 or 1 bits."
},
"Untruncatedhash": {
"bugType": "MISSING_STEP",
"description": "If the size of the digest is longer than the size of the underlying order of the multiplicative subgroup then the hash digest must be truncated during signature generation and verification. This test vector contains a signature where this step has been omitted."
},
"ValidSignature": {
"bugType": "BASIC",
"description": "The test vector contains a valid signature that was generated pseudorandomly. Such signatures should not fail to verify unless some of the parameters (e.g. curve or hash function) are not supported."
}
},
"testGroups": [
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04b0046a56f874d30ea2ba7ac1a935fd9d754ee6417b9a54d275806819ec30b15618f5625115241f46",
"wx": "00b0046a56f874d30ea2ba7ac1a935fd9d754ee641",
"wy": "7b9a54d275806819ec30b15618f5625115241f46"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004b0046a56f874d30ea2ba7ac1a935fd9d754ee6417b9a54d275806819ec30b15618f5625115241f46",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEsARqVvh00w6iunrBqTX9nXVO5kF7mlTS\ndYBoGewwsVYY9WJRFSQfRg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 1,
"comment": "pseudorandom signature",
"flags": [
"ValidSignature"
],
"msg": "",
"sig": "302c021449c9656cd8cbee4456548d63a7fc480791909c4202146ff78980793ee086a2e66e01a490bdfc03f2d302",
"result": "valid"
},
{
"tcId": 2,
"comment": "pseudorandom signature",
"flags": [
"ValidSignature"
],
"msg": "4d7367",
"sig": "302d02140f5720c6bd95624b603b2be5a75e487b34268d5f021500bfd6d370b516687113b12a4fc95eebb874a646fa",
"result": "valid"
},
{
"tcId": 3,
"comment": "pseudorandom signature",
"flags": [
"ValidSignature"
],
"msg": "313233343030",
"sig": "302c02142dfc21da5c39d441fc6683e54da009f413a0ff870214647382b3e39a8ac8cbe02f4666d045928a0eb061",
"result": "valid"
},
{
"tcId": 4,
"comment": "pseudorandom signature",
"flags": [
"ValidSignature"
],
"msg": "0000000000000000000000000000000000000000",
"sig": "302d02144f71014057dde59269ba089c49082dab3ffa9af30215008d1abb842b2f932a04c2dd19a2f2109a57c88c32",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0450cd6584a80522992ecc20c20280c358c15e5085e0a12cbbb20fbec12ce194c0f90b72331db90fce",
"wx": "50cd6584a80522992ecc20c20280c358c15e5085",
"wy": "00e0a12cbbb20fbec12ce194c0f90b72331db90fce"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000450cd6584a80522992ecc20c20280c358c15e5085e0a12cbbb20fbec12ce194c0f90b72331db90fce",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEUM1lhKgFIpkuzCDCAoDDWMFeUIXgoSy7\nsg++wSzhlMD5C3IzHbkPzg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 5,
"comment": "signature malleability",
"flags": [
"ValidSignature"
],
"msg": "313233343030",
"sig": "302e021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5021500a064880a1352852176abfa15c2787c05d84f5e8d",
"result": "valid"
},
{
"tcId": 6,
"comment": "Legacy: ASN encoding of r misses leading 0",
"flags": [
"MissingZero"
],
"msg": "313233343030",
"sig": "302c0214c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 7,
"comment": "valid",
"flags": [
"ValidSignature"
],
"msg": "313233343030",
"sig": "302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "valid"
},
{
"tcId": 8,
"comment": "length of sequence [r, s] uses long form encoding",
"flags": [
"BerEncodedSignature"
],
"msg": "313233343030",
"sig": "30812d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 9,
"comment": "length of sequence [r, s] contains a leading 0",
"flags": [
"BerEncodedSignature"
],
"msg": "313233343030",
"sig": "3082002d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 10,
"comment": "length of sequence [r, s] uses 46 instead of 45",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302e021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 11,
"comment": "length of sequence [r, s] uses 44 instead of 45",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302c021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 12,
"comment": "uint32 overflow in length of sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3085010000002d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 13,
"comment": "uint64 overflow in length of sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "308901000000000000002d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 14,
"comment": "length of sequence [r, s] = 2**31 - 1",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "30847fffffff021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 15,
"comment": "length of sequence [r, s] = 2**31",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "308480000000021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 16,
"comment": "length of sequence [r, s] = 2**32 - 1",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3084ffffffff021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 17,
"comment": "length of sequence [r, s] = 2**40 - 1",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3085ffffffffff021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 18,
"comment": "length of sequence [r, s] = 2**64 - 1",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3088ffffffffffffffff021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 19,
"comment": "incorrect length of sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "30ff021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 20,
"comment": "replaced sequence [r, s] by an indefinite length tag without termination",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3080021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 21,
"comment": "removing sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "",
"result": "invalid"
},
{
"tcId": 22,
"comment": "lonely sequence tag",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "30",
"result": "invalid"
},
{
"tcId": 23,
"comment": "appending 0's to sequence [r, s]",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302f021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca0000",
"result": "invalid"
},
{
"tcId": 24,
"comment": "prepending 0's to sequence [r, s]",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302f0000021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 25,
"comment": "appending unused 0's to sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca0000",
"result": "invalid"
},
{
"tcId": 26,
"comment": "appending null value to sequence [r, s]",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302f021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca0500",
"result": "invalid"
},
{
"tcId": 27,
"comment": "prepending garbage to sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3032498177302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 28,
"comment": "prepending garbage to sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "30312500302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 29,
"comment": "appending garbage to sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302f302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca0004deadbeef",
"result": "invalid"
},
{
"tcId": 30,
"comment": "including undefined tags",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "3035aa00bb00cd00302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 31,
"comment": "including undefined tags",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3035221daa00bb00cd00021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 32,
"comment": "including undefined tags",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3035021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5221caa00bb00cd0002145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 33,
"comment": "truncated length of sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3081",
"result": "invalid"
},
{
"tcId": 34,
"comment": "including undefined tags to sequence [r, s]",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "3033aa02aabb302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 35,
"comment": "using composition with indefinite length for sequence [r, s]",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "3080302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca0000",
"result": "invalid"
},
{
"tcId": 36,
"comment": "using composition with wrong tag for sequence [r, s]",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "3080312d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca0000",
"result": "invalid"
},
{
"tcId": 37,
"comment": "Replacing sequence [r, s] with NULL",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "0500",
"result": "invalid"
},
{
"tcId": 38,
"comment": "changing tag value of sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "2e2d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 39,
"comment": "changing tag value of sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "2f2d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 40,
"comment": "changing tag value of sequence [r, s]",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "312d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 41,
"comment": "changing tag value of sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "322d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 42,
"comment": "changing tag value of sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "ff2d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 43,
"comment": "dropping value of sequence [r, s]",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "3000",
"result": "invalid"
},
{
"tcId": 44,
"comment": "using composition for sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3031300102302c1500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 45,
"comment": "truncated sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302c021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3",
"result": "invalid"
},
{
"tcId": 46,
"comment": "truncated sequence [r, s]",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302c1500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 47,
"comment": "sequence [r, s] of size 4142 to check for overflows",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3082102e021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"result": "invalid"
},
{
"tcId": 48,
"comment": "indefinite length",
"flags": [
"BerEncodedSignature"
],
"msg": "313233343030",
"sig": "3080021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca0000",
"result": "invalid"
},
{
"tcId": 49,
"comment": "indefinite length with truncated delimiter",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3080021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca00",
"result": "invalid"
},
{
"tcId": 50,
"comment": "indefinite length with additional element",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "3080021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca05000000",
"result": "invalid"
},
{
"tcId": 51,
"comment": "indefinite length with truncated element",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3080021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca060811220000",
"result": "invalid"
},
{
"tcId": 52,
"comment": "indefinite length with garbage",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3080021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca0000fe02beef",
"result": "invalid"
},
{
"tcId": 53,
"comment": "indefinite length with nonempty EOC",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3080021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca0002beef",
"result": "invalid"
},
{
"tcId": 54,
"comment": "prepend empty sequence",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302f3000021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 55,
"comment": "append empty sequence",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302f021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca3000",
"result": "invalid"
},
{
"tcId": 56,
"comment": "append zero",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "3030021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca020100",
"result": "invalid"
},
{
"tcId": 57,
"comment": "append garbage with high tag number",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "3030021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3cabf7f00",
"result": "invalid"
},
{
"tcId": 58,
"comment": "append null with explicit tag",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "3031021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3caa0020500",
"result": "invalid"
},
{
"tcId": 59,
"comment": "append null with implicit tag",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302f021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3caa000",
"result": "invalid"
},
{
"tcId": 60,
"comment": "sequence of sequence",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302f302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 61,
"comment": "truncated sequence: removed last 1 elements",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "3017021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5",
"result": "invalid"
},
{
"tcId": 62,
"comment": "repeating element in sequence",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "3043021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca02145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 63,
"comment": "flipped bit 0 in r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302b00c0d64c9119a1ef31b0b2a60b24a93580b2ff29e402145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 64,
"comment": "flipped bit 32 in r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302b00c0d64c9119a1ef31b0b2a60b24a93581b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 65,
"comment": "flipped bit 48 in r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302b00c0d64c9119a1ef31b0b2a60b24a83580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 66,
"comment": "flipped bit 64 in r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302b00c0d64c9119a1ef31b0b2a60a24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 67,
"comment": "length of r uses long form encoding",
"flags": [
"BerEncodedSignature"
],
"msg": "313233343030",
"sig": "302e02811500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 68,
"comment": "length of r contains a leading 0",
"flags": [
"BerEncodedSignature"
],
"msg": "313233343030",
"sig": "302f0282001500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 69,
"comment": "length of r uses 22 instead of 21",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302d021600c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 70,
"comment": "length of r uses 20 instead of 21",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302d021400c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 71,
"comment": "uint32 overflow in length of r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "30320285010000001500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 72,
"comment": "uint64 overflow in length of r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3036028901000000000000001500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 73,
"comment": "length of r = 2**31 - 1",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "303102847fffffff00c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 74,
"comment": "length of r = 2**31",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "303102848000000000c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 75,
"comment": "length of r = 2**32 - 1",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "30310284ffffffff00c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 76,
"comment": "length of r = 2**40 - 1",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "30320285ffffffffff00c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 77,
"comment": "length of r = 2**64 - 1",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "30350288ffffffffffffffff00c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 78,
"comment": "incorrect length of r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302d02ff00c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 79,
"comment": "replaced r by an indefinite length tag without termination",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302d028000c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 80,
"comment": "removing r",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "301602145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 81,
"comment": "lonely integer tag",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "30170202145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 82,
"comment": "lonely integer tag",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3018021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502",
"result": "invalid"
},
{
"tcId": 83,
"comment": "appending 0's to r",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302f021700c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5000002145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 84,
"comment": "prepending 0's to r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302f0217000000c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 85,
"comment": "appending unused 0's to r",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302f021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5000002145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 86,
"comment": "appending null value to r",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302f021700c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5050002145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 87,
"comment": "prepending garbage to r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3032221a498177021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 88,
"comment": "prepending garbage to r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "303122192500021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 89,
"comment": "appending garbage to r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "30352217021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e50004deadbeef02145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 90,
"comment": "truncated length of r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3018028102145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 91,
"comment": "including undefined tags to r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3033221baa02aabb021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 92,
"comment": "using composition with indefinite length for r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "30312280021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5000002145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 93,
"comment": "using composition with wrong tag for r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "30312280031500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5000002145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 94,
"comment": "Replacing r with NULL",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "3018050002145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 95,
"comment": "changing tag value of r",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302d001500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 96,
"comment": "changing tag value of r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302d011500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 97,
"comment": "changing tag value of r",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302d031500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 98,
"comment": "changing tag value of r",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302d041500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 99,
"comment": "changing tag value of r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302dff1500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 100,
"comment": "dropping value of r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3018020002145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 101,
"comment": "using composition for r",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "303122190201000214c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 102,
"comment": "modifying first byte of r",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302d021502c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 103,
"comment": "modifying last byte of r",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff296502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 104,
"comment": "truncated r",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302c021400c0d64c9119a1ef31b0b2a60b24a93580b2ff2902145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 105,
"comment": "r of size 4118 to check for overflows",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "308210300282101600c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 106,
"comment": "leading ff in r",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302e0216ff00c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 107,
"comment": "replaced r by infinity",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "301909018002145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 108,
"comment": "replacing r with zero",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "301902010002145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 109,
"comment": "flipped bit 0 in s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302b021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e55f9b77f5ecad7ade8955fab336af32cdf225c3cb",
"result": "invalid"
},
{
"tcId": 110,
"comment": "flipped bit 32 in s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302b021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e55f9b77f5ecad7ade8955fab336af32ccf225c3ca",
"result": "invalid"
},
{
"tcId": 111,
"comment": "flipped bit 48 in s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302b021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e55f9b77f5ecad7ade8955fab336ae32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 112,
"comment": "flipped bit 64 in s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302b021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e55f9b77f5ecad7ade8955fab236af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 113,
"comment": "length of s uses long form encoding",
"flags": [
"BerEncodedSignature"
],
"msg": "313233343030",
"sig": "302e021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e50281145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 114,
"comment": "length of s contains a leading 0",
"flags": [
"BerEncodedSignature"
],
"msg": "313233343030",
"sig": "302f021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5028200145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 115,
"comment": "length of s uses 21 instead of 20",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502155f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 116,
"comment": "length of s uses 19 instead of 20",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502135f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 117,
"comment": "uint32 overflow in length of s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3032021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5028501000000145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 118,
"comment": "uint64 overflow in length of s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3036021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502890100000000000000145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 119,
"comment": "length of s = 2**31 - 1",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3031021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502847fffffff5f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 120,
"comment": "length of s = 2**31",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3031021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e50284800000005f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 121,
"comment": "length of s = 2**32 - 1",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3031021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e50284ffffffff5f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 122,
"comment": "length of s = 2**40 - 1",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3032021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e50285ffffffffff5f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 123,
"comment": "length of s = 2**64 - 1",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3035021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e50288ffffffffffffffff5f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 124,
"comment": "incorrect length of s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502ff5f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 125,
"comment": "replaced s by an indefinite length tag without termination",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502805f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 126,
"comment": "appending 0's to s",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302f021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502165f9b77f5ecad7ade8955fab336af32cdf225c3ca0000",
"result": "invalid"
},
{
"tcId": 127,
"comment": "prepending 0's to s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302f021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5021600005f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 128,
"comment": "appending null value to s",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302f021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502165f9b77f5ecad7ade8955fab336af32cdf225c3ca0500",
"result": "invalid"
},
{
"tcId": 129,
"comment": "prepending garbage to s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3032021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5221949817702145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 130,
"comment": "prepending garbage to s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3031021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e52218250002145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 131,
"comment": "appending garbage to s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3035021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5221602145f9b77f5ecad7ade8955fab336af32cdf225c3ca0004deadbeef",
"result": "invalid"
},
{
"tcId": 132,
"comment": "truncated length of s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3019021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e50281",
"result": "invalid"
},
{
"tcId": 133,
"comment": "including undefined tags to s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3033021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5221aaa02aabb02145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 134,
"comment": "using composition with indefinite length for s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3031021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5228002145f9b77f5ecad7ade8955fab336af32cdf225c3ca0000",
"result": "invalid"
},
{
"tcId": 135,
"comment": "using composition with wrong tag for s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3031021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5228003145f9b77f5ecad7ade8955fab336af32cdf225c3ca0000",
"result": "invalid"
},
{
"tcId": 136,
"comment": "Replacing s with NULL",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "3019021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e50500",
"result": "invalid"
},
{
"tcId": 137,
"comment": "changing tag value of s",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e500145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 138,
"comment": "changing tag value of s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e501145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 139,
"comment": "changing tag value of s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e503145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 140,
"comment": "changing tag value of s",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e504145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 141,
"comment": "changing tag value of s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5ff145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 142,
"comment": "dropping value of s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3019021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e50200",
"result": "invalid"
},
{
"tcId": 143,
"comment": "using composition for s",
"flags": [
"InvalidEncoding"
],
"msg": "313233343030",
"sig": "3031021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5221802015f02139b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 144,
"comment": "modifying first byte of s",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145d9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 145,
"comment": "modifying last byte of s",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302d021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c34a",
"result": "invalid"
},
{
"tcId": 146,
"comment": "truncated s",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302c021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502135f9b77f5ecad7ade8955fab336af32cdf225c3",
"result": "invalid"
},
{
"tcId": 147,
"comment": "truncated s",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302c021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502139b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 148,
"comment": "s of size 4117 to check for overflows",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "30821030021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5028210155f9b77f5ecad7ade8955fab336af32cdf225c3ca0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"result": "invalid"
},
{
"tcId": 149,
"comment": "leading ff in s",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "302e021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e50215ff5f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 150,
"comment": "replaced s by infinity",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "301a021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5090180",
"result": "invalid"
},
{
"tcId": 151,
"comment": "replacing s with zero",
"flags": [
"ModifiedSignature"
],
"msg": "313233343030",
"sig": "301a021500c0d64c9119a1ef31b0b2a60b24a93580b2ff29e5020100",
"result": "invalid"
},
{
"tcId": 152,
"comment": "replaced r by r + n",
"flags": [
"RangeCheck"
],
"msg": "313233343030",
"sig": "302d021501c0d64c9119a1ef31b0b49ad41dd0e4547d744c3c02145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 153,
"comment": "replaced r by r - n",
"flags": [
"RangeCheck"
],
"msg": "313233343030",
"sig": "302c0214c0d64c9119a1ef31b0b0b1422b8186ace88a078e02145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 154,
"comment": "replaced r by r + 256 * n",
"flags": [
"RangeCheck"
],
"msg": "313233343030",
"sig": "302e02160100c0d64c9119a1ef31b2a76f044c58094b282180e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 155,
"comment": "replaced r by -r",
"flags": [
"ModifiedInteger"
],
"msg": "313233343030",
"sig": "302d0215ff3f29b36ee65e10ce4f4d59f4db56ca7f4d00d61b02145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 156,
"comment": "replaced r by n - r",
"flags": [
"ModifiedInteger"
],
"msg": "313233343030",
"sig": "302c02143f29b36ee65e10ce4f4f4ebdd47e79531775f87202145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 157,
"comment": "replaced r by -n - r",
"flags": [
"ModifiedInteger"
],
"msg": "313233343030",
"sig": "302d0215fe3f29b36ee65e10ce4f4b652be22f1bab828bb3c402145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 158,
"comment": "replaced r by r - 2**161",
"flags": [
"IntegerOverflow"
],
"msg": "313233343030",
"sig": "302d0215fec0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 159,
"comment": "replaced r by r + 2**225",
"flags": [
"IntegerOverflow"
],
"msg": "313233343030",
"sig": "3035021d020000000000000000c0d64c9119a1ef31b0b2a60b24a93580b2ff29e502145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 160,
"comment": "replaced s by s + n",
"flags": [
"RangeCheck"
],
"msg": "313233343030",
"sig": "302d0215015f9b77f5ecad7ade8957ef7c2fd6e1a1bc9ae62102145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 161,
"comment": "replaced s by s - n",
"flags": [
"RangeCheck"
],
"msg": "313233343030",
"sig": "302d0215ff5f9b77f5ecad7ade895405ea3d8783fa27b0a17302145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 162,
"comment": "replaced s by s + 256 * n",
"flags": [
"RangeCheck"
],
"msg": "313233343030",
"sig": "302e021601005f9b77f5ecad7ade8b4ac3ac5e5e069867481aca02145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 163,
"comment": "replaced s by -s",
"flags": [
"ModifiedInteger"
],
"msg": "313233343030",
"sig": "302c0214a064880a1352852176aa054cc950cd320dda3c3602145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 164,
"comment": "replaced s by -n - s",
"flags": [
"ModifiedInteger"
],
"msg": "313233343030",
"sig": "302d0215fea064880a1352852176a81083d0291e5e436519df02145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 165,
"comment": "replaced s by s + 2**161",
"flags": [
"IntegerOverflow"
],
"msg": "313233343030",
"sig": "302d0215025f9b77f5ecad7ade8955fab336af32cdf225c3ca02145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 166,
"comment": "replaced s by s - 2**161",
"flags": [
"IntegerOverflow"
],
"msg": "313233343030",
"sig": "302d0215fe5f9b77f5ecad7ade8955fab336af32cdf225c3ca02145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 167,
"comment": "replaced s by s + 2**225",
"flags": [
"IntegerOverflow"
],
"msg": "313233343030",
"sig": "3035021d0200000000000000005f9b77f5ecad7ade8955fab336af32cdf225c3ca02145f9b77f5ecad7ade8955fab336af32cdf225c3ca",
"result": "invalid"
},
{
"tcId": 168,
"comment": "Signature with special case values r=0 and s=0",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "3006020100020100",
"result": "invalid"
},
{
"tcId": 169,
"comment": "Signature with special case values r=0 and s=1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "3006020100020101",
"result": "invalid"
},
{
"tcId": 170,
"comment": "Signature with special case values r=0 and s=-1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "30060201000201ff",
"result": "invalid"
},
{
"tcId": 171,
"comment": "Signature with special case values r=0 and s=n",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a02010002150100000000000000000001f4c8f927aed3ca752257",
"result": "invalid"
},
{
"tcId": 172,
"comment": "Signature with special case values r=0 and s=n - 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a02010002150100000000000000000001f4c8f927aed3ca752256",
"result": "invalid"
},
{
"tcId": 173,
"comment": "Signature with special case values r=0 and s=n + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a02010002150100000000000000000001f4c8f927aed3ca752258",
"result": "invalid"
},
{
"tcId": 174,
"comment": "Signature with special case values r=0 and s=p",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a020100021500ffffffffffffffffffffffffffffffff7fffffff",
"result": "invalid"
},
{
"tcId": 175,
"comment": "Signature with special case values r=0 and s=p + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a020100021500ffffffffffffffffffffffffffffffff80000000",
"result": "invalid"
},
{
"tcId": 176,
"comment": "Signature with special case values r=1 and s=0",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "3006020101020100",
"result": "invalid"
},
{
"tcId": 177,
"comment": "Signature with special case values r=1 and s=1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "3006020101020101",
"result": "invalid"
},
{
"tcId": 178,
"comment": "Signature with special case values r=1 and s=-1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "30060201010201ff",
"result": "invalid"
},
{
"tcId": 179,
"comment": "Signature with special case values r=1 and s=n",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a02010102150100000000000000000001f4c8f927aed3ca752257",
"result": "invalid"
},
{
"tcId": 180,
"comment": "Signature with special case values r=1 and s=n - 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a02010102150100000000000000000001f4c8f927aed3ca752256",
"result": "invalid"
},
{
"tcId": 181,
"comment": "Signature with special case values r=1 and s=n + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a02010102150100000000000000000001f4c8f927aed3ca752258",
"result": "invalid"
},
{
"tcId": 182,
"comment": "Signature with special case values r=1 and s=p",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a020101021500ffffffffffffffffffffffffffffffff7fffffff",
"result": "invalid"
},
{
"tcId": 183,
"comment": "Signature with special case values r=1 and s=p + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a020101021500ffffffffffffffffffffffffffffffff80000000",
"result": "invalid"
},
{
"tcId": 184,
"comment": "Signature with special case values r=-1 and s=0",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "30060201ff020100",
"result": "invalid"
},
{
"tcId": 185,
"comment": "Signature with special case values r=-1 and s=1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "30060201ff020101",
"result": "invalid"
},
{
"tcId": 186,
"comment": "Signature with special case values r=-1 and s=-1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "30060201ff0201ff",
"result": "invalid"
},
{
"tcId": 187,
"comment": "Signature with special case values r=-1 and s=n",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a0201ff02150100000000000000000001f4c8f927aed3ca752257",
"result": "invalid"
},
{
"tcId": 188,
"comment": "Signature with special case values r=-1 and s=n - 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a0201ff02150100000000000000000001f4c8f927aed3ca752256",
"result": "invalid"
},
{
"tcId": 189,
"comment": "Signature with special case values r=-1 and s=n + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a0201ff02150100000000000000000001f4c8f927aed3ca752258",
"result": "invalid"
},
{
"tcId": 190,
"comment": "Signature with special case values r=-1 and s=p",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a0201ff021500ffffffffffffffffffffffffffffffff7fffffff",
"result": "invalid"
},
{
"tcId": 191,
"comment": "Signature with special case values r=-1 and s=p + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a0201ff021500ffffffffffffffffffffffffffffffff80000000",
"result": "invalid"
},
{
"tcId": 192,
"comment": "Signature with special case values r=n and s=0",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a02150100000000000000000001f4c8f927aed3ca752257020100",
"result": "invalid"
},
{
"tcId": 193,
"comment": "Signature with special case values r=n and s=1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a02150100000000000000000001f4c8f927aed3ca752257020101",
"result": "invalid"
},
{
"tcId": 194,
"comment": "Signature with special case values r=n and s=-1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a02150100000000000000000001f4c8f927aed3ca7522570201ff",
"result": "invalid"
},
{
"tcId": 195,
"comment": "Signature with special case values r=n and s=n",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e02150100000000000000000001f4c8f927aed3ca75225702150100000000000000000001f4c8f927aed3ca752257",
"result": "invalid"
},
{
"tcId": 196,
"comment": "Signature with special case values r=n and s=n - 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e02150100000000000000000001f4c8f927aed3ca75225702150100000000000000000001f4c8f927aed3ca752256",
"result": "invalid"
},
{
"tcId": 197,
"comment": "Signature with special case values r=n and s=n + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e02150100000000000000000001f4c8f927aed3ca75225702150100000000000000000001f4c8f927aed3ca752258",
"result": "invalid"
},
{
"tcId": 198,
"comment": "Signature with special case values r=n and s=p",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e02150100000000000000000001f4c8f927aed3ca752257021500ffffffffffffffffffffffffffffffff7fffffff",
"result": "invalid"
},
{
"tcId": 199,
"comment": "Signature with special case values r=n and s=p + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e02150100000000000000000001f4c8f927aed3ca752257021500ffffffffffffffffffffffffffffffff80000000",
"result": "invalid"
},
{
"tcId": 200,
"comment": "Signature with special case values r=n - 1 and s=0",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a02150100000000000000000001f4c8f927aed3ca752256020100",
"result": "invalid"
},
{
"tcId": 201,
"comment": "Signature with special case values r=n - 1 and s=1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a02150100000000000000000001f4c8f927aed3ca752256020101",
"result": "invalid"
},
{
"tcId": 202,
"comment": "Signature with special case values r=n - 1 and s=-1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a02150100000000000000000001f4c8f927aed3ca7522560201ff",
"result": "invalid"
},
{
"tcId": 203,
"comment": "Signature with special case values r=n - 1 and s=n",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e02150100000000000000000001f4c8f927aed3ca75225602150100000000000000000001f4c8f927aed3ca752257",
"result": "invalid"
},
{
"tcId": 204,
"comment": "Signature with special case values r=n - 1 and s=n - 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e02150100000000000000000001f4c8f927aed3ca75225602150100000000000000000001f4c8f927aed3ca752256",
"result": "invalid"
},
{
"tcId": 205,
"comment": "Signature with special case values r=n - 1 and s=n + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e02150100000000000000000001f4c8f927aed3ca75225602150100000000000000000001f4c8f927aed3ca752258",
"result": "invalid"
},
{
"tcId": 206,
"comment": "Signature with special case values r=n - 1 and s=p",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e02150100000000000000000001f4c8f927aed3ca752256021500ffffffffffffffffffffffffffffffff7fffffff",
"result": "invalid"
},
{
"tcId": 207,
"comment": "Signature with special case values r=n - 1 and s=p + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e02150100000000000000000001f4c8f927aed3ca752256021500ffffffffffffffffffffffffffffffff80000000",
"result": "invalid"
},
{
"tcId": 208,
"comment": "Signature with special case values r=n + 1 and s=0",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a02150100000000000000000001f4c8f927aed3ca752258020100",
"result": "invalid"
},
{
"tcId": 209,
"comment": "Signature with special case values r=n + 1 and s=1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a02150100000000000000000001f4c8f927aed3ca752258020101",
"result": "invalid"
},
{
"tcId": 210,
"comment": "Signature with special case values r=n + 1 and s=-1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a02150100000000000000000001f4c8f927aed3ca7522580201ff",
"result": "invalid"
},
{
"tcId": 211,
"comment": "Signature with special case values r=n + 1 and s=n",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e02150100000000000000000001f4c8f927aed3ca75225802150100000000000000000001f4c8f927aed3ca752257",
"result": "invalid"
},
{
"tcId": 212,
"comment": "Signature with special case values r=n + 1 and s=n - 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e02150100000000000000000001f4c8f927aed3ca75225802150100000000000000000001f4c8f927aed3ca752256",
"result": "invalid"
},
{
"tcId": 213,
"comment": "Signature with special case values r=n + 1 and s=n + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e02150100000000000000000001f4c8f927aed3ca75225802150100000000000000000001f4c8f927aed3ca752258",
"result": "invalid"
},
{
"tcId": 214,
"comment": "Signature with special case values r=n + 1 and s=p",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e02150100000000000000000001f4c8f927aed3ca752258021500ffffffffffffffffffffffffffffffff7fffffff",
"result": "invalid"
},
{
"tcId": 215,
"comment": "Signature with special case values r=n + 1 and s=p + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e02150100000000000000000001f4c8f927aed3ca752258021500ffffffffffffffffffffffffffffffff80000000",
"result": "invalid"
},
{
"tcId": 216,
"comment": "Signature with special case values r=p and s=0",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a021500ffffffffffffffffffffffffffffffff7fffffff020100",
"result": "invalid"
},
{
"tcId": 217,
"comment": "Signature with special case values r=p and s=1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a021500ffffffffffffffffffffffffffffffff7fffffff020101",
"result": "invalid"
},
{
"tcId": 218,
"comment": "Signature with special case values r=p and s=-1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a021500ffffffffffffffffffffffffffffffff7fffffff0201ff",
"result": "invalid"
},
{
"tcId": 219,
"comment": "Signature with special case values r=p and s=n",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e021500ffffffffffffffffffffffffffffffff7fffffff02150100000000000000000001f4c8f927aed3ca752257",
"result": "invalid"
},
{
"tcId": 220,
"comment": "Signature with special case values r=p and s=n - 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e021500ffffffffffffffffffffffffffffffff7fffffff02150100000000000000000001f4c8f927aed3ca752256",
"result": "invalid"
},
{
"tcId": 221,
"comment": "Signature with special case values r=p and s=n + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e021500ffffffffffffffffffffffffffffffff7fffffff02150100000000000000000001f4c8f927aed3ca752258",
"result": "invalid"
},
{
"tcId": 222,
"comment": "Signature with special case values r=p and s=p",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e021500ffffffffffffffffffffffffffffffff7fffffff021500ffffffffffffffffffffffffffffffff7fffffff",
"result": "invalid"
},
{
"tcId": 223,
"comment": "Signature with special case values r=p and s=p + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e021500ffffffffffffffffffffffffffffffff7fffffff021500ffffffffffffffffffffffffffffffff80000000",
"result": "invalid"
},
{
"tcId": 224,
"comment": "Signature with special case values r=p + 1 and s=0",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a021500ffffffffffffffffffffffffffffffff80000000020100",
"result": "invalid"
},
{
"tcId": 225,
"comment": "Signature with special case values r=p + 1 and s=1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a021500ffffffffffffffffffffffffffffffff80000000020101",
"result": "invalid"
},
{
"tcId": 226,
"comment": "Signature with special case values r=p + 1 and s=-1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "301a021500ffffffffffffffffffffffffffffffff800000000201ff",
"result": "invalid"
},
{
"tcId": 227,
"comment": "Signature with special case values r=p + 1 and s=n",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e021500ffffffffffffffffffffffffffffffff8000000002150100000000000000000001f4c8f927aed3ca752257",
"result": "invalid"
},
{
"tcId": 228,
"comment": "Signature with special case values r=p + 1 and s=n - 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e021500ffffffffffffffffffffffffffffffff8000000002150100000000000000000001f4c8f927aed3ca752256",
"result": "invalid"
},
{
"tcId": 229,
"comment": "Signature with special case values r=p + 1 and s=n + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e021500ffffffffffffffffffffffffffffffff8000000002150100000000000000000001f4c8f927aed3ca752258",
"result": "invalid"
},
{
"tcId": 230,
"comment": "Signature with special case values r=p + 1 and s=p",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e021500ffffffffffffffffffffffffffffffff80000000021500ffffffffffffffffffffffffffffffff7fffffff",
"result": "invalid"
},
{
"tcId": 231,
"comment": "Signature with special case values r=p + 1 and s=p + 1",
"flags": [
"InvalidSignature"
],
"msg": "313233343030",
"sig": "302e021500ffffffffffffffffffffffffffffffff80000000021500ffffffffffffffffffffffffffffffff80000000",
"result": "invalid"
},
{
"tcId": 232,
"comment": "Signature encoding contains incorrect types: r=0, s=0.25",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3008020100090380fe01",
"result": "invalid"
},
{
"tcId": 233,
"comment": "Signature encoding contains incorrect types: r=0, s=nan",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3006020100090142",
"result": "invalid"
},
{
"tcId": 234,
"comment": "Signature encoding contains incorrect types: r=0, s=True",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3006020100010101",
"result": "invalid"
},
{
"tcId": 235,
"comment": "Signature encoding contains incorrect types: r=0, s=False",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3006020100010100",
"result": "invalid"
},
{
"tcId": 236,
"comment": "Signature encoding contains incorrect types: r=0, s=Null",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30050201000500",
"result": "invalid"
},
{
"tcId": 237,
"comment": "Signature encoding contains incorrect types: r=0, s=empyt UTF-8 string",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30050201000c00",
"result": "invalid"
},
{
"tcId": 238,
"comment": "Signature encoding contains incorrect types: r=0, s=\"0\"",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30060201000c0130",
"result": "invalid"
},
{
"tcId": 239,
"comment": "Signature encoding contains incorrect types: r=0, s=empty list",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30050201003000",
"result": "invalid"
},
{
"tcId": 240,
"comment": "Signature encoding contains incorrect types: r=0, s=list containing 0",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30080201003003020100",
"result": "invalid"
},
{
"tcId": 241,
"comment": "Signature encoding contains incorrect types: r=1, s=0.25",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3008020101090380fe01",
"result": "invalid"
},
{
"tcId": 242,
"comment": "Signature encoding contains incorrect types: r=1, s=nan",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3006020101090142",
"result": "invalid"
},
{
"tcId": 243,
"comment": "Signature encoding contains incorrect types: r=1, s=True",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3006020101010101",
"result": "invalid"
},
{
"tcId": 244,
"comment": "Signature encoding contains incorrect types: r=1, s=False",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3006020101010100",
"result": "invalid"
},
{
"tcId": 245,
"comment": "Signature encoding contains incorrect types: r=1, s=Null",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30050201010500",
"result": "invalid"
},
{
"tcId": 246,
"comment": "Signature encoding contains incorrect types: r=1, s=empyt UTF-8 string",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30050201010c00",
"result": "invalid"
},
{
"tcId": 247,
"comment": "Signature encoding contains incorrect types: r=1, s=\"0\"",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30060201010c0130",
"result": "invalid"
},
{
"tcId": 248,
"comment": "Signature encoding contains incorrect types: r=1, s=empty list",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30050201013000",
"result": "invalid"
},
{
"tcId": 249,
"comment": "Signature encoding contains incorrect types: r=1, s=list containing 0",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30080201013003020100",
"result": "invalid"
},
{
"tcId": 250,
"comment": "Signature encoding contains incorrect types: r=-1, s=0.25",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30080201ff090380fe01",
"result": "invalid"
},
{
"tcId": 251,
"comment": "Signature encoding contains incorrect types: r=-1, s=nan",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30060201ff090142",
"result": "invalid"
},
{
"tcId": 252,
"comment": "Signature encoding contains incorrect types: r=-1, s=True",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30060201ff010101",
"result": "invalid"
},
{
"tcId": 253,
"comment": "Signature encoding contains incorrect types: r=-1, s=False",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30060201ff010100",
"result": "invalid"
},
{
"tcId": 254,
"comment": "Signature encoding contains incorrect types: r=-1, s=Null",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30050201ff0500",
"result": "invalid"
},
{
"tcId": 255,
"comment": "Signature encoding contains incorrect types: r=-1, s=empyt UTF-8 string",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30050201ff0c00",
"result": "invalid"
},
{
"tcId": 256,
"comment": "Signature encoding contains incorrect types: r=-1, s=\"0\"",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30060201ff0c0130",
"result": "invalid"
},
{
"tcId": 257,
"comment": "Signature encoding contains incorrect types: r=-1, s=empty list",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30050201ff3000",
"result": "invalid"
},
{
"tcId": 258,
"comment": "Signature encoding contains incorrect types: r=-1, s=list containing 0",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30080201ff3003020100",
"result": "invalid"
},
{
"tcId": 259,
"comment": "Signature encoding contains incorrect types: r=n, s=0.25",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "301c02150100000000000000000001f4c8f927aed3ca752257090380fe01",
"result": "invalid"
},
{
"tcId": 260,
"comment": "Signature encoding contains incorrect types: r=n, s=nan",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "301a02150100000000000000000001f4c8f927aed3ca752257090142",
"result": "invalid"
},
{
"tcId": 261,
"comment": "Signature encoding contains incorrect types: r=n, s=True",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "301a02150100000000000000000001f4c8f927aed3ca752257010101",
"result": "invalid"
},
{
"tcId": 262,
"comment": "Signature encoding contains incorrect types: r=n, s=False",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "301a02150100000000000000000001f4c8f927aed3ca752257010100",
"result": "invalid"
},
{
"tcId": 263,
"comment": "Signature encoding contains incorrect types: r=n, s=Null",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "301902150100000000000000000001f4c8f927aed3ca7522570500",
"result": "invalid"
},
{
"tcId": 264,
"comment": "Signature encoding contains incorrect types: r=n, s=empyt UTF-8 string",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "301902150100000000000000000001f4c8f927aed3ca7522570c00",
"result": "invalid"
},
{
"tcId": 265,
"comment": "Signature encoding contains incorrect types: r=n, s=\"0\"",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "301a02150100000000000000000001f4c8f927aed3ca7522570c0130",
"result": "invalid"
},
{
"tcId": 266,
"comment": "Signature encoding contains incorrect types: r=n, s=empty list",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "301902150100000000000000000001f4c8f927aed3ca7522573000",
"result": "invalid"
},
{
"tcId": 267,
"comment": "Signature encoding contains incorrect types: r=n, s=list containing 0",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "301c02150100000000000000000001f4c8f927aed3ca7522573003020100",
"result": "invalid"
},
{
"tcId": 268,
"comment": "Signature encoding contains incorrect types: r=p, s=0.25",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "301c021500ffffffffffffffffffffffffffffffff7fffffff090380fe01",
"result": "invalid"
},
{
"tcId": 269,
"comment": "Signature encoding contains incorrect types: r=p, s=nan",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "301a021500ffffffffffffffffffffffffffffffff7fffffff090142",
"result": "invalid"
},
{
"tcId": 270,
"comment": "Signature encoding contains incorrect types: r=p, s=True",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "301a021500ffffffffffffffffffffffffffffffff7fffffff010101",
"result": "invalid"
},
{
"tcId": 271,
"comment": "Signature encoding contains incorrect types: r=p, s=False",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "301a021500ffffffffffffffffffffffffffffffff7fffffff010100",
"result": "invalid"
},
{
"tcId": 272,
"comment": "Signature encoding contains incorrect types: r=p, s=Null",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3019021500ffffffffffffffffffffffffffffffff7fffffff0500",
"result": "invalid"
},
{
"tcId": 273,
"comment": "Signature encoding contains incorrect types: r=p, s=empyt UTF-8 string",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3019021500ffffffffffffffffffffffffffffffff7fffffff0c00",
"result": "invalid"
},
{
"tcId": 274,
"comment": "Signature encoding contains incorrect types: r=p, s=\"0\"",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "301a021500ffffffffffffffffffffffffffffffff7fffffff0c0130",
"result": "invalid"
},
{
"tcId": 275,
"comment": "Signature encoding contains incorrect types: r=p, s=empty list",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3019021500ffffffffffffffffffffffffffffffff7fffffff3000",
"result": "invalid"
},
{
"tcId": 276,
"comment": "Signature encoding contains incorrect types: r=p, s=list containing 0",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "301c021500ffffffffffffffffffffffffffffffff7fffffff3003020100",
"result": "invalid"
},
{
"tcId": 277,
"comment": "Signature encoding contains incorrect types: r=0.25, s=0.25",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "300a090380fe01090380fe01",
"result": "invalid"
},
{
"tcId": 278,
"comment": "Signature encoding contains incorrect types: r=nan, s=nan",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3006090142090142",
"result": "invalid"
},
{
"tcId": 279,
"comment": "Signature encoding contains incorrect types: r=True, s=True",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3006010101010101",
"result": "invalid"
},
{
"tcId": 280,
"comment": "Signature encoding contains incorrect types: r=False, s=False",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3006010100010100",
"result": "invalid"
},
{
"tcId": 281,
"comment": "Signature encoding contains incorrect types: r=Null, s=Null",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "300405000500",
"result": "invalid"
},
{
"tcId": 282,
"comment": "Signature encoding contains incorrect types: r=empyt UTF-8 string, s=empyt UTF-8 string",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30040c000c00",
"result": "invalid"
},
{
"tcId": 283,
"comment": "Signature encoding contains incorrect types: r=\"0\", s=\"0\"",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30060c01300c0130",
"result": "invalid"
},
{
"tcId": 284,
"comment": "Signature encoding contains incorrect types: r=empty list, s=empty list",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "300430003000",
"result": "invalid"
},
{
"tcId": 285,
"comment": "Signature encoding contains incorrect types: r=list containing 0, s=list containing 0",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "300a30030201003003020100",
"result": "invalid"
},
{
"tcId": 286,
"comment": "Signature encoding contains incorrect types: r=0.25, s=0",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3008090380fe01020100",
"result": "invalid"
},
{
"tcId": 287,
"comment": "Signature encoding contains incorrect types: r=nan, s=0",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3006090142020100",
"result": "invalid"
},
{
"tcId": 288,
"comment": "Signature encoding contains incorrect types: r=True, s=0",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3006010101020100",
"result": "invalid"
},
{
"tcId": 289,
"comment": "Signature encoding contains incorrect types: r=False, s=0",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "3006010100020100",
"result": "invalid"
},
{
"tcId": 290,
"comment": "Signature encoding contains incorrect types: r=Null, s=0",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30050500020100",
"result": "invalid"
},
{
"tcId": 291,
"comment": "Signature encoding contains incorrect types: r=empyt UTF-8 string, s=0",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30050c00020100",
"result": "invalid"
},
{
"tcId": 292,
"comment": "Signature encoding contains incorrect types: r=\"0\", s=0",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30060c0130020100",
"result": "invalid"
},
{
"tcId": 293,
"comment": "Signature encoding contains incorrect types: r=empty list, s=0",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30053000020100",
"result": "invalid"
},
{
"tcId": 294,
"comment": "Signature encoding contains incorrect types: r=list containing 0, s=0",
"flags": [
"InvalidTypesInSignature"
],
"msg": "313233343030",
"sig": "30083003020100020100",
"result": "invalid"
},
{
"tcId": 295,
"comment": "Edge case for Shamir multiplication",
"flags": [
"EdgeCaseShamirMultiplication"
],
"msg": "3730353035",
"sig": "302e021500de3a6ee112b425f2144e452abaa9d11a237cec610215009c406f41e1688cd89e0a1651c5740c961c59949e",
"result": "valid"
},
{
"tcId": 296,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "343236343739373234",
"sig": "302d021500ad3f5fc09120df90e8740111934bdc50723172a10214410ae1236da5eda0b327bdbc9e6d545a34764051",
"result": "valid"
},
{
"tcId": 297,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "37313338363834383931",
"sig": "302c02142a08a7f52a3506c5ff0b0bdfc41ed256a998deca02143d5324b851f80f334befa39b77241cf06535a1f6",
"result": "valid"
},
{
"tcId": 298,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "3130333539333331363638",
"sig": "302c021448dbbef868af35b058bd34e507e85fc61fd60f3102142efb7e448ba59de5835198c3d5f5015113a3dae5",
"result": "valid"
},
{
"tcId": 299,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "33393439343031323135",
"sig": "302d021500a679ae2d7bc1f7d4c03fb2325928b253b090a56f0214646f90a9210a87b28324d7c50a454abcdca7f53c",
"result": "valid"
},
{
"tcId": 300,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "31333434323933303739",
"sig": "302c021447398e906863d57ea273977083d36ce35f1f619e021424959c9b1f06bb8822bd8fac8f45945fd1c7ebeb",
"result": "valid"
},
{
"tcId": 301,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "33373036323131373132",
"sig": "302d0214599bcba0ff3fe6f2d8b2544e3b824731666d19b1021500f5d15469fce1e244750792f327bb6ee5e8299f94",
"result": "valid"
},
{
"tcId": 302,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "333433363838373132",
"sig": "302c02144b24155af66bc983050381c2579ad91a85c48d4f021428b0d445e93fa372a59b7030c67d2124b9bbd65f",
"result": "valid"
},
{
"tcId": 303,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "31333531353330333730",
"sig": "302c021457999b6dcf7d77337d8445543f1ee0d212d7f85b02145f4c8fa2f113b3637504b42160ddae852daa1d78",
"result": "valid"
},
{
"tcId": 304,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "36353533323033313236",
"sig": "302d02140788eca735904e004f414f5bdb087365fae662d302150099e52af8c7f20ce34f31831ea32f6503c03c3a29",
"result": "valid"
},
{
"tcId": 305,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "31353634333436363033",
"sig": "302e021500f7bd7de59fe7791add20a4992425e20c1435de4a021500c5a9fea1317a237486a19894c4e2e8475eeac5c5",
"result": "valid"
},
{
"tcId": 306,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "34343239353339313137",
"sig": "302c02146e3647dfed9c5ae3cc481528a35f5741e9dc10c10214569c3937c0a118cb49358a640670916ba346db03",
"result": "valid"
},
{
"tcId": 307,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "3130393533323631333531",
"sig": "302d02145f603ecbac6982960efb6d8853de3ddfb4b2236e021500b4b779028c7e8ea850242607e6463884620188ac",
"result": "valid"
},
{
"tcId": 308,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "35393837333530303431",
"sig": "302c02141da6db19788b81fc3ddb980bdefa9a54d33717d00214018b151eeb8c79bf5be669f12cb784615e098317",
"result": "valid"
},
{
"tcId": 309,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "33343633303036383738",
"sig": "302d02147add46bab0d2c221d03f6a93d0fcc9e1a54b0c72021500b1781bd689a5334597b802713a0fd6f561132c82",
"result": "valid"
},
{
"tcId": 310,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "39383137333230323837",
"sig": "302e0215008311662f6c665414a4eba51c328b0379455230ce021500bed6cbdce059464888cb4912aa34b5dcb9e62123",
"result": "valid"
},
{
"tcId": 311,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "33323232303431303436",
"sig": "302d021500f86aa3566274a62777e474e85598fa2d56ae19e40214459c11cbc8a2ed4b794b6deed3c7ef7a4a45961f",
"result": "valid"
},
{
"tcId": 312,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "36363636333037313034",
"sig": "302c02143c2c6830a0733d25facdf0048a9d6c3b2921aecf02140c7e0c333dc82930f5f8a4337b379db7f0a526ee",
"result": "valid"
},
{
"tcId": 313,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "31303335393531383938",
"sig": "302e021500face1b45e18a0f9dabed5ff09bb800ec0536987c0215009e60b1c0a87937fc198034b4365622290cab54c1",
"result": "valid"
},
{
"tcId": 314,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "31383436353937313935",
"sig": "302d021500e3cafaa1fefe07ba010efe4ef7823cbb2e05d32b0214151f1b481a24ddd5df98c04d058548fd06f47f21",
"result": "valid"
},
{
"tcId": 315,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "33313336303436313839",
"sig": "302d0215009bda6733d547555fd2aa1391ff421302005d2a4d02144aac3e7c1dbc99a85560a921f34ecb3e8ba37466",
"result": "valid"
},
{
"tcId": 316,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "32363633373834323534",
"sig": "302c021453a8f7b311fbd2b71cfbc781c50923bf4c423335021433cf2cf617f565b831d82e93e8fb58de938dbbb5",
"result": "valid"
},
{
"tcId": 317,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "31363532313030353234",
"sig": "302c02143332e2dd4080616b964e7bfd569e7b3ca0767b38021465e0c755d4dcf460fbbd2640d347298f2a29c156",
"result": "valid"
},
{
"tcId": 318,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "35373438303831363936",
"sig": "302d021500d94703055d7a99e1727c20182565339945693cee02140130502398839f604729760999ed64350e576517",
"result": "valid"
},
{
"tcId": 319,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "36333433393133343638",
"sig": "302d02145c1a34fcc2cbcaf2778e85e94ada69e18ab40648021500c3798cb473af1d33b2df5ddfd7d48329dba04d31",
"result": "valid"
},
{
"tcId": 320,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "31353431313033353938",
"sig": "302e021500e063a77c688cb1a3deae3cfc44b9004105aa3c0e0215008f1e9b2fe1239931b0aa35b8ff7d555f076e8eac",
"result": "valid"
},
{
"tcId": 321,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "3130343738353830313238",
"sig": "302d02146f11c31e65689b848136fe044722081ded5f3bbc021500e975164548bbaff051e8fcbe3e7fd1da7460527a",
"result": "valid"
},
{
"tcId": 322,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "3130353336323835353638",
"sig": "302d0215008ec112600f5423fec61a9eac11c2d7f202660afb02143c3ef6efda5343622a9cb37114989019bcec3016",
"result": "valid"
},
{
"tcId": 323,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "393533393034313035",
"sig": "302e021500eaff9d359729732e49327affafe0750e42be994c021500b4f2ec9b4ab9705c1e407ce062b4220f74cb8209",
"result": "valid"
},
{
"tcId": 324,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "393738383438303339",
"sig": "302d021500b7237f113c3c39892e21bc1530089eb2623e1ab502141647796cd696dbf9fa852b14ee59b103823940f3",
"result": "valid"
},
{
"tcId": 325,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "33363130363732343432",
"sig": "302c021441d8153033a3144823afc2301780de5cc70792fa02140a9add978d502c71a16a0432451513c7255a4ec4",
"result": "valid"
},
{
"tcId": 326,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "31303534323430373035",
"sig": "302d02150094b7bbbb637080eadb0052b09edc4e1cf971af1802143fbe47451bb32f532c4f7c87125d40bd535f4478",
"result": "valid"
},
{
"tcId": 327,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "35313734343438313937",
"sig": "302e021500eadd4b4acce3825872573405025d1603eea896e4021500df0a9702fc9e237d05ba8ffdc37f646df9cbebbf",
"result": "valid"
},
{
"tcId": 328,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "31393637353631323531",
"sig": "302e021500a5bc403170737f5f296da2edf46c979b00f6b4bb0215008f0ce6d5f7e485753bf3f850254c5c32b385205a",
"result": "valid"
},
{
"tcId": 329,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "33343437323533333433",
"sig": "302c02146f10822c847280ca0c687e209d7738db57315dfc02147ffbab843768815a87be79b2f1edce6be8423480",
"result": "valid"
},
{
"tcId": 330,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "333638323634333138",
"sig": "302d021440a127c4d89b3e793bc7e42d3931266e2e2b7acf021500bf18fa3b5982dbdd02d4814f5a0327fed477646b",
"result": "valid"
},
{
"tcId": 331,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "33323631313938363038",
"sig": "302d021500acfc8f05a71e19aedd5619453c827caec3e0820402144163d41bd88c689114bebdb0b14ca63de2e636ae",
"result": "valid"
},
{
"tcId": 332,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "39363738373831303934",
"sig": "302e021500b381bbb8746403e6fe9d77791bf6b9ad01b8c32b021500e793bf926db9c1ee35daf0457e890d34e3f702ec",
"result": "valid"
},
{
"tcId": 333,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "34393538383233383233",
"sig": "302d021500ff086f8fb05d39d6718bc58ad004bdb1a3460e8f02143661b0d1b65b20f5a6e77aac3930b08f99efccd3",
"result": "valid"
},
{
"tcId": 334,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "383234363337383337",
"sig": "302d0215009a6ac4de9b691f5d8e7b8620e432672014dc14fb021419ed53655eb2795b2e44c1a69be207e5a12f94c8",
"result": "valid"
},
{
"tcId": 335,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "3131303230383333373736",
"sig": "302e021500de41eab8fbe839db07b3aa27580d87fb21b0043d0215008e9b72997d8ab82a4c7391d94dbb4904231539b0",
"result": "valid"
},
{
"tcId": 336,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "313333383731363438",
"sig": "302d021440bcf243c5a448103497a72ce415850d86f9417a021500bec384be063e3a32be528abb64f8754c5934ad1a",
"result": "valid"
},
{
"tcId": 337,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "333232313434313632",
"sig": "302d02142b81c2a07a21637df18094dae7236476211fa251021500e94a910c43c29f347cfe87cd8cec7d924abb8582",
"result": "valid"
},
{
"tcId": 338,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "3130363836363535353436",
"sig": "302d021500f41ce5f7d5f448dd918485bea20a4a2b7bdb894c02140bb4afabf1af4bef661dca6573f4cbed564d5b71",
"result": "valid"
},
{
"tcId": 339,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "3632313535323436",
"sig": "302e021500ee1309c51d9bb6dff0fd6e182dc910e90745651e021500b06de7056a70a8b41efa496c4ed4448a423dac20",
"result": "valid"
},
{
"tcId": 340,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "37303330383138373734",
"sig": "302e021500d74a14b7d315bf1ae536d9f28861eb34f16c6691021500e7cafdee9e360da3b139fa6b1855391bd4072dbf",
"result": "valid"
},
{
"tcId": 341,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "35393234353233373434",
"sig": "302c02146b7b7ebfcc4acfcb41a8a6a072b745f274382b76021438a09a2023d79b6242185529aede41eba8f52332",
"result": "valid"
},
{
"tcId": 342,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "31343935353836363231",
"sig": "302d02147caa1b32fb6a67b204878b3694699237eccd0558021500b1701539856d9713d3eafb326ca181057c781f60",
"result": "valid"
},
{
"tcId": 343,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "34303035333134343036",
"sig": "302c02147bf85d33ccb2308d51017419197e53f24a482f6c0214591cbb3ebb4f1bf6571f17b86d07e5f80c6118e9",
"result": "valid"
},
{
"tcId": 344,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "33303936343537353132",
"sig": "302e021500f876e72b8bd7b156e7ed218186a355a9240c9451021500ab7df020cbfbf2b8f267290efdf39bc9014558ce",
"result": "valid"
},
{
"tcId": 345,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "32373834303235363230",
"sig": "302d0215009f6ba902a1ae32d7fb6c62f84013365ca6f9b71202144c27061486ee0e3da5da9706d8927c37eec8f057",
"result": "valid"
},
{
"tcId": 346,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "32363138373837343138",
"sig": "302c02142ad7961a2515241e9d8675c05aa6fa1488714a38021417dea0a256ab4e20c9554c5f5b0c491271fb0689",
"result": "valid"
},
{
"tcId": 347,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "31363432363235323632",
"sig": "302d02146dbf66690812e4bf295181b1c5ce381e9979e6b602150080eb3c881c7c8452fe722b78ec4e0d3788c476e7",
"result": "valid"
},
{
"tcId": 348,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "36383234313839343336",
"sig": "302e021500e2386217f55b3b7f7710d487cefe7940542737de02150090367b1ec7be80868927fde3d1484a80c4f1a983",
"result": "valid"
},
{
"tcId": 349,
"comment": "special case hash",
"flags": [
"SpecialCaseHash"
],
"msg": "343834323435343235",
"sig": "302d0215009562a2ba7e709d09c6d5daab76a27e14978dc9d2021415e896d5ce8c1b1512eb033ff1c008d04b4b38be",
"result": "valid"
},
{
"tcId": 350,
"comment": "Signature generated without truncating the hash",
"flags": [
"Untruncatedhash"
],
"msg": "313233343030",
"sig": "302e021500a2e4471c0ebd7be819fcbe6480583738c7337e1e021500bad0f1ced7e0d0ab01adc1371c66e9cad153928d",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "049452cac89fd846036b3f4ddf995da4bc958e19115f8b30d6cca6988ab496ff2f17e24f08faac75b7",
"wx": "009452cac89fd846036b3f4ddf995da4bc958e1911",
"wy": "5f8b30d6cca6988ab496ff2f17e24f08faac75b7"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00049452cac89fd846036b3f4ddf995da4bc958e19115f8b30d6cca6988ab496ff2f17e24f08faac75b7",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAElFLKyJ/YRgNrP03fmV2kvJWOGRFfizDW\nzKaYirSW/y8X4k8I+qx1tw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 351,
"comment": "k*G has a large x-coordinate",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302e021500ffffffffffffffffffffffffffffffff7ffffffc02150100000000000000000001f4c8f927aed3ca752254",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04b005b80cb0733576bd27520bf7ac44f28e73371809738b9aeb21252938e9a5fa885a4bfa3705e084",
"wx": "00b005b80cb0733576bd27520bf7ac44f28e733718",
"wy": "09738b9aeb21252938e9a5fa885a4bfa3705e084"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004b005b80cb0733576bd27520bf7ac44f28e73371809738b9aeb21252938e9a5fa885a4bfa3705e084",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEsAW4DLBzNXa9J1IL96xE8o5zNxgJc4ua\n6yElKTjppfqIWkv6NwXghA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 352,
"comment": "r,s are large",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301a020b01f4c8f927aed44a752255020b01f4c8f927aed44a752254",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04f0a6c8100e5720ab62dc981061abc4add9a1933c3673d536905fbe48defe2b2a8637f38f2e1843c4",
"wx": "00f0a6c8100e5720ab62dc981061abc4add9a1933c",
"wy": "3673d536905fbe48defe2b2a8637f38f2e1843c4"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004f0a6c8100e5720ab62dc981061abc4add9a1933c3673d536905fbe48defe2b2a8637f38f2e1843c4",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAE8KbIEA5XIKti3JgQYavErdmhkzw2c9U2\nkF++SN7+KyqGN/OPLhhDxA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 353,
"comment": "r and s^-1 have a large Hamming weight",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301c02047fffffff021417644e8c2ec89d185d9167f301adcdedae3f5b35",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04711d5c4035baebc8e46bf09434a8aebbb0f678d08f66aea6922e491d02960c4e1baa2c22bcbad408",
"wx": "711d5c4035baebc8e46bf09434a8aebbb0f678d0",
"wy": "008f66aea6922e491d02960c4e1baa2c22bcbad408"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004711d5c4035baebc8e46bf09434a8aebbb0f678d08f66aea6922e491d02960c4e1baa2c22bcbad408",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEcR1cQDW668jka/CUNKiuu7D2eNCPZq6m\nki5JHQKWDE4bqiwivLrUCA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 354,
"comment": "r and s^-1 have a large Hamming weight",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301c02047fffffff0214749adb63d26b6d8f49ae9a5725ade8880d9c9b6c",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04b3e8857e27393fb609bb7e4d42bb612704d9eef2668439313310a849e17faca660f5f5346e11c1a9",
"wx": "00b3e8857e27393fb609bb7e4d42bb612704d9eef2",
"wy": "668439313310a849e17faca660f5f5346e11c1a9"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004b3e8857e27393fb609bb7e4d42bb612704d9eef2668439313310a849e17faca660f5f5346e11c1a9",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEs+iFfic5P7YJu35NQrthJwTZ7vJmhDkx\nMxCoSeF/rKZg9fU0bhHBqQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 355,
"comment": "small r and s",
"flags": [
"SmallRandS",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "3006020104020101",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "041b66bc474c8220de08f3db0fdc984b008828ff5df94509a6596f822f62580acc988bf962ef9e32b8",
"wx": "1b66bc474c8220de08f3db0fdc984b008828ff5d",
"wy": "00f94509a6596f822f62580acc988bf962ef9e32b8"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00041b66bc474c8220de08f3db0fdc984b008828ff5df94509a6596f822f62580acc988bf962ef9e32b8",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEG2a8R0yCIN4I89sP3JhLAIgo/135RQmm\nWW+CL2JYCsyYi/li754yuA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 356,
"comment": "small r and s",
"flags": [
"SmallRandS",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "3006020104020103",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "048ac14539432e062ff2b1f6086926bfc87e342e98bdc182b2ec96ac855f1057cd99731a054067a153",
"wx": "008ac14539432e062ff2b1f6086926bfc87e342e98",
"wy": "00bdc182b2ec96ac855f1057cd99731a054067a153"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00048ac14539432e062ff2b1f6086926bfc87e342e98bdc182b2ec96ac855f1057cd99731a054067a153",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEisFFOUMuBi/ysfYIaSa/yH40Lpi9wYKy\n7JashV8QV82ZcxoFQGehUw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 357,
"comment": "small r and s",
"flags": [
"SmallRandS",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "3006020104020104",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "044a5c77d11ddaa568733d8a6cb79b497e6a644944339c2514eda2e275ceffb9a7fc4c8d0470b37638",
"wx": "4a5c77d11ddaa568733d8a6cb79b497e6a644944",
"wy": "339c2514eda2e275ceffb9a7fc4c8d0470b37638"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00044a5c77d11ddaa568733d8a6cb79b497e6a644944339c2514eda2e275ceffb9a7fc4c8d0470b37638",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAESlx30R3apWhzPYpst5tJfmpkSUQznCUU\n7aLidc7/uaf8TI0EcLN2OA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 358,
"comment": "small r and s",
"flags": [
"SmallRandS",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "3006020104020105",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04d647227272d00b979027118533e43191144b0dc5e1973087ec8ad1021bd5085750db61bb01e0720e",
"wx": "00d647227272d00b979027118533e43191144b0dc5",
"wy": "00e1973087ec8ad1021bd5085750db61bb01e0720e"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004d647227272d00b979027118533e43191144b0dc5e1973087ec8ad1021bd5085750db61bb01e0720e",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAE1kcicnLQC5eQJxGFM+QxkRRLDcXhlzCH\n7IrRAhvVCFdQ22G7AeByDg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 359,
"comment": "small r and s",
"flags": [
"SmallRandS",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "3006020105020101",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "048af4564c54294dda3b25926a18e380b1e7b09ac0092f03efc33c71ae81d79d9159e851e9f6ff7eb9",
"wx": "008af4564c54294dda3b25926a18e380b1e7b09ac0",
"wy": "092f03efc33c71ae81d79d9159e851e9f6ff7eb9"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00048af4564c54294dda3b25926a18e380b1e7b09ac0092f03efc33c71ae81d79d9159e851e9f6ff7eb9",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEivRWTFQpTdo7JZJqGOOAseewmsAJLwPv\nwzxxroHXnZFZ6FHp9v9+uQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 360,
"comment": "small r and s",
"flags": [
"SmallRandS",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "3006020105020103",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04c92eace9be7eb45cddabf28e9aad82512fd388c62b976b866ecb6c105abf665bd4023bd345cb1eed",
"wx": "00c92eace9be7eb45cddabf28e9aad82512fd388c6",
"wy": "2b976b866ecb6c105abf665bd4023bd345cb1eed"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004c92eace9be7eb45cddabf28e9aad82512fd388c62b976b866ecb6c105abf665bd4023bd345cb1eed",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEyS6s6b5+tFzdq/KOmq2CUS/TiMYrl2uG\nbstsEFq/ZlvUAjvTRcse7Q==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 361,
"comment": "small r and s",
"flags": [
"SmallRandS",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "3006020105020105",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04677f2286d0e8bcff8f90b0a46a8bba725c61bb5d1165ae399950632fc05c2f5e30e4fd51267866e6",
"wx": "677f2286d0e8bcff8f90b0a46a8bba725c61bb5d",
"wy": "1165ae399950632fc05c2f5e30e4fd51267866e6"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004677f2286d0e8bcff8f90b0a46a8bba725c61bb5d1165ae399950632fc05c2f5e30e4fd51267866e6",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEZ38ihtDovP+PkLCkaou6clxhu10RZa45\nmVBjL8BcL14w5P1RJnhm5g==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 362,
"comment": "small r and s",
"flags": [
"SmallRandS",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "3006020105020106",
"result": "valid"
},
{
"tcId": 363,
"comment": "r is larger than n",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301a02150100000000000000000001f4c8f927aed3ca75225c020106",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "044b914c600d694b498efa62645b3ba9350b968732bc96deec7a8e02e6d1c25dff5ed22fc0a17d9cd8",
"wx": "4b914c600d694b498efa62645b3ba9350b968732",
"wy": "00bc96deec7a8e02e6d1c25dff5ed22fc0a17d9cd8"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00044b914c600d694b498efa62645b3ba9350b968732bc96deec7a8e02e6d1c25dff5ed22fc0a17d9cd8",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAES5FMYA1pS0mO+mJkWzupNQuWhzK8lt7s\neo4C5tHCXf9e0i/AoX2c2A==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 364,
"comment": "s is larger than n",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301a02010502150100000000000000000001f4c8f927aed3ca87f8de",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "045094345ff85c68fe99627eede704362af196aecf53499a272ceb4668c02b4b11e567eae9709f0618",
"wx": "5094345ff85c68fe99627eede704362af196aecf",
"wy": "53499a272ceb4668c02b4b11e567eae9709f0618"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00045094345ff85c68fe99627eede704362af196aecf53499a272ceb4668c02b4b11e567eae9709f0618",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEUJQ0X/hcaP6ZYn7t5wQ2KvGWrs9TSZon\nLOtGaMArSxHlZ+rpcJ8GGA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 365,
"comment": "small r and s^-1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301a0202010002141c3870e1c3870e1c387118f7eb1684277916fdbd",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "045e2bb1e908df355fb09ac567021edbc0d0fd704765ee7405ef872af6f2550c123826058ebc8309fb",
"wx": "5e2bb1e908df355fb09ac567021edbc0d0fd7047",
"wy": "65ee7405ef872af6f2550c123826058ebc8309fb"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00045e2bb1e908df355fb09ac567021edbc0d0fd704765ee7405ef872af6f2550c123826058ebc8309fb",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEXiux6QjfNV+wmsVnAh7bwND9cEdl7nQF\n74cq9vJVDBI4JgWOvIMJ+w==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 366,
"comment": "smallish r and s^-1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301f02072d9b4d347952cd02141164a61fc3dfa342ba186e32381b34b324117a46",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04de53fcbfc744edfc6be04af83518829b5fa630169fed2940a16623e8f60eec87c32aed905d25feb7",
"wx": "00de53fcbfc744edfc6be04af83518829b5fa63016",
"wy": "009fed2940a16623e8f60eec87c32aed905d25feb7"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004de53fcbfc744edfc6be04af83518829b5fa630169fed2940a16623e8f60eec87c32aed905d25feb7",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAE3lP8v8dE7fxr4Er4NRiCm1+mMBaf7SlA\noWYj6PYO7IfDKu2QXSX+tw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 367,
"comment": "100-bit r and small s^-1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "3025020d1033e67e37b32b445580bf4efb02144cb34cb34cb34cb34cb3e2bdb53bb3e1d213282c",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04366bb0c1db172c0da7a94d6b962b2bfb99db430dadb55cacb92dcf86d7e7373db40159c23c6ad8db",
"wx": "366bb0c1db172c0da7a94d6b962b2bfb99db430d",
"wy": "00adb55cacb92dcf86d7e7373db40159c23c6ad8db"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004366bb0c1db172c0da7a94d6b962b2bfb99db430dadb55cacb92dcf86d7e7373db40159c23c6ad8db",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAENmuwwdsXLA2nqU1rlisr+5nbQw2ttVys\nuS3PhtfnNz20AVnCPGrY2w==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 368,
"comment": "small r and 100 bit s^-1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301a020201000214382efed3dc7e18cf41aec7248f4e56087f9734a0",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0486e01061fc02e52057346370636a5b5cc3710e72ccfb1063a51118d442d5044cb0ecdade51ab7dd3",
"wx": "0086e01061fc02e52057346370636a5b5cc3710e72",
"wy": "00ccfb1063a51118d442d5044cb0ecdade51ab7dd3"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000486e01061fc02e52057346370636a5b5cc3710e72ccfb1063a51118d442d5044cb0ecdade51ab7dd3",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEhuAQYfwC5SBXNGNwY2pbXMNxDnLM+xBj\npREY1ELVBEyw7NreUat90w==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 369,
"comment": "100-bit r and s^-1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "3025020d062522bbd3ecbe7c39e93e7c240214382efed3dc7e18cf41aec7248f4e56087f9734a0",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0440e16716c249fb4743fc761afb05dc34cd447fc8179c76ae7ac1f0b0c5f248bdb8140b91ebfeaa2a",
"wx": "40e16716c249fb4743fc761afb05dc34cd447fc8",
"wy": "179c76ae7ac1f0b0c5f248bdb8140b91ebfeaa2a"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000440e16716c249fb4743fc761afb05dc34cd447fc8179c76ae7ac1f0b0c5f248bdb8140b91ebfeaa2a",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEQOFnFsJJ+0dD/HYa+wXcNM1Ef8gXnHau\nesHwsMXySL24FAuR6/6qKg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 370,
"comment": "r and s^-1 are close to n",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "3024020b01f4c8f927aed44a7521da021500aaaaaaaaaaaaaaaaaaabf885fb6fc9e286f8c18f",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04864d501f8697acb9c337651fcdfa51e1c4109d96e5f336151f7e2de56f7c7bd21216a299175d0152",
"wx": "00864d501f8697acb9c337651fcdfa51e1c4109d96",
"wy": "00e5f336151f7e2de56f7c7bd21216a299175d0152"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004864d501f8697acb9c337651fcdfa51e1c4109d96e5f336151f7e2de56f7c7bd21216a299175d0152",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEhk1QH4aXrLnDN2UfzfpR4cQQnZbl8zYV\nH34t5W98e9ISFqKZF10BUg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 371,
"comment": "r and s are 64-bit integer",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "30160209009c44febf31c3594f020900839ed28247c2b06b",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04cf100b573c0b7056bfec897f77945860204ddcd6657eb109fef49cbc8e195e0fd72679b0c5589d82",
"wx": "00cf100b573c0b7056bfec897f77945860204ddcd6",
"wy": "657eb109fef49cbc8e195e0fd72679b0c5589d82"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004cf100b573c0b7056bfec897f77945860204ddcd6657eb109fef49cbc8e195e0fd72679b0c5589d82",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEzxALVzwLcFa/7Il/d5RYYCBN3NZlfrEJ\n/vScvI4ZXg/XJnmwxVidgg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 372,
"comment": "r and s are 100-bit integer",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301e020d09df8b682430beef6f5fd7c7ce020d0fd0a62e13778f4222a0d61c8a",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0410844ee5316f9ba469d9e3483875f2857e7f7c50414432cb1abcfb910152671e4c4912c3c2c1552f",
"wx": "10844ee5316f9ba469d9e3483875f2857e7f7c50",
"wy": "414432cb1abcfb910152671e4c4912c3c2c1552f"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000410844ee5316f9ba469d9e3483875f2857e7f7c50414432cb1abcfb910152671e4c4912c3c2c1552f",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEEIRO5TFvm6Rp2eNIOHXyhX5/fFBBRDLL\nGrz7kQFSZx5MSRLDwsFVLw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 373,
"comment": "r and s are 128-bit integer",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "30260211008a598e563a89f526c32ebec8de26367a02110084f633e2042630e99dd0f1e16f7a04bf",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0475c77dec4e111a041ee2b266a0e50c6c89995a66fce77370c6b780a579b62ad5af630ac823cf2b97",
"wx": "75c77dec4e111a041ee2b266a0e50c6c89995a66",
"wy": "00fce77370c6b780a579b62ad5af630ac823cf2b97"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000475c77dec4e111a041ee2b266a0e50c6c89995a66fce77370c6b780a579b62ad5af630ac823cf2b97",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEdcd97E4RGgQe4rJmoOUMbImZWmb853Nw\nxreApXm2KtWvYwrII88rlw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 374,
"comment": "r and s are 160-bit integer",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302e021500aa6eeb5823f7fa31b466bb473797f0d0314c0be0021500e2977c479e6d25703cebbc6bd561938cc9d1bfb9",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0407970e499d36b850864ce1d6b00d62cb70e2d2e0e30d4b3c346017c766878f93fcbba65cd80a1f59",
"wx": "07970e499d36b850864ce1d6b00d62cb70e2d2e0",
"wy": "00e30d4b3c346017c766878f93fcbba65cd80a1f59"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000407970e499d36b850864ce1d6b00d62cb70e2d2e0e30d4b3c346017c766878f93fcbba65cd80a1f59",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEB5cOSZ02uFCGTOHWsA1iy3Di0uDjDUs8\nNGAXx2aHj5P8u6Zc2AofWQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 375,
"comment": "s == 1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "3019021455555555555555555555fc42fdb7e4f1437c60c8020101",
"result": "valid"
},
{
"tcId": 376,
"comment": "s == 0",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "3019021455555555555555555555fc42fdb7e4f1437c60c8020100",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "042e54dda8f55b1e7d1d5ec7abe03aeba4d02778f4e3349b3c2cbab77adbc22bda5cb1dceefe9853c5",
"wx": "2e54dda8f55b1e7d1d5ec7abe03aeba4d02778f4",
"wy": "00e3349b3c2cbab77adbc22bda5cb1dceefe9853c5"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00042e54dda8f55b1e7d1d5ec7abe03aeba4d02778f4e3349b3c2cbab77adbc22bda5cb1dceefe9853c5",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAELlTdqPVbHn0dXser4DrrpNAnePTjNJs8\nLLq3etvCK9pcsdzu/phTxQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 377,
"comment": "edge case modular inverse",
"flags": [
"ModularInverse",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021455555555555555555555fc42fdb7e4f1437c60c802147c552832921df597c4ace3db26fa344bca60d63c",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04c0a2ce5228dd74ba6f59e71691e3062a13abceeef6ac644914405b4c7d7e81196d67267fb8f5d5c1",
"wx": "00c0a2ce5228dd74ba6f59e71691e3062a13abceee",
"wy": "00f6ac644914405b4c7d7e81196d67267fb8f5d5c1"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004c0a2ce5228dd74ba6f59e71691e3062a13abceeef6ac644914405b4c7d7e81196d67267fb8f5d5c1",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEwKLOUijddLpvWecWkeMGKhOrzu72rGRJ\nFEBbTH1+gRltZyZ/uPXVwQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 378,
"comment": "edge case modular inverse",
"flags": [
"ModularInverse",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021455555555555555555555fc42fdb7e4f1437c60c802147227092d21ea03d5d5f1e18287ca9de2d9842908",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "048b2c4e24ac2561217c6f518a92d6337c5399f0c4ceb401ef5335e33ffaa24bf52be79d0de4da777a",
"wx": "008b2c4e24ac2561217c6f518a92d6337c5399f0c4",
"wy": "00ceb401ef5335e33ffaa24bf52be79d0de4da777a"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00048b2c4e24ac2561217c6f518a92d6337c5399f0c4ceb401ef5335e33ffaa24bf52be79d0de4da777a",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEiyxOJKwlYSF8b1GKktYzfFOZ8MTOtAHv\nUzXjP/qiS/Ur550N5Np3eg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 379,
"comment": "edge case modular inverse",
"flags": [
"ModularInverse",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021455555555555555555555fc42fdb7e4f1437c60c8021473ff1e5eaf95fbba2ad422e406afe13c2f680d59",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04dd04be1d60f64d2191e165004888810ab390b8d1667da446df9cf909a92fece72f97b45336fc1ad1",
"wx": "00dd04be1d60f64d2191e165004888810ab390b8d1",
"wy": "667da446df9cf909a92fece72f97b45336fc1ad1"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004dd04be1d60f64d2191e165004888810ab390b8d1667da446df9cf909a92fece72f97b45336fc1ad1",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAE3QS+HWD2TSGR4WUASIiBCrOQuNFmfaRG\n35z5Cakv7Ocvl7RTNvwa0Q==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 380,
"comment": "edge case modular inverse",
"flags": [
"ModularInverse",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021455555555555555555555fc42fdb7e4f1437c60c802146502b995cec50420e530affe1fd415f33e83baf0",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04f02086e126cbf8ccdf66198cc22692e8951e4ee2a0bc138f30f9b536b4188647a41c441c22e76535",
"wx": "00f02086e126cbf8ccdf66198cc22692e8951e4ee2",
"wy": "00a0bc138f30f9b536b4188647a41c441c22e76535"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004f02086e126cbf8ccdf66198cc22692e8951e4ee2a0bc138f30f9b536b4188647a41c441c22e76535",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAE8CCG4SbL+MzfZhmMwiaS6JUeTuKgvBOP\nMPm1NrQYhkekHEQcIudlNQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 381,
"comment": "edge case modular inverse",
"flags": [
"ModularInverse",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021455555555555555555555fc42fdb7e4f1437c60c802141d44f47b4ef8625a2e0f5b4fbd01926248f8f35f",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "048f94567d5935089ae574bd0376507f9a04002fa3c6f93a987b417f59ec75436ac72c44a5c5b0c8e2",
"wx": "008f94567d5935089ae574bd0376507f9a04002fa3",
"wy": "00c6f93a987b417f59ec75436ac72c44a5c5b0c8e2"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00048f94567d5935089ae574bd0376507f9a04002fa3c6f93a987b417f59ec75436ac72c44a5c5b0c8e2",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEj5RWfVk1CJrldL0DdlB/mgQAL6PG+TqY\ne0F/Wex1Q2rHLESlxbDI4g==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 382,
"comment": "edge case modular inverse",
"flags": [
"ModularInverse",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021455555555555555555555fc42fdb7e4f1437c60c8021442dbf3750b69fe223ab5132f0d60d74eec81bffa",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04cfbb06497d29896f83fb0cd2d2b026ad5ce56eda702486a360d789e4ab4226d3c6df99d4603b1c8c",
"wx": "00cfbb06497d29896f83fb0cd2d2b026ad5ce56eda",
"wy": "702486a360d789e4ab4226d3c6df99d4603b1c8c"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004cfbb06497d29896f83fb0cd2d2b026ad5ce56eda702486a360d789e4ab4226d3c6df99d4603b1c8c",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEz7sGSX0piW+D+wzS0rAmrVzlbtpwJIaj\nYNeJ5KtCJtPG35nUYDscjA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 383,
"comment": "edge case modular inverse",
"flags": [
"ModularInverse",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021455555555555555555555fc42fdb7e4f1437c60c80214654c1cd3f3f0df06fe29df7d8859bc3c84306bb1",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "041125a95f1921eb144d0d9b209d4e95f2e375318cc97bf57b75f7c1920173bdbfd90198901f1bcaef",
"wx": "1125a95f1921eb144d0d9b209d4e95f2e375318c",
"wy": "00c97bf57b75f7c1920173bdbfd90198901f1bcaef"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00041125a95f1921eb144d0d9b209d4e95f2e375318cc97bf57b75f7c1920173bdbfd90198901f1bcaef",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEESWpXxkh6xRNDZsgnU6V8uN1MYzJe/V7\ndffBkgFzvb/ZAZiQHxvK7w==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 384,
"comment": "edge case modular inverse",
"flags": [
"ModularInverse",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021455555555555555555555fc42fdb7e4f1437c60c802144672732533be565079f89319b5ff635d5feace33",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0460627b04d812f257c8f6ba8f1b3ef2f42e800464a10b1cbab5000850f206cb326d999da5223f9366",
"wx": "60627b04d812f257c8f6ba8f1b3ef2f42e800464",
"wy": "00a10b1cbab5000850f206cb326d999da5223f9366"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000460627b04d812f257c8f6ba8f1b3ef2f42e800464a10b1cbab5000850f206cb326d999da5223f9366",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEYGJ7BNgS8lfI9rqPGz7y9C6ABGShCxy6\ntQAIUPIGyzJtmZ2lIj+TZg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 385,
"comment": "edge case modular inverse",
"flags": [
"ModularInverse",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021455555555555555555555fc42fdb7e4f1437c60c8021443a9e1aafefdd33ce4c4fbfee2c702156668d95c",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "047b77bc3d04bc19f3f2a6c912fa162a47c43a1946424d2b07969606a33fad0ef461125a3ba05c14db",
"wx": "7b77bc3d04bc19f3f2a6c912fa162a47c43a1946",
"wy": "424d2b07969606a33fad0ef461125a3ba05c14db"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00047b77bc3d04bc19f3f2a6c912fa162a47c43a1946424d2b07969606a33fad0ef461125a3ba05c14db",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEe3e8PQS8GfPypskS+hYqR8Q6GUZCTSsH\nlpYGoz+tDvRhElo7oFwU2w==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 386,
"comment": "edge case modular inverse",
"flags": [
"ModularInverse",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021455555555555555555555fc42fdb7e4f1437c60c802143f0d604c19d9ef8b60ddb845cf61c0338ec1a10f",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04082d452466c9f351b822206932e26c35729831b4501327aef0810b7b197b92d45ac0628ec3271954",
"wx": "082d452466c9f351b822206932e26c35729831b4",
"wy": "501327aef0810b7b197b92d45ac0628ec3271954"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004082d452466c9f351b822206932e26c35729831b4501327aef0810b7b197b92d45ac0628ec3271954",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAECC1FJGbJ81G4IiBpMuJsNXKYMbRQEyeu\n8IELexl7ktRawGKOwycZVA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 387,
"comment": "edge case modular inverse",
"flags": [
"ModularInverse",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021455555555555555555555fc42fdb7e4f1437c60c802140ce12be05ba565a557af187cc0ccbe1680b57d88",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04bb63c68077a6c7e7466887d0613c0a0a9a96627ca45f84beb4e337cdbea9768c5bb04f53adb682ec",
"wx": "00bb63c68077a6c7e7466887d0613c0a0a9a96627c",
"wy": "00a45f84beb4e337cdbea9768c5bb04f53adb682ec"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004bb63c68077a6c7e7466887d0613c0a0a9a96627ca45f84beb4e337cdbea9768c5bb04f53adb682ec",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEu2PGgHemx+dGaIfQYTwKCpqWYnykX4S+\ntOM3zb6pdoxbsE9TrbaC7A==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 388,
"comment": "edge case modular inverse",
"flags": [
"ModularInverse",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021455555555555555555555fc42fdb7e4f1437c60c8021460d76f2b701e3228533e0ee26c4935dd3a5e6a5d",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "042b3a7058fdbd423b96168d487e072feb1a0544d6b6b31631ede8673761d6d3e48e8e966479c08fc3",
"wx": "2b3a7058fdbd423b96168d487e072feb1a0544d6",
"wy": "00b6b31631ede8673761d6d3e48e8e966479c08fc3"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00042b3a7058fdbd423b96168d487e072feb1a0544d6b6b31631ede8673761d6d3e48e8e966479c08fc3",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEKzpwWP29QjuWFo1Ifgcv6xoFRNa2sxYx\n7ehnN2HW0+SOjpZkecCPww==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 389,
"comment": "point at infinity during verify",
"flags": [
"PointDuplication",
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302d02150080000000000000000000fa647c93d769e53a912b021455555555555555555555fc42fdb7e4f1437c60c7",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0459611a33fb3425881e31e0f61f2182e4fce3bd89c0291abfc4d1145a5001de56bdfa96be446d30b6",
"wx": "59611a33fb3425881e31e0f61f2182e4fce3bd89",
"wy": "00c0291abfc4d1145a5001de56bdfa96be446d30b6"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000459611a33fb3425881e31e0f61f2182e4fce3bd89c0291abfc4d1145a5001de56bdfa96be446d30b6",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEWWEaM/s0JYgeMeD2HyGC5PzjvYnAKRq/\nxNEUWlAB3la9+pa+RG0wtg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 390,
"comment": "edge case for signature malleability",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302e02150080000000000000000000fa647c93d769e53a912b02150080000000000000000000fa647c93d769e53a912b",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0431eaca167a3c657869e55d7e48bcc525c26e6277cf3b34543a52b1611717d94ba8237980ab02e218",
"wx": "31eaca167a3c657869e55d7e48bcc525c26e6277",
"wy": "00cf3b34543a52b1611717d94ba8237980ab02e218"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000431eaca167a3c657869e55d7e48bcc525c26e6277cf3b34543a52b1611717d94ba8237980ab02e218",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEMerKFno8ZXhp5V1+SLzFJcJuYnfPOzRU\nOlKxYRcX2UuoI3mAqwLiGA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 391,
"comment": "edge case for signature malleability",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302e02150080000000000000000000fa647c93d769e53a912b02150080000000000000000000fa647c93d769e53a912c",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0467883840b961f31142fdaa4225d9186894d533ec648886fef0e60348e90621f6b7a553f05d8ff5a7",
"wx": "67883840b961f31142fdaa4225d9186894d533ec",
"wy": "648886fef0e60348e90621f6b7a553f05d8ff5a7"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000467883840b961f31142fdaa4225d9186894d533ec648886fef0e60348e90621f6b7a553f05d8ff5a7",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEZ4g4QLlh8xFC/apCJdkYaJTVM+xkiIb+\n8OYDSOkGIfa3pVPwXY/1pw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 392,
"comment": "u1 == 1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302d021455555555555555555555fc42fdb7e4f1437c60c502150176b4a5e85f3924c3da86c3eb284543c6006dcf86",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "042bea5e4da06c9e290a65d59f9c44f0149616d9ec4b9a64a3835d7e249f969d2ccb997878efabaa19",
"wx": "2bea5e4da06c9e290a65d59f9c44f0149616d9ec",
"wy": "4b9a64a3835d7e249f969d2ccb997878efabaa19"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00042bea5e4da06c9e290a65d59f9c44f0149616d9ec4b9a64a3835d7e249f969d2ccb997878efabaa19",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEK+peTaBsnikKZdWfnETwFJYW2exLmmSj\ng11+JJ+WnSzLmXh476uqGQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 393,
"comment": "u1 == n - 1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302d021455555555555555555555fc42fdb7e4f1437c60c5021500894b5a17a0c6db3c257d25a6ca0a19e1947c7528",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04b1fc10305d2e83868c9e40e8426896297b7f3e0091a1e1f88d1fb0f95380f19c98f55a0854c6b494",
"wx": "00b1fc10305d2e83868c9e40e8426896297b7f3e00",
"wy": "0091a1e1f88d1fb0f95380f19c98f55a0854c6b494"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004b1fc10305d2e83868c9e40e8426896297b7f3e0091a1e1f88d1fb0f95380f19c98f55a0854c6b494",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEsfwQMF0ug4aMnkDoQmiWKXt/PgCRoeH4\njR+w+VOA8ZyY9VoIVMa0lA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 394,
"comment": "u2 == 1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021455555555555555555555fc42fdb7e4f1437c60c5021455555555555555555555fc42fdb7e4f1437c60c5",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "049eabf3380b193e547dd2610152ea76048806b9e1413a8a53711c915d17c16df98300ee414f11dbdd",
"wx": "009eabf3380b193e547dd2610152ea76048806b9e1",
"wy": "413a8a53711c915d17c16df98300ee414f11dbdd"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00049eabf3380b193e547dd2610152ea76048806b9e1413a8a53711c915d17c16df98300ee414f11dbdd",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEnqvzOAsZPlR90mEBUup2BIgGueFBOopT\ncRyRXRfBbfmDAO5BTxHb3Q==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 395,
"comment": "u2 == n - 1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302d021455555555555555555555fc42fdb7e4f1437c60c5021500aaaaaaaaaaaaaaaaaaabf885fb6fc9e286f8c192",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "042b9e690b79e165b04e0df6fc84e58ac94ac63a927a9532b9ee40bff794f9888b1a2e0b8a30f4f550",
"wx": "2b9e690b79e165b04e0df6fc84e58ac94ac63a92",
"wy": "7a9532b9ee40bff794f9888b1a2e0b8a30f4f550"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00042b9e690b79e165b04e0df6fc84e58ac94ac63a927a9532b9ee40bff794f9888b1a2e0b8a30f4f550",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEK55pC3nhZbBODfb8hOWKyUrGOpJ6lTK5\n7kC/95T5iIsaLguKMPT1UA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 396,
"comment": "edge case for u1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301c02047ffffffd02147ce6e1f81fbdb6ebf382414e62c1c14200249a82",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04409c92512c25d7fdf331487d4bb1ca8312ea27b4db6909d4a0768e609a52064c266e152a36b49b7a",
"wx": "409c92512c25d7fdf331487d4bb1ca8312ea27b4",
"wy": "00db6909d4a0768e609a52064c266e152a36b49b7a"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004409c92512c25d7fdf331487d4bb1ca8312ea27b4db6909d4a0768e609a52064c266e152a36b49b7a",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEQJySUSwl1/3zMUh9S7HKgxLqJ7TbaQnU\noHaOYJpSBkwmbhUqNrSbeg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 397,
"comment": "edge case for u1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301c02047ffffffd0214304d26aa02922e73b2c60f12e7f288b0b43f3783",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0439226e3be69faee8861f1fbaf4523da7bd2d1bcdc7a528956daf7f7e5c21288732c69372ca327ecd",
"wx": "39226e3be69faee8861f1fbaf4523da7bd2d1bcd",
"wy": "00c7a528956daf7f7e5c21288732c69372ca327ecd"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000439226e3be69faee8861f1fbaf4523da7bd2d1bcdc7a528956daf7f7e5c21288732c69372ca327ecd",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEOSJuO+afruiGHx+69FI9p70tG83HpSiV\nba9/flwhKIcyxpNyyjJ+zQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 398,
"comment": "edge case for u1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301c02047ffffffd02142b9afe309194473695a328cfe89a314ee772f616",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0474a34455bc9222dc9f189672e0c72cb3d7bf8491605793269a796edfb97deeb50f30477571c76d32",
"wx": "74a34455bc9222dc9f189672e0c72cb3d7bf8491",
"wy": "605793269a796edfb97deeb50f30477571c76d32"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000474a34455bc9222dc9f189672e0c72cb3d7bf8491605793269a796edfb97deeb50f30477571c76d32",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEdKNEVbySItyfGJZy4Mcss9e/hJFgV5Mm\nmnlu37l97rUPMEd1ccdtMg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 399,
"comment": "edge case for u1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301c02047ffffffd02140b63c499d27b74e8894b705f6dcab0b5834c4785",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04b1031e0781fecf813633cb3884e930913e65ba5bcc8860779ca7e174df787d66f671a8fa337994cf",
"wx": "00b1031e0781fecf813633cb3884e930913e65ba5b",
"wy": "00cc8860779ca7e174df787d66f671a8fa337994cf"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004b1031e0781fecf813633cb3884e930913e65ba5bcc8860779ca7e174df787d66f671a8fa337994cf",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEsQMeB4H+z4E2M8s4hOkwkT5lulvMiGB3\nnKfhdN94fWb2caj6M3mUzw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 400,
"comment": "edge case for u1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301c02047ffffffd02143c499d27b74e8894b5a1effb88d50da2d531e626",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04987ff07d407ee7a41a65a7ac6929c13d0a6e480059813e21d5f2fe748f06be7328a9862af2bc7c57",
"wx": "00987ff07d407ee7a41a65a7ac6929c13d0a6e4800",
"wy": "59813e21d5f2fe748f06be7328a9862af2bc7c57"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004987ff07d407ee7a41a65a7ac6929c13d0a6e480059813e21d5f2fe748f06be7328a9862af2bc7c57",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEmH/wfUB+56QaZaesaSnBPQpuSABZgT4h\n1fL+dI8GvnMoqYYq8rx8Vw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 401,
"comment": "edge case for u1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301c02047ffffffd021478933a4f6e9d11296b43dff711aa1b45aa63cc4c",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04c071a26e5e5257fe26bdb8013f48bbae17a2f3192cf253cf4973d3c2dc250ec4c1e71c1ed3653786",
"wx": "00c071a26e5e5257fe26bdb8013f48bbae17a2f319",
"wy": "2cf253cf4973d3c2dc250ec4c1e71c1ed3653786"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004c071a26e5e5257fe26bdb8013f48bbae17a2f3192cf253cf4973d3c2dc250ec4c1e71c1ed3653786",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEwHGibl5SV/4mvbgBP0i7rhei8xks8lPP\nSXPTwtwlDsTB5xwe02U3hg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 402,
"comment": "edge case for u1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301d02047ffffffd021500d27b74e8894b5a17a0c876fa832050294d0ede01",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04db3da2a11095b2aefd141f26c9b20e43a1f4cecdeb2666f06ebfcfcdfa3f9890769b0db3b85a8a3f",
"wx": "00db3da2a11095b2aefd141f26c9b20e43a1f4cecd",
"wy": "00eb2666f06ebfcfcdfa3f9890769b0db3b85a8a3f"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004db3da2a11095b2aefd141f26c9b20e43a1f4cecdeb2666f06ebfcfcdfa3f9890769b0db3b85a8a3f",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAE2z2ioRCVsq79FB8mybIOQ6H0zs3rJmbw\nbr/Pzfo/mJB2mw2zuFqKPw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 403,
"comment": "edge case for u1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301d02047ffffffd021500b080eb3eba27e3743ee6c3ba1d023f83c7643e58",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "040f9d71fb48e807f2e66bfdffab87c78d24cf2d658125943f73180928436be5db4228efb72769021e",
"wx": "0f9d71fb48e807f2e66bfdffab87c78d24cf2d65",
"wy": "008125943f73180928436be5db4228efb72769021e"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00040f9d71fb48e807f2e66bfdffab87c78d24cf2d658125943f73180928436be5db4228efb72769021e",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAED51x+0joB/Lma/3/q4fHjSTPLWWBJZQ/\ncxgJKENr5dtCKO+3J2kCHg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 404,
"comment": "edge case for u1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301d02047ffffffd021500eb2eda56a5606183576c3f3be8b20e9e1fc45dec",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04feaa6f5ba970d904fe254dd45cf4f1d397f8b5c6dbcddef5385bb2ec2e5844b4566cc22f015d864b",
"wx": "00feaa6f5ba970d904fe254dd45cf4f1d397f8b5c6",
"wy": "00dbcddef5385bb2ec2e5844b4566cc22f015d864b"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004feaa6f5ba970d904fe254dd45cf4f1d397f8b5c6dbcddef5385bb2ec2e5844b4566cc22f015d864b",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAE/qpvW6lw2QT+JU3UXPTx05f4tcbbzd71\nOFuy7C5YRLRWbMIvAV2GSw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 405,
"comment": "edge case for u1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301d02047ffffffd02150083191e07e04249140c7fb37a9665ed91ca5087d5",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0452c0322e296d02806a55800e67b9334ed4005cd1f60f5556e7563b756d8a17cd6977cdde16531660",
"wx": "52c0322e296d02806a55800e67b9334ed4005cd1",
"wy": "00f60f5556e7563b756d8a17cd6977cdde16531660"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000452c0322e296d02806a55800e67b9334ed4005cd1f60f5556e7563b756d8a17cd6977cdde16531660",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEUsAyLiltAoBqVYAOZ7kzTtQAXNH2D1VW\n51Y7dW2KF81pd83eFlMWYA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 406,
"comment": "edge case for u1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301c02047ffffffd021444a5ad0bd0636d9e12be92d365050cf0ca3e3a94",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0450c07170fdea6845c09c3da29cc8ee670059291999d3cf10ef65514e890c056a08c505ad13dbfe03",
"wx": "50c07170fdea6845c09c3da29cc8ee6700592919",
"wy": "0099d3cf10ef65514e890c056a08c505ad13dbfe03"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000450c07170fdea6845c09c3da29cc8ee670059291999d3cf10ef65514e890c056a08c505ad13dbfe03",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEUMBxcP3qaEXAnD2inMjuZwBZKRmZ088Q\n72VRTokMBWoIxQWtE9v+Aw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 407,
"comment": "edge case for u1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301c02047ffffffd021415cd7f1848ca239b4ad19467f44d18a773b97b0b",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0405cc25d16018b88388a41cfe3547ebda232de5ebbf2017c6bc837a738dca9c8e91b3fbe06d154497",
"wx": "05cc25d16018b88388a41cfe3547ebda232de5eb",
"wy": "00bf2017c6bc837a738dca9c8e91b3fbe06d154497"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000405cc25d16018b88388a41cfe3547ebda232de5ebbf2017c6bc837a738dca9c8e91b3fbe06d154497",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEBcwl0WAYuIOIpBz+NUfr2iMt5eu/IBfG\nvIN6c43KnI6Rs/vgbRVElw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 408,
"comment": "edge case for u2",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301d02047ffffffd021500aaaaaaaaaaaaaaaaaaabf885fb6fc9e2b1a36c39",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04e2cada2f22ae694fee3a3287ce8dc0691af40c9ff6a592e8c723bec635a76c9c6482d2b60dddb986",
"wx": "00e2cada2f22ae694fee3a3287ce8dc0691af40c9f",
"wy": "00f6a592e8c723bec635a76c9c6482d2b60dddb986"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004e2cada2f22ae694fee3a3287ce8dc0691af40c9ff6a592e8c723bec635a76c9c6482d2b60dddb986",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAE4sraLyKuaU/uOjKHzo3AaRr0DJ/2pZLo\nxyO+xjWnbJxkgtK2Dd25hg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 409,
"comment": "edge case for u2",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301c02047ffffffd02145d0e82e246fc758108ac747e6f91ebfc3800d367",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04267471b41f818bb8176e2a012f963cd9b6fa2575c14ea6247c7431a05fd7422de905afdbc6c8e166",
"wx": "267471b41f818bb8176e2a012f963cd9b6fa2575",
"wy": "00c14ea6247c7431a05fd7422de905afdbc6c8e166"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004267471b41f818bb8176e2a012f963cd9b6fa2575c14ea6247c7431a05fd7422de905afdbc6c8e166",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEJnRxtB+Bi7gXbioBL5Y82bb6JXXBTqYk\nfHQxoF/XQi3pBa/bxsjhZg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 410,
"comment": "edge case for u2",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301d02047ffffffd021500e6ae9daaf56f8b83815b6de2e022c30a5fa4f229",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "049ae2a06f674401b28a799181ad23badd115066d13430009efd1271ea1962d35effebfdf5c94d46d2",
"wx": "009ae2a06f674401b28a799181ad23badd115066d1",
"wy": "3430009efd1271ea1962d35effebfdf5c94d46d2"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00049ae2a06f674401b28a799181ad23badd115066d13430009efd1271ea1962d35effebfdf5c94d46d2",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEmuKgb2dEAbKKeZGBrSO63RFQZtE0MACe\n/RJx6hli017/6/31yU1G0g==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 411,
"comment": "edge case for u2",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301c02047ffffffd021444bdeb62114743cb00008678e702d02fe3b75eb7",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04d086921c342ee56be74e87950e1c260b070c74690c5ad644b7806b75469af63d8ba276c568e8e27a",
"wx": "00d086921c342ee56be74e87950e1c260b070c7469",
"wy": "0c5ad644b7806b75469af63d8ba276c568e8e27a"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004d086921c342ee56be74e87950e1c260b070c74690c5ad644b7806b75469af63d8ba276c568e8e27a",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAE0IaSHDQu5WvnToeVDhwmCwcMdGkMWtZE\nt4BrdUaa9j2LonbFaOjieg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 412,
"comment": "edge case for u2",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301d02047ffffffd021500deb62114743cb0000001b3aa8fa7770551110483",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04c5f85f1245c93cf37f8258d3f18e15ae64bf3724c3c3f7dc1229fb8b5ad0274eae7c98d5fc9ef67a",
"wx": "00c5f85f1245c93cf37f8258d3f18e15ae64bf3724",
"wy": "00c3c3f7dc1229fb8b5ad0274eae7c98d5fc9ef67a"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004c5f85f1245c93cf37f8258d3f18e15ae64bf3724c3c3f7dc1229fb8b5ad0274eae7c98d5fc9ef67a",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAExfhfEkXJPPN/gljT8Y4VrmS/NyTDw/fc\nEin7i1rQJ06ufJjV/J72eg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 413,
"comment": "edge case for u2",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301d02047ffffffd021500bd6c4228e87960000001728c26273f36d7ace6af",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "044148e9ba110487844c41c6a990ce6029fbacd7daabf5a94d89ac5ad633a85b6879affc41860f2ac5",
"wx": "4148e9ba110487844c41c6a990ce6029fbacd7da",
"wy": "00abf5a94d89ac5ad633a85b6879affc41860f2ac5"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00044148e9ba110487844c41c6a990ce6029fbacd7daabf5a94d89ac5ad633a85b6879affc41860f2ac5",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEQUjpuhEEh4RMQcapkM5gKfus19qr9alN\niaxa1jOoW2h5r/xBhg8qxQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 414,
"comment": "edge case for u2",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301c02047ffffffd0214114743cb00000000000021ccc0e671308267fdb2",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "046f690efb076a7dda2a0f990736ba6cd208144f1babfccb16e59dd7aecddb51f4e4d2bfc2ae172f0a",
"wx": "6f690efb076a7dda2a0f990736ba6cd208144f1b",
"wy": "00abfccb16e59dd7aecddb51f4e4d2bfc2ae172f0a"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00046f690efb076a7dda2a0f990736ba6cd208144f1babfccb16e59dd7aecddb51f4e4d2bfc2ae172f0a",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEb2kO+wdqfdoqD5kHNrps0ggUTxur/MsW\n5Z3Xrs3bUfTk0r/CrhcvCg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 415,
"comment": "edge case for u2",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301c02047ffffffd021467063e7063e7063e7064b08f5189b9de97b88155",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0484b25a24491ce040eb6dc900f8ee90c6684ac8e595a985e609ce016a897b913c5dff35776ceb682a",
"wx": "0084b25a24491ce040eb6dc900f8ee90c6684ac8e5",
"wy": "0095a985e609ce016a897b913c5dff35776ceb682a"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000484b25a24491ce040eb6dc900f8ee90c6684ac8e595a985e609ce016a897b913c5dff35776ceb682a",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEhLJaJEkc4EDrbckA+O6QxmhKyOWVqYXm\nCc4Baol7kTxd/zV3bOtoKg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 416,
"comment": "edge case for u2",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301d02047ffffffd021500b8e38e38e38e38e38e3a4d3bd063c5600b1bb53f",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0496d267106dd68444ae300966bac62e18238042d45111e87654afbbad4272a264a6ba5a3320eedc2b",
"wx": "0096d267106dd68444ae300966bac62e18238042d4",
"wy": "5111e87654afbbad4272a264a6ba5a3320eedc2b"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000496d267106dd68444ae300966bac62e18238042d45111e87654afbbad4272a264a6ba5a3320eedc2b",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEltJnEG3WhESuMAlmusYuGCOAQtRREeh2\nVK+7rUJyomSmulozIO7cKw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 417,
"comment": "edge case for u2",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301c02047ffffffd021455555555555555555555fc42fdb7e4f118d1b61e",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04c06afc4b760ec9b2dca49a4b3617e7237657191ff0b5ec38b9180e7ee4aa86fa19384dd28e342a9c",
"wx": "00c06afc4b760ec9b2dca49a4b3617e7237657191f",
"wy": "00f0b5ec38b9180e7ee4aa86fa19384dd28e342a9c"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004c06afc4b760ec9b2dca49a4b3617e7237657191ff0b5ec38b9180e7ee4aa86fa19384dd28e342a9c",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEwGr8S3YOybLcpJpLNhfnI3ZXGR/wtew4\nuRgOfuSqhvoZOE3SjjQqnA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 418,
"comment": "edge case for u2",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301d02047ffffffd02150080000000000000000000fa647c93d769a53a912d",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0493df7994eab8a87973e7e216df0672a82114ae2c6aa28ee71bf4154d04aed59a392761c3d1dc411b",
"wx": "0093df7994eab8a87973e7e216df0672a82114ae2c",
"wy": "6aa28ee71bf4154d04aed59a392761c3d1dc411b"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000493df7994eab8a87973e7e216df0672a82114ae2c6aa28ee71bf4154d04aed59a392761c3d1dc411b",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEk995lOq4qHlz5+IW3wZyqCEUrixqoo7n\nG/QVTQSu1Zo5J2HD0dxBGw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 419,
"comment": "edge case for u2",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "301d02047ffffffd021500f3574ed57ab7c5c1c0aeb155eca538ef150d0a40",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0459ea346ba437153d58a8795b7e078689251d5423f113b9caa5855a8ebe9a6d0b1acf280e342a93da",
"wx": "59ea346ba437153d58a8795b7e078689251d5423",
"wy": "00f113b9caa5855a8ebe9a6d0b1acf280e342a93da"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000459ea346ba437153d58a8795b7e078689251d5423f113b9caa5855a8ebe9a6d0b1acf280e342a93da",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEWeo0a6Q3FT1YqHlbfgeGiSUdVCPxE7nK\npYVajr6abQsazygONCqT2g==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 420,
"comment": "point duplication during verification",
"flags": [
"PointDuplication"
],
"msg": "313233343030",
"sig": "302e02150089499f94eae245d5a9b5374975ece521d855975a021500b1218927935126f18c8f57445bc5ea2a9b62ffcc",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0459ea346ba437153d58a8795b7e078689251d54230eec46355a7aa571416592f4e530d7f14bd56c25",
"wx": "59ea346ba437153d58a8795b7e078689251d5423",
"wy": "0eec46355a7aa571416592f4e530d7f14bd56c25"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000459ea346ba437153d58a8795b7e078689251d54230eec46355a7aa571416592f4e530d7f14bd56c25",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEWeo0a6Q3FT1YqHlbfgeGiSUdVCMO7EY1\nWnqlcUFlkvTlMNfxS9VsJQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 421,
"comment": "duplication bug",
"flags": [
"PointDuplication"
],
"msg": "313233343030",
"sig": "302e02150089499f94eae245d5a9b5374975ece521d855975a021500b1218927935126f18c8f57445bc5ea2a9b62ffcc",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04c1329e5abc05dc8cb22c6c5e900c119fe700880b89643fbd2f156366b3a44316c8bb10e46e305055",
"wx": "00c1329e5abc05dc8cb22c6c5e900c119fe700880b",
"wy": "0089643fbd2f156366b3a44316c8bb10e46e305055"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004c1329e5abc05dc8cb22c6c5e900c119fe700880b89643fbd2f156366b3a44316c8bb10e46e305055",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEwTKeWrwF3IyyLGxekAwRn+cAiAuJZD+9\nLxVjZrOkQxbIuxDkbjBQVQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 422,
"comment": "point with x-coordinate 0",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "3019020101021455555555555555555555fc42fdb7e4f1437c60c7",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "041195e142718809c541296eac4d6201af46695d5d233f099afd1ff16acb1071b4199e61e2a9c346eb",
"wx": "1195e142718809c541296eac4d6201af46695d5d",
"wy": "233f099afd1ff16acb1071b4199e61e2a9c346eb"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00041195e142718809c541296eac4d6201af46695d5d233f099afd1ff16acb1071b4199e61e2a9c346eb",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEEZXhQnGICcVBKW6sTWIBr0ZpXV0jPwma\n/R/xassQcbQZnmHiqcNG6w==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 423,
"comment": "point with x-coordinate 0",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302d0215020000000000000000000000000000000000000000021433333333333333333333975b6507efc3f54aa077",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04c9f7e7bc377bffc4e2a79e4836e61ed5c775dabe073a1e62494b22fa27642f51d6f4c5d35d70db5a",
"wx": "00c9f7e7bc377bffc4e2a79e4836e61ed5c775dabe",
"wy": "073a1e62494b22fa27642f51d6f4c5d35d70db5a"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004c9f7e7bc377bffc4e2a79e4836e61ed5c775dabe073a1e62494b22fa27642f51d6f4c5d35d70db5a",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEyffnvDd7/8Tip55INuYe1cd12r4HOh5i\nSUsi+idkL1HW9MXTXXDbWg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 424,
"comment": "comparison with point at infinity ",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021455555555555555555555fc42fdb7e4f1437c60c7021433333333333333333333975b6507efc3f54aa077",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "042102b319abe9060e9d4520b0b6a8ab9641b3b5d32b4067358970714a0f24ae1f351884a7d8588042",
"wx": "2102b319abe9060e9d4520b0b6a8ab9641b3b5d3",
"wy": "2b4067358970714a0f24ae1f351884a7d8588042"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00042102b319abe9060e9d4520b0b6a8ab9641b3b5d32b4067358970714a0f24ae1f351884a7d8588042",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEIQKzGavpBg6dRSCwtqirlkGztdMrQGc1\niXBxSg8krh81GISn2FiAQg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 425,
"comment": "extreme value for k and edgecase s",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021402f997f33c5ed04c55d3edf8675d3e92e8f46686021455555555555555555555fc42fdb7e4f1437c60c7",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04a185a284dc8e55e796e084ca5f4ddf5bb8d70a0bd39ec502b4b767c9697963ec98bcd6d613c135e8",
"wx": "00a185a284dc8e55e796e084ca5f4ddf5bb8d70a0b",
"wy": "00d39ec502b4b767c9697963ec98bcd6d613c135e8"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004a185a284dc8e55e796e084ca5f4ddf5bb8d70a0bd39ec502b4b767c9697963ec98bcd6d613c135e8",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEoYWihNyOVeeW4ITKX03fW7jXCgvTnsUC\ntLdnyWl5Y+yYvNbWE8E16A==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 426,
"comment": "extreme value for k and s^-1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021402f997f33c5ed04c55d3edf8675d3e92e8f46686021424924924924924924924d9d3914ecfd51cec297a",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0491c7b4456a9ec11f893316f05e8e81a7b434859a0124d84d6dfd221aa928d768f533219eb6d5bccc",
"wx": "0091c7b4456a9ec11f893316f05e8e81a7b434859a",
"wy": "0124d84d6dfd221aa928d768f533219eb6d5bccc"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000491c7b4456a9ec11f893316f05e8e81a7b434859a0124d84d6dfd221aa928d768f533219eb6d5bccc",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEkce0RWqewR+JMxbwXo6Bp7Q0hZoBJNhN\nbf0iGqko12j1MyGettW8zA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 427,
"comment": "extreme value for k and s^-1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302d021402f997f33c5ed04c55d3edf8675d3e92e8f46686021500ccccccccccccccccccce5d6d941fbf0fd52a81df",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "044549f25af5fc3a560c62f91fd555f922df27110342890b6465457119a56148c7637a21144cac650b",
"wx": "4549f25af5fc3a560c62f91fd555f922df271103",
"wy": "42890b6465457119a56148c7637a21144cac650b"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00044549f25af5fc3a560c62f91fd555f922df27110342890b6465457119a56148c7637a21144cac650b",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAERUnyWvX8OlYMYvkf1VX5It8nEQNCiQtk\nZUVxGaVhSMdjeiEUTKxlCw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 428,
"comment": "extreme value for k and s^-1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021402f997f33c5ed04c55d3edf8675d3e92e8f46686021433333333333333333333975b6507efc3f54aa078",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "047f49ac03c66731929b4ef03c7445b386d64025ea02461eb07d492bc8afca10d37f469b14dd2d9449",
"wx": "7f49ac03c66731929b4ef03c7445b386d64025ea",
"wy": "02461eb07d492bc8afca10d37f469b14dd2d9449"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00047f49ac03c66731929b4ef03c7445b386d64025ea02461eb07d492bc8afca10d37f469b14dd2d9449",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEf0msA8ZnMZKbTvA8dEWzhtZAJeoCRh6w\nfUkryK/KENN/RpsU3S2USQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 429,
"comment": "extreme value for k and s^-1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302d021402f997f33c5ed04c55d3edf8675d3e92e8f46686021500db6db6db6db6db6db6dd1af567d8defead88f8dd",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04179d0a5fa8be0b89d8efd25948e8624e3eb1b8a0f614fbdda7c63019c4ad480b01a6f38b7d173138",
"wx": "179d0a5fa8be0b89d8efd25948e8624e3eb1b8a0",
"wy": "00f614fbdda7c63019c4ad480b01a6f38b7d173138"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004179d0a5fa8be0b89d8efd25948e8624e3eb1b8a0f614fbdda7c63019c4ad480b01a6f38b7d173138",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEF50KX6i+C4nY79JZSOhiTj6xuKD2FPvd\np8YwGcStSAsBpvOLfRcxOA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 430,
"comment": "extreme value for k",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c021402f997f33c5ed04c55d3edf8675d3e92e8f4668602140eb00091546e2d1fc7dcc249da653f08707af318",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04aa5cb12acdf9a8336864190c1dd6df86f98f4c4fb2ffdde9e2b9b558c9bfdf7aa9c7f7ec090c61d2",
"wx": "00aa5cb12acdf9a8336864190c1dd6df86f98f4c4f",
"wy": "00b2ffdde9e2b9b558c9bfdf7aa9c7f7ec090c61d2"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004aa5cb12acdf9a8336864190c1dd6df86f98f4c4fb2ffdde9e2b9b558c9bfdf7aa9c7f7ec090c61d2",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEqlyxKs35qDNoZBkMHdbfhvmPTE+y/93p\n4rm1WMm/33qpx/fsCQxh0g==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 431,
"comment": "extreme value for k and edgecase s",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c02144a96b5688ef573284664698968c38bb913cbfc82021455555555555555555555fc42fdb7e4f1437c60c7",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "044f052d5ded4b999f95025401553e1cd6a3f47d6b4b4c60ab8e9ab5a0fb004224047396052236b818",
"wx": "4f052d5ded4b999f95025401553e1cd6a3f47d6b",
"wy": "4b4c60ab8e9ab5a0fb004224047396052236b818"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00044f052d5ded4b999f95025401553e1cd6a3f47d6b4b4c60ab8e9ab5a0fb004224047396052236b818",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAETwUtXe1LmZ+VAlQBVT4c1qP0fWtLTGCr\njpq1oPsAQiQEc5YFIja4GA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 432,
"comment": "extreme value for k and s^-1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c02144a96b5688ef573284664698968c38bb913cbfc82021424924924924924924924d9d3914ecfd51cec297a",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "043a53aa2df4ec5bc2748e4370e608ebdd6a2566660fdf61b9eaf36bac285002e1bfcc62e9e55171db",
"wx": "3a53aa2df4ec5bc2748e4370e608ebdd6a256666",
"wy": "0fdf61b9eaf36bac285002e1bfcc62e9e55171db"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00043a53aa2df4ec5bc2748e4370e608ebdd6a2566660fdf61b9eaf36bac285002e1bfcc62e9e55171db",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEOlOqLfTsW8J0jkNw5gjr3WolZmYP32G5\n6vNrrChQAuG/zGLp5VFx2w==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 433,
"comment": "extreme value for k and s^-1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302d02144a96b5688ef573284664698968c38bb913cbfc82021500ccccccccccccccccccce5d6d941fbf0fd52a81df",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04747c6174595d49f17bb3a36c8b7166421fff8f9f5d9784617bdd66817754e964a1c622c40cfdab3c",
"wx": "747c6174595d49f17bb3a36c8b7166421fff8f9f",
"wy": "5d9784617bdd66817754e964a1c622c40cfdab3c"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004747c6174595d49f17bb3a36c8b7166421fff8f9f5d9784617bdd66817754e964a1c622c40cfdab3c",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEdHxhdFldSfF7s6Nsi3FmQh//j59dl4Rh\ne91mgXdU6WShxiLEDP2rPA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 434,
"comment": "extreme value for k and s^-1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c02144a96b5688ef573284664698968c38bb913cbfc82021433333333333333333333975b6507efc3f54aa078",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0402489c58f2679bd170cb48776c5c6b2c6c8510233244ffe4760912f715c443133a384ecde72e6844",
"wx": "02489c58f2679bd170cb48776c5c6b2c6c851023",
"wy": "3244ffe4760912f715c443133a384ecde72e6844"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000402489c58f2679bd170cb48776c5c6b2c6c8510233244ffe4760912f715c443133a384ecde72e6844",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEAkicWPJnm9Fwy0h3bFxrLGyFECMyRP/k\ndgkS9xXEQxM6OE7N5y5oRA==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 435,
"comment": "extreme value for k and s^-1",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302d02144a96b5688ef573284664698968c38bb913cbfc82021500db6db6db6db6db6db6dd1af567d8defead88f8dd",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "044d0bdafb33dfb43af69e8e130dd901d129ac427a1f74bde4f32ad5bb21ae7cae079c9fc583fe196d",
"wx": "4d0bdafb33dfb43af69e8e130dd901d129ac427a",
"wy": "1f74bde4f32ad5bb21ae7cae079c9fc583fe196d"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00044d0bdafb33dfb43af69e8e130dd901d129ac427a1f74bde4f32ad5bb21ae7cae079c9fc583fe196d",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAETQva+zPftDr2no4TDdkB0SmsQnofdL3k\n8yrVuyGufK4HnJ/Fg/4ZbQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 436,
"comment": "extreme value for k",
"flags": [
"ArithmeticError"
],
"msg": "313233343030",
"sig": "302c02144a96b5688ef573284664698968c38bb913cbfc8202140eb00091546e2d1fc7dcc249da653f08707af318",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "044a96b5688ef573284664698968c38bb913cbfc8223a628553168947d59dcc912042351377ac5fb32",
"wx": "4a96b5688ef573284664698968c38bb913cbfc82",
"wy": "23a628553168947d59dcc912042351377ac5fb32"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00044a96b5688ef573284664698968c38bb913cbfc8223a628553168947d59dcc912042351377ac5fb32",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAESpa1aI71cyhGZGmJaMOLuRPL/IIjpihV\nMWiUfVncyRIEI1E3esX7Mg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 437,
"comment": "public key shares x-coordinate with generator",
"flags": [
"PointDuplication"
],
"msg": "313233343030",
"sig": "302d02150176b4a5e85f3924c3da86c3eb284543c6006dcf86021424924924924924924924d9d3914ecfd51cec297a",
"result": "invalid"
},
{
"tcId": 438,
"comment": "public key shares x-coordinate with generator",
"flags": [
"PointDuplication"
],
"msg": "313233343030",
"sig": "302d021500894b5a17a0c6db3c257d25a6ca0a19e1947c7528021424924924924924924924d9d3914ecfd51cec297a",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "google-wycheproof",
"version": "0.9rc5"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "044a96b5688ef573284664698968c38bb913cbfc82dc59d7aace976b82a62336edfbdcaec8053a04cd",
"wx": "4a96b5688ef573284664698968c38bb913cbfc82",
"wy": "00dc59d7aace976b82a62336edfbdcaec8053a04cd"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00044a96b5688ef573284664698968c38bb913cbfc82dc59d7aace976b82a62336edfbdcaec8053a04cd",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAESpa1aI71cyhGZGmJaMOLuRPL/ILcWdeq\nzpdrgqYjNu373K7IBToEzQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 439,
"comment": "public key shares x-coordinate with generator",
"flags": [
"PointDuplication"
],
"msg": "313233343030",
"sig": "302d02150176b4a5e85f3924c3da86c3eb284543c6006dcf86021424924924924924924924d9d3914ecfd51cec297a",
"result": "invalid"
},
{
"tcId": 440,
"comment": "public key shares x-coordinate with generator",
"flags": [
"PointDuplication"
],
"msg": "313233343030",
"sig": "302d021500894b5a17a0c6db3c257d25a6ca0a19e1947c7528021424924924924924924924d9d3914ecfd51cec297a",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "github/davidben/ecdsa-non-minimal-tag",
"version": "0.1"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04b0046a56f874d30ea2ba7ac1a935fd9d754ee6417b9a54d275806819ec30b15618f5625115241f46",
"wx": "00b0046a56f874d30ea2ba7ac1a935fd9d754ee641",
"wy": "7b9a54d275806819ec30b15618f5625115241f46"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004b0046a56f874d30ea2ba7ac1a935fd9d754ee6417b9a54d275806819ec30b15618f5625115241f46",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEsARqVvh00w6iunrBqTX9nXVO5kF7mlTS\ndYBoGewwsVYY9WJRFSQfRg==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 441,
"comment": "signature with non-minimal SEQUENCE tag",
"flags": [
"InvalidEncoding"
],
"msg": "",
"sig": "3f102c021449c9656cd8cbee4456548d63a7fc480791909c4202146ff78980793ee086a2e66e01a490bdfc03f2d302",
"result": "invalid"
},
{
"tcId": 442,
"comment": "signature with non-minimal INTEGER tag on r",
"flags": [
"InvalidEncoding"
],
"msg": "",
"sig": "302d1f021449c9656cd8cbee4456548d63a7fc480791909c4202146ff78980793ee086a2e66e01a490bdfc03f2d302",
"result": "invalid"
},
{
"tcId": 443,
"comment": "signature with non-minimal INTEGER tag on s",
"flags": [
"InvalidEncoding"
],
"msg": "",
"sig": "302d021449c9656cd8cbee4456548d63a7fc480791909c421f02146ff78980793ee086a2e66e01a490bdfc03f2d302",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "github/davidben/ecdsa-r-s-edge-cases",
"version": "0.1"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0439891bd61138e775cd012518ff00f59ae01c473325026b77b1c44affb1592dcf711b4290e9404c9f",
"wx": "39891bd61138e775cd012518ff00f59ae01c4733",
"wy": "25026b77b1c44affb1592dcf711b4290e9404c9f"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000439891bd61138e775cd012518ff00f59ae01c473325026b77b1c44affb1592dcf711b4290e9404c9f",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEOYkb1hE453XNASUY/wD1muAcRzMlAmt3\nscRK/7FZLc9xG0KQ6UBMnw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 444,
"comment": "r = 4, x = 4 is valid",
"flags": [
"ValidSignature"
],
"msg": "68656c6c6f2c20776f726c64",
"sig": "301a02010402150100000000000000000001f4c8f927aed3ca752254",
"result": "valid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "github/davidben/ecdsa-r-s-edge-cases",
"version": "0.1"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "041a56b4e2ab0384b1daa35459f77066b5918b49d5a3a47844c1b449a82f14658948402cf8c592e0af",
"wx": "1a56b4e2ab0384b1daa35459f77066b5918b49d5",
"wy": "a3a47844c1b449a82f14658948402cf8c592e0af"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00041a56b4e2ab0384b1daa35459f77066b5918b49d5a3a47844c1b449a82f14658948402cf8c592e0af",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEGla04qsDhLHao1RZ93BmtZGLSdWjpHhE\nwbRJqC8UZYlIQCz4xZLgrw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 445,
"comment": "r = 5, x = 4 is invalid",
"flags": [
"ArithmeticError"
],
"msg": "68656c6c6f2c20776f726c64",
"sig": "301a02010502150100000000000000000001f4c8f927aed3ca752254",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "github/davidben/ecdsa-r-s-edge-cases",
"version": "0.1"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "0439891bd61138e775cd012518ff00f59ae01c473325026b77b1c44affb1592dcf711b4290e9404c9f",
"wx": "39891bd61138e775cd012518ff00f59ae01c4733",
"wy": "25026b77b1c44affb1592dcf711b4290e9404c9f"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a000439891bd61138e775cd012518ff00f59ae01c473325026b77b1c44affb1592dcf711b4290e9404c9f",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEOYkb1hE453XNASUY/wD1muAcRzMlAmt3\nscRK/7FZLc9xG0KQ6UBMnw==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 446,
"comment": "r = 4 + n, x = 4 is invalid; r was not reduced mod n",
"flags": [
"ArithmeticError"
],
"msg": "68656c6c6f2c20776f726c64",
"sig": "302e02150100000000000000000001f4c8f927aed3ca75225b02150100000000000000000001f4c8f927aed3ca752254",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "github/davidben/ecdsa-r-s-edge-cases",
"version": "0.1"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "042a675dfed49c0f8c298abae00cd7afdcb7fd84caa94d8033f6cbbb84b9f8b7e4838c495c46439355",
"wx": "2a675dfed49c0f8c298abae00cd7afdcb7fd84ca",
"wy": "a94d8033f6cbbb84b9f8b7e4838c495c46439355"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a00042a675dfed49c0f8c298abae00cd7afdcb7fd84caa94d8033f6cbbb84b9f8b7e4838c495c46439355",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEKmdd/tScD4wpirrgDNev3Lf9hMqpTYAz\n9su7hLn4t+SDjElcRkOTVQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 447,
"comment": "r = p - 4, x = p - 3 is invalid",
"flags": [
"ArithmeticError"
],
"msg": "68656c6c6f2c20776f726c64",
"sig": "302e021500ffffffffffffffffffffffffffffffff7ffffffb02150100000000000000000001f4c8f927aed3ca752254",
"result": "invalid"
}
]
},
{
"type": "EcdsaVerify",
"source": {
"name": "github/davidben/ecdsa-r-s-edge-cases",
"version": "0.1"
},
"publicKey": {
"type": "EcPublicKey",
"curve": "secp160r1",
"keySize": 160,
"uncompressed": "04d8add22064027856c162243ab09ea966429752978822a506712385ab3ebe5c61737c3bbb722b06b9",
"wx": "d8add22064027856c162243ab09ea96642975297",
"wy": "8822a506712385ab3ebe5c61737c3bbb722b06b9"
},
"publicKeyDer": "303e301006072a8648ce3d020106052b81040008032a0004d8add22064027856c162243ab09ea966429752978822a506712385ab3ebe5c61737c3bbb722b06b9",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAE2K3SIGQCeFbBYiQ6sJ6pZkKXUpeIIqUG\ncSOFqz6+XGFzfDu7cisGuQ==\n-----END PUBLIC KEY-----\n",
"sha": "SHA-256",
"tests": [
{
"tcId": 448,
"comment": "r = 4 + p, x = 4 is invalid; values only match mod p",
"flags": [
"ArithmeticError"
],
"msg": "68656c6c6f2c20776f726c64",
"sig": "302e021500ffffffffffffffffffffffffffffffff8000000302150100000000000000000001f4c8f927aed3ca752254",
"result": "invalid"
}
]
}
]
}