| { |
| "algorithm": "ECDSA", |
| "schema": "ecdsa_verify_schema_v1.json", |
| "numberOfTests": 443, |
| "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" |
| ] |
| }, |
| "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": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0446f1a7493b131f3c6032e9612b8e1bd3d1a3104ce3cef3c8020c277ba45bc93a9a364f07eba8302c", |
| "wx": "46f1a7493b131f3c6032e9612b8e1bd3d1a3104c", |
| "wy": "00e3cef3c8020c277ba45bc93a9a364f07eba8302c" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000446f1a7493b131f3c6032e9612b8e1bd3d1a3104ce3cef3c8020c277ba45bc93a9a364f07eba8302c", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAERvGnSTsTHzxgMulhK44b09GjEEzjzvPI\nAgwne6RbyTqaNk8H66gwLA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 1, |
| "comment": "pseudorandom signature", |
| "flags": [ |
| "ValidSignature" |
| ], |
| "msg": "", |
| "sig": "302d02142b5ebaf4211158c687625922bd903253892cf834021500aed36914690e0d99637b92439539a13bd8e6d800", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2, |
| "comment": "pseudorandom signature", |
| "flags": [ |
| "ValidSignature" |
| ], |
| "msg": "4d7367", |
| "sig": "302c02146d8624bff7719b53dab811bdc0e434a5e9f02e8d02140b50e6dce0f5c1a757290eed8df0aa8092b2ff90", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3, |
| "comment": "pseudorandom signature", |
| "flags": [ |
| "ValidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302d02142039f168a3a1f9f0a3ed4f11be9d5d0a9807eb8c021500ca18c2ebd6bff0ce46dcdefd16ab455fb36391d2", |
| "result": "valid" |
| }, |
| { |
| "tcId": 4, |
| "comment": "pseudorandom signature", |
| "flags": [ |
| "ValidSignature" |
| ], |
| "msg": "0000000000000000000000000000000000000000", |
| "sig": "302d02144f71a123bf7c4983f5707c17ce4782c833e833f0021500dcfb123cf5470f21375e62ba4054ffd9a836908c", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04e4d9ffe5ec17db4997519d0ae4219c47d8104498b1ac39296f239bb18008b6711545873c9fade258", |
| "wx": "00e4d9ffe5ec17db4997519d0ae4219c47d8104498", |
| "wy": "00b1ac39296f239bb18008b6711545873c9fade258" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004e4d9ffe5ec17db4997519d0ae4219c47d8104498b1ac39296f239bb18008b6711545873c9fade258", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAE5Nn/5ewX20mXUZ0K5CGcR9gQRJixrDkp\nbyObsYAItnEVRYc8n63iWA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 5, |
| "comment": "signature malleability", |
| "flags": [ |
| "ValidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302d02140af8cf160e6cdee66be28cc2e341d85210f931d0021500c85b8de817a9a998acf135a918c146c7ebde2b3e", |
| "result": "valid" |
| }, |
| { |
| "tcId": 6, |
| "comment": "valid", |
| "flags": [ |
| "ValidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "valid" |
| }, |
| { |
| "tcId": 7, |
| "comment": "length of sequence [r, s] uses long form encoding", |
| "flags": [ |
| "BerEncodedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30812c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 8, |
| "comment": "length of sequence [r, s] contains a leading 0", |
| "flags": [ |
| "BerEncodedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3082002c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 9, |
| "comment": "length of sequence [r, s] uses 45 instead of 44", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302d02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 10, |
| "comment": "length of sequence [r, s] uses 43 instead of 44", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302b02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 11, |
| "comment": "uint32 overflow in length of sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3085010000002c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 12, |
| "comment": "uint64 overflow in length of sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "308901000000000000002c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 13, |
| "comment": "length of sequence [r, s] = 2**31 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30847fffffff02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 14, |
| "comment": "length of sequence [r, s] = 2**31", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30848000000002140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 15, |
| "comment": "length of sequence [r, s] = 2**32 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3084ffffffff02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 16, |
| "comment": "length of sequence [r, s] = 2**40 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3085ffffffffff02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 17, |
| "comment": "length of sequence [r, s] = 2**64 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3088ffffffffffffffff02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 18, |
| "comment": "incorrect length of sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30ff02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 19, |
| "comment": "replaced sequence [r, s] by an indefinite length tag without termination", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "308002140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 20, |
| "comment": "removing sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 21, |
| "comment": "lonely sequence tag", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 22, |
| "comment": "appending 0's to sequence [r, s]", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d0000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 23, |
| "comment": "prepending 0's to sequence [r, s]", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e000002140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 24, |
| "comment": "appending unused 0's to sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d0000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 25, |
| "comment": "appending null value to sequence [r, s]", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d0500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 26, |
| "comment": "prepending garbage to sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3031498177302c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 27, |
| "comment": "prepending garbage to sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30302500302c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 28, |
| "comment": "appending garbage to sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302e302c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d0004deadbeef", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 29, |
| "comment": "including undefined tags", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3034aa00bb00cd00302c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 30, |
| "comment": "including undefined tags", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3034221caa00bb00cd0002140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 31, |
| "comment": "including undefined tags", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303402140af8cf160e6cdee66be28cc2e341d85210f931d0221caa00bb00cd00021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 32, |
| "comment": "truncated length of sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3081", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 33, |
| "comment": "including undefined tags to sequence [r, s]", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3032aa02aabb302c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 34, |
| "comment": "using composition with indefinite length for sequence [r, s]", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3080302c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d0000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 35, |
| "comment": "using composition with wrong tag for sequence [r, s]", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3080312c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d0000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 36, |
| "comment": "Replacing sequence [r, s] with NULL", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "0500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 37, |
| "comment": "changing tag value of sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "2e2c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 38, |
| "comment": "changing tag value of sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "2f2c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 39, |
| "comment": "changing tag value of sequence [r, s]", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "312c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 40, |
| "comment": "changing tag value of sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "322c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 41, |
| "comment": "changing tag value of sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "ff2c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 42, |
| "comment": "dropping value of sequence [r, s]", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 43, |
| "comment": "using composition for sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3030300102302b140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 44, |
| "comment": "truncated sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302b02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c376", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 45, |
| "comment": "truncated sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302b140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 46, |
| "comment": "sequence [r, s] of size 4141 to check for overflows", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3082102d02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 47, |
| "comment": "indefinite length", |
| "flags": [ |
| "BerEncodedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "308002140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d0000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 48, |
| "comment": "indefinite length with truncated delimiter", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "308002140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d00", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 49, |
| "comment": "indefinite length with additional element", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "308002140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d05000000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 50, |
| "comment": "indefinite length with truncated element", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "308002140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d060811220000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 51, |
| "comment": "indefinite length with garbage", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "308002140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d0000fe02beef", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 52, |
| "comment": "indefinite length with nonempty EOC", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "308002140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d0002beef", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 53, |
| "comment": "prepend empty sequence", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e300002140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 54, |
| "comment": "append empty sequence", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d3000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 55, |
| "comment": "append zero", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302f02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 56, |
| "comment": "append garbage with high tag number", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302f02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762dbf7f00", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 57, |
| "comment": "append null with explicit tag", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "303002140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762da0020500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 58, |
| "comment": "append null with implicit tag", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762da000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 59, |
| "comment": "sequence of sequence", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e302c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 60, |
| "comment": "truncated sequence: removed last 1 elements", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301602140af8cf160e6cdee66be28cc2e341d85210f931d0", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 61, |
| "comment": "repeating element in sequence", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304202140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 62, |
| "comment": "flipped bit 0 in r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302a0af8cf160e6cdee66be28cc2e341d85210f931d1021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 63, |
| "comment": "flipped bit 32 in r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302a0af8cf160e6cdee66be28cc2e341d85310f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 64, |
| "comment": "flipped bit 48 in r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302a0af8cf160e6cdee66be28cc2e340d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 65, |
| "comment": "flipped bit 64 in r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302a0af8cf160e6cdee66be28cc3e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 66, |
| "comment": "length of r uses long form encoding", |
| "flags": [ |
| "BerEncodedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302d0281140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 67, |
| "comment": "length of r contains a leading 0", |
| "flags": [ |
| "BerEncodedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e028200140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 68, |
| "comment": "length of r uses 21 instead of 20", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02150af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 69, |
| "comment": "length of r uses 19 instead of 20", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02130af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 70, |
| "comment": "uint32 overflow in length of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3031028501000000140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 71, |
| "comment": "uint64 overflow in length of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303502890100000000000000140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 72, |
| "comment": "length of r = 2**31 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303002847fffffff0af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 73, |
| "comment": "length of r = 2**31", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30300284800000000af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 74, |
| "comment": "length of r = 2**32 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30300284ffffffff0af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 75, |
| "comment": "length of r = 2**40 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30310285ffffffffff0af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 76, |
| "comment": "length of r = 2**64 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30340288ffffffffffffffff0af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 77, |
| "comment": "incorrect length of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02ff0af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 78, |
| "comment": "replaced r by an indefinite length tag without termination", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02800af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 79, |
| "comment": "removing r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3016021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 80, |
| "comment": "lonely integer tag", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "301702021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 81, |
| "comment": "lonely integer tag", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "301702140af8cf160e6cdee66be28cc2e341d85210f931d002", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 82, |
| "comment": "appending 0's to r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02160af8cf160e6cdee66be28cc2e341d85210f931d00000021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 83, |
| "comment": "prepending 0's to r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021600000af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 84, |
| "comment": "appending unused 0's to r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02140af8cf160e6cdee66be28cc2e341d85210f931d00000021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 85, |
| "comment": "appending null value to r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02160af8cf160e6cdee66be28cc2e341d85210f931d00500021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 86, |
| "comment": "prepending garbage to r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3031221949817702140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 87, |
| "comment": "prepending garbage to r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30302218250002140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 88, |
| "comment": "appending garbage to r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3034221602140af8cf160e6cdee66be28cc2e341d85210f931d00004deadbeef021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 89, |
| "comment": "truncated length of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30180281021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 90, |
| "comment": "including undefined tags to r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3032221aaa02aabb02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 91, |
| "comment": "using composition with indefinite length for r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3030228002140af8cf160e6cdee66be28cc2e341d85210f931d00000021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 92, |
| "comment": "using composition with wrong tag for r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3030228003140af8cf160e6cdee66be28cc2e341d85210f931d00000021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 93, |
| "comment": "Replacing r with NULL", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30180500021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 94, |
| "comment": "changing tag value of r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302c00140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 95, |
| "comment": "changing tag value of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302c01140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 96, |
| "comment": "changing tag value of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302c03140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 97, |
| "comment": "changing tag value of r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302c04140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 98, |
| "comment": "changing tag value of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302cff140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 99, |
| "comment": "dropping value of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30180200021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 100, |
| "comment": "using composition for r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3030221802010a0213f8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 101, |
| "comment": "modifying first byte of r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021408f8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 102, |
| "comment": "modifying last byte of r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02140af8cf160e6cdee66be28cc2e341d85210f93150021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 103, |
| "comment": "truncated r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302b02130af8cf160e6cdee66be28cc2e341d85210f931021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 104, |
| "comment": "truncated r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302b0213f8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 105, |
| "comment": "r of size 4117 to check for overflows", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3082102f028210150af8cf160e6cdee66be28cc2e341d85210f931d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 106, |
| "comment": "leading ff in r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302d0215ff0af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 107, |
| "comment": "replaced r by infinity", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3019090180021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 108, |
| "comment": "replacing r with zero", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3019020100021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 109, |
| "comment": "flipped bit 0 in s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302a02140af8cf160e6cdee66be28cc2e341d85210f931d037a47217e8565667530eff75cec5615107c3762c", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 110, |
| "comment": "flipped bit 32 in s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302a02140af8cf160e6cdee66be28cc2e341d85210f931d037a47217e8565667530eff75cec5615007c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 111, |
| "comment": "flipped bit 48 in s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302a02140af8cf160e6cdee66be28cc2e341d85210f931d037a47217e8565667530eff75cec4615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 112, |
| "comment": "flipped bit 64 in s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302a02140af8cf160e6cdee66be28cc2e341d85210f931d037a47217e8565667530eff74cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 113, |
| "comment": "length of s uses long form encoding", |
| "flags": [ |
| "BerEncodedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302d02140af8cf160e6cdee66be28cc2e341d85210f931d002811437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 114, |
| "comment": "length of s contains a leading 0", |
| "flags": [ |
| "BerEncodedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02140af8cf160e6cdee66be28cc2e341d85210f931d00282001437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 115, |
| "comment": "length of s uses 21 instead of 20", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02140af8cf160e6cdee66be28cc2e341d85210f931d0021537a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 116, |
| "comment": "length of s uses 19 instead of 20", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02140af8cf160e6cdee66be28cc2e341d85210f931d0021337a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 117, |
| "comment": "uint32 overflow in length of s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303102140af8cf160e6cdee66be28cc2e341d85210f931d00285010000001437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 118, |
| "comment": "uint64 overflow in length of s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303502140af8cf160e6cdee66be28cc2e341d85210f931d0028901000000000000001437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 119, |
| "comment": "length of s = 2**31 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303002140af8cf160e6cdee66be28cc2e341d85210f931d002847fffffff37a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 120, |
| "comment": "length of s = 2**31", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303002140af8cf160e6cdee66be28cc2e341d85210f931d002848000000037a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 121, |
| "comment": "length of s = 2**32 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303002140af8cf160e6cdee66be28cc2e341d85210f931d00284ffffffff37a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 122, |
| "comment": "length of s = 2**40 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303102140af8cf160e6cdee66be28cc2e341d85210f931d00285ffffffffff37a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 123, |
| "comment": "length of s = 2**64 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303402140af8cf160e6cdee66be28cc2e341d85210f931d00288ffffffffffffffff37a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 124, |
| "comment": "incorrect length of s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02140af8cf160e6cdee66be28cc2e341d85210f931d002ff37a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 125, |
| "comment": "replaced s by an indefinite length tag without termination", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02140af8cf160e6cdee66be28cc2e341d85210f931d0028037a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 126, |
| "comment": "appending 0's to s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02140af8cf160e6cdee66be28cc2e341d85210f931d0021637a47217e8565667530eff75cec5615107c3762d0000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 127, |
| "comment": "prepending 0's to s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02140af8cf160e6cdee66be28cc2e341d85210f931d00216000037a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 128, |
| "comment": "appending null value to s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02140af8cf160e6cdee66be28cc2e341d85210f931d0021637a47217e8565667530eff75cec5615107c3762d0500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 129, |
| "comment": "prepending garbage to s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303102140af8cf160e6cdee66be28cc2e341d85210f931d02219498177021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 130, |
| "comment": "prepending garbage to s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303002140af8cf160e6cdee66be28cc2e341d85210f931d022182500021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 131, |
| "comment": "appending garbage to s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303402140af8cf160e6cdee66be28cc2e341d85210f931d02216021437a47217e8565667530eff75cec5615107c3762d0004deadbeef", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 132, |
| "comment": "truncated length of s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "301802140af8cf160e6cdee66be28cc2e341d85210f931d00281", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 133, |
| "comment": "including undefined tags to s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303202140af8cf160e6cdee66be28cc2e341d85210f931d0221aaa02aabb021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 134, |
| "comment": "using composition with indefinite length for s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303002140af8cf160e6cdee66be28cc2e341d85210f931d02280021437a47217e8565667530eff75cec5615107c3762d0000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 135, |
| "comment": "using composition with wrong tag for s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303002140af8cf160e6cdee66be28cc2e341d85210f931d02280031437a47217e8565667530eff75cec5615107c3762d0000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 136, |
| "comment": "Replacing s with NULL", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301802140af8cf160e6cdee66be28cc2e341d85210f931d00500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 137, |
| "comment": "changing tag value of s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02140af8cf160e6cdee66be28cc2e341d85210f931d0001437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 138, |
| "comment": "changing tag value of s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02140af8cf160e6cdee66be28cc2e341d85210f931d0011437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 139, |
| "comment": "changing tag value of s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02140af8cf160e6cdee66be28cc2e341d85210f931d0031437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 140, |
| "comment": "changing tag value of s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02140af8cf160e6cdee66be28cc2e341d85210f931d0041437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 141, |
| "comment": "changing tag value of s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02140af8cf160e6cdee66be28cc2e341d85210f931d0ff1437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 142, |
| "comment": "dropping value of s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "301802140af8cf160e6cdee66be28cc2e341d85210f931d00200", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 143, |
| "comment": "using composition for s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "303002140af8cf160e6cdee66be28cc2e341d85210f931d022180201370213a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 144, |
| "comment": "modifying first byte of s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02140af8cf160e6cdee66be28cc2e341d85210f931d0021435a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 145, |
| "comment": "modifying last byte of s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02140af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c376ad", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 146, |
| "comment": "truncated s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302b02140af8cf160e6cdee66be28cc2e341d85210f931d0021337a47217e8565667530eff75cec5615107c376", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 147, |
| "comment": "truncated s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302b02140af8cf160e6cdee66be28cc2e341d85210f931d00213a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 148, |
| "comment": "s of size 4117 to check for overflows", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3082102f02140af8cf160e6cdee66be28cc2e341d85210f931d00282101537a47217e8565667530eff75cec5615107c3762d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 149, |
| "comment": "leading ff in s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302d02140af8cf160e6cdee66be28cc2e341d85210f931d00215ff37a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 150, |
| "comment": "replaced s by infinity", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301902140af8cf160e6cdee66be28cc2e341d85210f931d0090180", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 151, |
| "comment": "replacing s with zero", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301902140af8cf160e6cdee66be28cc2e341d85210f931d0020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 152, |
| "comment": "replaced r by r + n", |
| "flags": [ |
| "RangeCheck" |
| ], |
| "msg": "313233343030", |
| "sig": "302d0215010af8cf160e6cdee66be2c1e1cac8806b049ad33b021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 153, |
| "comment": "replaced r by r - n", |
| "flags": [ |
| "RangeCheck" |
| ], |
| "msg": "313233343030", |
| "sig": "302d0215ff0af8cf160e6cdee66be257a3fbbb30391d579065021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 154, |
| "comment": "replaced r by r + 256 * n", |
| "flags": [ |
| "RangeCheck" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021601000af8cf160e6cdee66c17abaa69e9f145b29a9cd0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 155, |
| "comment": "replaced r by -r", |
| "flags": [ |
| "ModifiedInteger" |
| ], |
| "msg": "313233343030", |
| "sig": "302c0214f50730e9f1932119941d733d1cbe27adef06ce30021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 156, |
| "comment": "replaced r by n - r", |
| "flags": [ |
| "ModifiedInteger" |
| ], |
| "msg": "313233343030", |
| "sig": "302d021500f50730e9f1932119941da85c0444cfc6e2a86f9b021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 157, |
| "comment": "replaced r by -n - r", |
| "flags": [ |
| "ModifiedInteger" |
| ], |
| "msg": "313233343030", |
| "sig": "302d0215fef50730e9f1932119941d3e1e35377f94fb652cc5021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 158, |
| "comment": "replaced r by r + 2**161", |
| "flags": [ |
| "IntegerOverflow" |
| ], |
| "msg": "313233343030", |
| "sig": "302d0215020af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 159, |
| "comment": "replaced r by r - 2**161", |
| "flags": [ |
| "IntegerOverflow" |
| ], |
| "msg": "313233343030", |
| "sig": "302d0215fe0af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 160, |
| "comment": "replaced r by r + 2**225", |
| "flags": [ |
| "IntegerOverflow" |
| ], |
| "msg": "313233343030", |
| "sig": "3035021d0200000000000000000af8cf160e6cdee66be28cc2e341d85210f931d0021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 161, |
| "comment": "replaced s by s + n", |
| "flags": [ |
| "RangeCheck" |
| ], |
| "msg": "313233343030", |
| "sig": "302d02150137a47217e8565667530f3494b64c0969fb651798021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 162, |
| "comment": "replaced s by s - n", |
| "flags": [ |
| "RangeCheck" |
| ], |
| "msg": "313233343030", |
| "sig": "302d0215ff37a47217e8565667530eca56e73eb9381421d4c2021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 163, |
| "comment": "replaced s by s + 256 * n", |
| "flags": [ |
| "RangeCheck" |
| ], |
| "msg": "313233343030", |
| "sig": "302e0216010037a47217e856566753441e5d556d7a44a964e12d021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 164, |
| "comment": "replaced s by -s", |
| "flags": [ |
| "ModifiedInteger" |
| ], |
| "msg": "313233343030", |
| "sig": "302c0214c85b8de817a9a998acf1008a313a9eaef83c89d3021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 165, |
| "comment": "replaced s by -n - s", |
| "flags": [ |
| "ModifiedInteger" |
| ], |
| "msg": "313233343030", |
| "sig": "302d0215fec85b8de817a9a998acf0cb6b49b3f696049ae868021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 166, |
| "comment": "replaced s by s + 2**161", |
| "flags": [ |
| "IntegerOverflow" |
| ], |
| "msg": "313233343030", |
| "sig": "302d02150237a47217e8565667530eff75cec5615107c3762d021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 167, |
| "comment": "replaced s by s - 2**161", |
| "flags": [ |
| "IntegerOverflow" |
| ], |
| "msg": "313233343030", |
| "sig": "302d0215fe37a47217e8565667530eff75cec5615107c3762d021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 168, |
| "comment": "replaced s by s + 2**225", |
| "flags": [ |
| "IntegerOverflow" |
| ], |
| "msg": "313233343030", |
| "sig": "3035021d02000000000000000037a47217e8565667530eff75cec5615107c3762d021437a47217e8565667530eff75cec5615107c3762d", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 169, |
| "comment": "Signature with special case values r=0 and s=0", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020100020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 170, |
| "comment": "Signature with special case values r=0 and s=1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020100020101", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 171, |
| "comment": "Signature with special case values r=0 and s=-1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30060201000201ff", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 172, |
| "comment": "Signature with special case values r=0 and s=n", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02010002150100000000000000000000351ee786a818f3a1a16b", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 173, |
| "comment": "Signature with special case values r=0 and s=n - 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02010002150100000000000000000000351ee786a818f3a1a16a", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 174, |
| "comment": "Signature with special case values r=0 and s=n + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02010002150100000000000000000000351ee786a818f3a1a16c", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 175, |
| "comment": "Signature with special case values r=0 and s=p", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a020100021500fffffffffffffffffffffffffffffffeffffac73", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 176, |
| "comment": "Signature with special case values r=0 and s=p + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a020100021500fffffffffffffffffffffffffffffffeffffac74", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 177, |
| "comment": "Signature with special case values r=1 and s=0", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020101020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 178, |
| "comment": "Signature with special case values r=1 and s=1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020101020101", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 179, |
| "comment": "Signature with special case values r=1 and s=-1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30060201010201ff", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 180, |
| "comment": "Signature with special case values r=1 and s=n", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02010102150100000000000000000000351ee786a818f3a1a16b", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 181, |
| "comment": "Signature with special case values r=1 and s=n - 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02010102150100000000000000000000351ee786a818f3a1a16a", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 182, |
| "comment": "Signature with special case values r=1 and s=n + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02010102150100000000000000000000351ee786a818f3a1a16c", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 183, |
| "comment": "Signature with special case values r=1 and s=p", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a020101021500fffffffffffffffffffffffffffffffeffffac73", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 184, |
| "comment": "Signature with special case values r=1 and s=p + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a020101021500fffffffffffffffffffffffffffffffeffffac74", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 185, |
| "comment": "Signature with special case values r=-1 and s=0", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30060201ff020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 186, |
| "comment": "Signature with special case values r=-1 and s=1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30060201ff020101", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 187, |
| "comment": "Signature with special case values r=-1 and s=-1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30060201ff0201ff", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 188, |
| "comment": "Signature with special case values r=-1 and s=n", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a0201ff02150100000000000000000000351ee786a818f3a1a16b", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 189, |
| "comment": "Signature with special case values r=-1 and s=n - 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a0201ff02150100000000000000000000351ee786a818f3a1a16a", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 190, |
| "comment": "Signature with special case values r=-1 and s=n + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a0201ff02150100000000000000000000351ee786a818f3a1a16c", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 191, |
| "comment": "Signature with special case values r=-1 and s=p", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a0201ff021500fffffffffffffffffffffffffffffffeffffac73", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 192, |
| "comment": "Signature with special case values r=-1 and s=p + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a0201ff021500fffffffffffffffffffffffffffffffeffffac74", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 193, |
| "comment": "Signature with special case values r=n and s=0", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02150100000000000000000000351ee786a818f3a1a16b020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 194, |
| "comment": "Signature with special case values r=n and s=1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02150100000000000000000000351ee786a818f3a1a16b020101", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 195, |
| "comment": "Signature with special case values r=n and s=-1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02150100000000000000000000351ee786a818f3a1a16b0201ff", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 196, |
| "comment": "Signature with special case values r=n and s=n", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02150100000000000000000000351ee786a818f3a1a16b02150100000000000000000000351ee786a818f3a1a16b", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 197, |
| "comment": "Signature with special case values r=n and s=n - 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02150100000000000000000000351ee786a818f3a1a16b02150100000000000000000000351ee786a818f3a1a16a", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 198, |
| "comment": "Signature with special case values r=n and s=n + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02150100000000000000000000351ee786a818f3a1a16b02150100000000000000000000351ee786a818f3a1a16c", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 199, |
| "comment": "Signature with special case values r=n and s=p", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02150100000000000000000000351ee786a818f3a1a16b021500fffffffffffffffffffffffffffffffeffffac73", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 200, |
| "comment": "Signature with special case values r=n and s=p + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02150100000000000000000000351ee786a818f3a1a16b021500fffffffffffffffffffffffffffffffeffffac74", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 201, |
| "comment": "Signature with special case values r=n - 1 and s=0", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02150100000000000000000000351ee786a818f3a1a16a020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 202, |
| "comment": "Signature with special case values r=n - 1 and s=1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02150100000000000000000000351ee786a818f3a1a16a020101", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 203, |
| "comment": "Signature with special case values r=n - 1 and s=-1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02150100000000000000000000351ee786a818f3a1a16a0201ff", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 204, |
| "comment": "Signature with special case values r=n - 1 and s=n", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02150100000000000000000000351ee786a818f3a1a16a02150100000000000000000000351ee786a818f3a1a16b", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 205, |
| "comment": "Signature with special case values r=n - 1 and s=n - 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02150100000000000000000000351ee786a818f3a1a16a02150100000000000000000000351ee786a818f3a1a16a", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 206, |
| "comment": "Signature with special case values r=n - 1 and s=n + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02150100000000000000000000351ee786a818f3a1a16a02150100000000000000000000351ee786a818f3a1a16c", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 207, |
| "comment": "Signature with special case values r=n - 1 and s=p", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02150100000000000000000000351ee786a818f3a1a16a021500fffffffffffffffffffffffffffffffeffffac73", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 208, |
| "comment": "Signature with special case values r=n - 1 and s=p + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02150100000000000000000000351ee786a818f3a1a16a021500fffffffffffffffffffffffffffffffeffffac74", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 209, |
| "comment": "Signature with special case values r=n + 1 and s=0", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02150100000000000000000000351ee786a818f3a1a16c020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 210, |
| "comment": "Signature with special case values r=n + 1 and s=1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02150100000000000000000000351ee786a818f3a1a16c020101", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 211, |
| "comment": "Signature with special case values r=n + 1 and s=-1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02150100000000000000000000351ee786a818f3a1a16c0201ff", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 212, |
| "comment": "Signature with special case values r=n + 1 and s=n", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02150100000000000000000000351ee786a818f3a1a16c02150100000000000000000000351ee786a818f3a1a16b", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 213, |
| "comment": "Signature with special case values r=n + 1 and s=n - 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02150100000000000000000000351ee786a818f3a1a16c02150100000000000000000000351ee786a818f3a1a16a", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 214, |
| "comment": "Signature with special case values r=n + 1 and s=n + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02150100000000000000000000351ee786a818f3a1a16c02150100000000000000000000351ee786a818f3a1a16c", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 215, |
| "comment": "Signature with special case values r=n + 1 and s=p", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02150100000000000000000000351ee786a818f3a1a16c021500fffffffffffffffffffffffffffffffeffffac73", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 216, |
| "comment": "Signature with special case values r=n + 1 and s=p + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e02150100000000000000000000351ee786a818f3a1a16c021500fffffffffffffffffffffffffffffffeffffac74", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 217, |
| "comment": "Signature with special case values r=p and s=0", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a021500fffffffffffffffffffffffffffffffeffffac73020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 218, |
| "comment": "Signature with special case values r=p and s=1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a021500fffffffffffffffffffffffffffffffeffffac73020101", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 219, |
| "comment": "Signature with special case values r=p and s=-1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a021500fffffffffffffffffffffffffffffffeffffac730201ff", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 220, |
| "comment": "Signature with special case values r=p and s=n", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021500fffffffffffffffffffffffffffffffeffffac7302150100000000000000000000351ee786a818f3a1a16b", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 221, |
| "comment": "Signature with special case values r=p and s=n - 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021500fffffffffffffffffffffffffffffffeffffac7302150100000000000000000000351ee786a818f3a1a16a", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 222, |
| "comment": "Signature with special case values r=p and s=n + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021500fffffffffffffffffffffffffffffffeffffac7302150100000000000000000000351ee786a818f3a1a16c", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 223, |
| "comment": "Signature with special case values r=p and s=p", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021500fffffffffffffffffffffffffffffffeffffac73021500fffffffffffffffffffffffffffffffeffffac73", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 224, |
| "comment": "Signature with special case values r=p and s=p + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021500fffffffffffffffffffffffffffffffeffffac73021500fffffffffffffffffffffffffffffffeffffac74", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 225, |
| "comment": "Signature with special case values r=p + 1 and s=0", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a021500fffffffffffffffffffffffffffffffeffffac74020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 226, |
| "comment": "Signature with special case values r=p + 1 and s=1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a021500fffffffffffffffffffffffffffffffeffffac74020101", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 227, |
| "comment": "Signature with special case values r=p + 1 and s=-1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a021500fffffffffffffffffffffffffffffffeffffac740201ff", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 228, |
| "comment": "Signature with special case values r=p + 1 and s=n", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021500fffffffffffffffffffffffffffffffeffffac7402150100000000000000000000351ee786a818f3a1a16b", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 229, |
| "comment": "Signature with special case values r=p + 1 and s=n - 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021500fffffffffffffffffffffffffffffffeffffac7402150100000000000000000000351ee786a818f3a1a16a", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 230, |
| "comment": "Signature with special case values r=p + 1 and s=n + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021500fffffffffffffffffffffffffffffffeffffac7402150100000000000000000000351ee786a818f3a1a16c", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 231, |
| "comment": "Signature with special case values r=p + 1 and s=p", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021500fffffffffffffffffffffffffffffffeffffac74021500fffffffffffffffffffffffffffffffeffffac73", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 232, |
| "comment": "Signature with special case values r=p + 1 and s=p + 1", |
| "flags": [ |
| "InvalidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021500fffffffffffffffffffffffffffffffeffffac74021500fffffffffffffffffffffffffffffffeffffac74", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 233, |
| "comment": "Signature encoding contains incorrect types: r=0, s=0.25", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3008020100090380fe01", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 234, |
| "comment": "Signature encoding contains incorrect types: r=0, s=nan", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020100090142", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 235, |
| "comment": "Signature encoding contains incorrect types: r=0, s=True", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020100010101", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 236, |
| "comment": "Signature encoding contains incorrect types: r=0, s=False", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020100010100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 237, |
| "comment": "Signature encoding contains incorrect types: r=0, s=Null", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30050201000500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 238, |
| "comment": "Signature encoding contains incorrect types: r=0, s=empyt UTF-8 string", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30050201000c00", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 239, |
| "comment": "Signature encoding contains incorrect types: r=0, s=\"0\"", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30060201000c0130", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 240, |
| "comment": "Signature encoding contains incorrect types: r=0, s=empty list", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30050201003000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 241, |
| "comment": "Signature encoding contains incorrect types: r=0, s=list containing 0", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30080201003003020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 242, |
| "comment": "Signature encoding contains incorrect types: r=1, s=0.25", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3008020101090380fe01", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 243, |
| "comment": "Signature encoding contains incorrect types: r=1, s=nan", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020101090142", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 244, |
| "comment": "Signature encoding contains incorrect types: r=1, s=True", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020101010101", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 245, |
| "comment": "Signature encoding contains incorrect types: r=1, s=False", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020101010100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 246, |
| "comment": "Signature encoding contains incorrect types: r=1, s=Null", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30050201010500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 247, |
| "comment": "Signature encoding contains incorrect types: r=1, s=empyt UTF-8 string", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30050201010c00", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 248, |
| "comment": "Signature encoding contains incorrect types: r=1, s=\"0\"", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30060201010c0130", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 249, |
| "comment": "Signature encoding contains incorrect types: r=1, s=empty list", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30050201013000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 250, |
| "comment": "Signature encoding contains incorrect types: r=1, s=list containing 0", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30080201013003020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 251, |
| "comment": "Signature encoding contains incorrect types: r=-1, s=0.25", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30080201ff090380fe01", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 252, |
| "comment": "Signature encoding contains incorrect types: r=-1, s=nan", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30060201ff090142", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 253, |
| "comment": "Signature encoding contains incorrect types: r=-1, s=True", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30060201ff010101", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 254, |
| "comment": "Signature encoding contains incorrect types: r=-1, s=False", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30060201ff010100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 255, |
| "comment": "Signature encoding contains incorrect types: r=-1, s=Null", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30050201ff0500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 256, |
| "comment": "Signature encoding contains incorrect types: r=-1, s=empyt UTF-8 string", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30050201ff0c00", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 257, |
| "comment": "Signature encoding contains incorrect types: r=-1, s=\"0\"", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30060201ff0c0130", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 258, |
| "comment": "Signature encoding contains incorrect types: r=-1, s=empty list", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30050201ff3000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 259, |
| "comment": "Signature encoding contains incorrect types: r=-1, s=list containing 0", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30080201ff3003020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 260, |
| "comment": "Signature encoding contains incorrect types: r=n, s=0.25", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301c02150100000000000000000000351ee786a818f3a1a16b090380fe01", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 261, |
| "comment": "Signature encoding contains incorrect types: r=n, s=nan", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02150100000000000000000000351ee786a818f3a1a16b090142", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 262, |
| "comment": "Signature encoding contains incorrect types: r=n, s=True", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02150100000000000000000000351ee786a818f3a1a16b010101", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 263, |
| "comment": "Signature encoding contains incorrect types: r=n, s=False", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02150100000000000000000000351ee786a818f3a1a16b010100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 264, |
| "comment": "Signature encoding contains incorrect types: r=n, s=Null", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301902150100000000000000000000351ee786a818f3a1a16b0500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 265, |
| "comment": "Signature encoding contains incorrect types: r=n, s=empyt UTF-8 string", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301902150100000000000000000000351ee786a818f3a1a16b0c00", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 266, |
| "comment": "Signature encoding contains incorrect types: r=n, s=\"0\"", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02150100000000000000000000351ee786a818f3a1a16b0c0130", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 267, |
| "comment": "Signature encoding contains incorrect types: r=n, s=empty list", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301902150100000000000000000000351ee786a818f3a1a16b3000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 268, |
| "comment": "Signature encoding contains incorrect types: r=n, s=list containing 0", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301c02150100000000000000000000351ee786a818f3a1a16b3003020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 269, |
| "comment": "Signature encoding contains incorrect types: r=p, s=0.25", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301c021500fffffffffffffffffffffffffffffffeffffac73090380fe01", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 270, |
| "comment": "Signature encoding contains incorrect types: r=p, s=nan", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a021500fffffffffffffffffffffffffffffffeffffac73090142", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 271, |
| "comment": "Signature encoding contains incorrect types: r=p, s=True", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a021500fffffffffffffffffffffffffffffffeffffac73010101", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 272, |
| "comment": "Signature encoding contains incorrect types: r=p, s=False", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a021500fffffffffffffffffffffffffffffffeffffac73010100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 273, |
| "comment": "Signature encoding contains incorrect types: r=p, s=Null", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3019021500fffffffffffffffffffffffffffffffeffffac730500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 274, |
| "comment": "Signature encoding contains incorrect types: r=p, s=empyt UTF-8 string", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3019021500fffffffffffffffffffffffffffffffeffffac730c00", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 275, |
| "comment": "Signature encoding contains incorrect types: r=p, s=\"0\"", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301a021500fffffffffffffffffffffffffffffffeffffac730c0130", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 276, |
| "comment": "Signature encoding contains incorrect types: r=p, s=empty list", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3019021500fffffffffffffffffffffffffffffffeffffac733000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 277, |
| "comment": "Signature encoding contains incorrect types: r=p, s=list containing 0", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "301c021500fffffffffffffffffffffffffffffffeffffac733003020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 278, |
| "comment": "Signature encoding contains incorrect types: r=0.25, s=0.25", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "300a090380fe01090380fe01", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 279, |
| "comment": "Signature encoding contains incorrect types: r=nan, s=nan", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006090142090142", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 280, |
| "comment": "Signature encoding contains incorrect types: r=True, s=True", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006010101010101", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 281, |
| "comment": "Signature encoding contains incorrect types: r=False, s=False", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006010100010100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 282, |
| "comment": "Signature encoding contains incorrect types: r=Null, s=Null", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "300405000500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 283, |
| "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": 284, |
| "comment": "Signature encoding contains incorrect types: r=\"0\", s=\"0\"", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30060c01300c0130", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 285, |
| "comment": "Signature encoding contains incorrect types: r=empty list, s=empty list", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "300430003000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 286, |
| "comment": "Signature encoding contains incorrect types: r=list containing 0, s=list containing 0", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "300a30030201003003020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 287, |
| "comment": "Signature encoding contains incorrect types: r=0.25, s=0", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3008090380fe01020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 288, |
| "comment": "Signature encoding contains incorrect types: r=nan, s=0", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006090142020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 289, |
| "comment": "Signature encoding contains incorrect types: r=True, s=0", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006010101020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 290, |
| "comment": "Signature encoding contains incorrect types: r=False, s=0", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3006010100020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 291, |
| "comment": "Signature encoding contains incorrect types: r=Null, s=0", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30050500020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 292, |
| "comment": "Signature encoding contains incorrect types: r=empyt UTF-8 string, s=0", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30050c00020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 293, |
| "comment": "Signature encoding contains incorrect types: r=\"0\", s=0", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30060c0130020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 294, |
| "comment": "Signature encoding contains incorrect types: r=empty list, s=0", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30053000020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 295, |
| "comment": "Signature encoding contains incorrect types: r=list containing 0, s=0", |
| "flags": [ |
| "InvalidTypesInSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30083003020100020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 296, |
| "comment": "Edge case for Shamir multiplication", |
| "flags": [ |
| "EdgeCaseShamirMultiplication" |
| ], |
| "msg": "3234353138", |
| "sig": "302d02147798282cd94abd9bb74be4191d4c48755b515f270215009363c32313f924ac79172f58465baebe8136ce22", |
| "result": "valid" |
| }, |
| { |
| "tcId": 297, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "343236343739373234", |
| "sig": "302e02150084796df79b732a372f94e18e50a58e5f8ded936e0215008fc1eccd24f4385a611d6aa7ae3bf185e541c547", |
| "result": "valid" |
| }, |
| { |
| "tcId": 298, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "37313338363834383931", |
| "sig": "302d021500fbd482bd1f9c1fb279cc08f2ef8fdda23616ddd502143a0f477b82bb13ad5c3d44bdf2835f2c434897e4", |
| "result": "valid" |
| }, |
| { |
| "tcId": 299, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "3130333539333331363638", |
| "sig": "302c021439b0c99df627abb063501b93bc0ec2f9fe1abac9021401e957fe1c54b5ba221f79b64fc2763fffa80524", |
| "result": "valid" |
| }, |
| { |
| "tcId": 300, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33393439343031323135", |
| "sig": "302c02142ab314be8a53a6af98e60e9378ad5194a6306629021460101c49dbbcf678851f678562bb99b0e983d011", |
| "result": "valid" |
| }, |
| { |
| "tcId": 301, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31333434323933303739", |
| "sig": "302d021500a67d8de97700cff561f4f089ee06a07f11ae497f0214675a4ee3a50a32f1d7fd5503b820ddeb3b1c84aa", |
| "result": "valid" |
| }, |
| { |
| "tcId": 302, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33373036323131373132", |
| "sig": "302e021500aec171c491b59627dc9c50b5c7bfaed71b5d8cb4021500d388a785cffb83e294cf74210b31eaa48e9e7081", |
| "result": "valid" |
| }, |
| { |
| "tcId": 303, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "333433363838373132", |
| "sig": "302d02141ecc9059b760b9561bfd933956241a0e33551f9c021500c0ee636c93c6f3c48f2705226aa633ff58831796", |
| "result": "valid" |
| }, |
| { |
| "tcId": 304, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31333531353330333730", |
| "sig": "302c021453f4103b4ff5f2b04e60409b712b24e52d446bee02145a0a9c4e5ed87323e7a2f8964cdd05aaca8623f5", |
| "result": "valid" |
| }, |
| { |
| "tcId": 305, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "36353533323033313236", |
| "sig": "302c0214623a961ae133e8fcc433d41afbc7d479bbacf5a70214120f4662c44fd860a09057d016ea22f59c9ea48a", |
| "result": "valid" |
| }, |
| { |
| "tcId": 306, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31353634333436363033", |
| "sig": "302e021500f73cc481f89915c1c5afa325f669d13c99776a8d0215008a3a09961127584ced19d4c1e1783b60a8199a0f", |
| "result": "valid" |
| }, |
| { |
| "tcId": 307, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "34343239353339313137", |
| "sig": "302e021500b3f652bc6bd17fbf0776179c1ae506a2bbe177ce021500ca8abc2878a8cd46bcbc5a4dba835d27821eae26", |
| "result": "valid" |
| }, |
| { |
| "tcId": 308, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "3130393533323631333531", |
| "sig": "302d02142381092416200a5a4d79761a6e5968ce29507e88021500abb04b04d8e5d606e5b0aef01833df967e04bee5", |
| "result": "valid" |
| }, |
| { |
| "tcId": 309, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "35393837333530303431", |
| "sig": "302d02140b1f411f5693fb1dfec23bc48e415c83101c9275021500ed771f55741c53446b3ddcbdcce143774a1de7d5", |
| "result": "valid" |
| }, |
| { |
| "tcId": 310, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33343633303036383738", |
| "sig": "302e021500846052d0a5a8e970c22600710a030739d66365450215009d8ac70e6a74cf2433291a96134339fba6c08d38", |
| "result": "valid" |
| }, |
| { |
| "tcId": 311, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "39383137333230323837", |
| "sig": "302c021455a270df082a4d6183a4b6ff10a737e02c48b4b802145026129206b77d6b0de92147deb0d0ae7c2260fd", |
| "result": "valid" |
| }, |
| { |
| "tcId": 312, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33323232303431303436", |
| "sig": "302c02146d84f406773166c41bb442f5af04ab9858df560402146aa89196cf9bfe8dbcda618438dc717c8fdc0bc0", |
| "result": "valid" |
| }, |
| { |
| "tcId": 313, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "36363636333037313034", |
| "sig": "302d0214015667f4c09576876d59f07625edda8df0c9d3d6021500f7027c029407ca619267eefd65408419add7d8a5", |
| "result": "valid" |
| }, |
| { |
| "tcId": 314, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31303335393531383938", |
| "sig": "302d0215009a984d1c7e1067811db09ac0e432b50bdfdfcd3b021444432ae69227c6262de5bb86fcb268ba58e0f805", |
| "result": "valid" |
| }, |
| { |
| "tcId": 315, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31383436353937313935", |
| "sig": "302d021500a7a43e7ea768010355f0d8379a528a0e8109af9302147f536e774617d45674924d0e571b9c91665640e8", |
| "result": "valid" |
| }, |
| { |
| "tcId": 316, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33313336303436313839", |
| "sig": "302d021460123bd5b8bf38e6b9883fd8981f9e8189cf17a6021500faa772f9f27ad7a646bd95a189f59f1856a406e2", |
| "result": "valid" |
| }, |
| { |
| "tcId": 317, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "32363633373834323534", |
| "sig": "302c021425952151a5fbe15c4184a0b1f212a8710f51d665021463c69705d2e525b5533bb545550d421f65a811fb", |
| "result": "valid" |
| }, |
| { |
| "tcId": 318, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31363532313030353234", |
| "sig": "302d021500e76f11a18fdfcdb0d29fcec791cec461cd407348021435d35e84a7231179e3c90e2abcb463adfa0b2b9a", |
| "result": "valid" |
| }, |
| { |
| "tcId": 319, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "35373438303831363936", |
| "sig": "302e021500f68c55d307bff3b43d41717624a9595f2d85c4ca0215009f295ee2757b951b7c5b33cd9be3edc64427fbc8", |
| "result": "valid" |
| }, |
| { |
| "tcId": 320, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "36333433393133343638", |
| "sig": "302d0214779f3813ee80326bc082750b97ab9a32aded3451021500ffc66bac139a5cad892ff9df4e29476873daa7a6", |
| "result": "valid" |
| }, |
| { |
| "tcId": 321, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31353431313033353938", |
| "sig": "302c02145f1614bd3ed8ff1755186b3a16d0b46c98d4363a021470fed0fc130a3e15086d3dd5150b452cc9234dc2", |
| "result": "valid" |
| }, |
| { |
| "tcId": 322, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "3130343738353830313238", |
| "sig": "302c02147579791e611efa8183708f49f474db39e729201a0214671ead3c5c8a57b90ce81cafea1cc7ac5c60018c", |
| "result": "valid" |
| }, |
| { |
| "tcId": 323, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "3130353336323835353638", |
| "sig": "302d021468216e77a1c01777341e36782e4b350acf54fb560215008dac1469cf30f349f38b372ec879e989e1172aea", |
| "result": "valid" |
| }, |
| { |
| "tcId": 324, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "393533393034313035", |
| "sig": "302d021500e3a395a24d5ccf2974fb2c07099f00aba3b673d10214437d95da3571611f9940c0ff1b3b29be5e65040e", |
| "result": "valid" |
| }, |
| { |
| "tcId": 325, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "393738383438303339", |
| "sig": "302c02140ecdf9992b5ebbee6770dad3aeefaceabc6106ee02145e849ff0607952682b51c8889d4b1dc0371f47fe", |
| "result": "valid" |
| }, |
| { |
| "tcId": 326, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33363130363732343432", |
| "sig": "302c0214178bd60ae5c02fe00f058e4174535e62caf9ab3d0214631242e73ef54d6e44a5adb7a1119e0467b52e50", |
| "result": "valid" |
| }, |
| { |
| "tcId": 327, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31303534323430373035", |
| "sig": "302c0214755e6da6c7aebfec7169771d70aba265bbbd94b7021400c19262b7cb5e3be6a4128e54b8ef756f3c9085", |
| "result": "valid" |
| }, |
| { |
| "tcId": 328, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "35313734343438313937", |
| "sig": "302c02147ec65c17c976fdab34e41858e39a48da52168e87021439df46e7912443837e38dbd210679ffc2be55d99", |
| "result": "valid" |
| }, |
| { |
| "tcId": 329, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31393637353631323531", |
| "sig": "302d0215009b802f1318bf3fb0097629781da42684f085866002140e83837218c15f2cd3a5c3ef9aab5e4b18f02a44", |
| "result": "valid" |
| }, |
| { |
| "tcId": 330, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33343437323533333433", |
| "sig": "302e021500b8fe040f45392eccb25c4e8476928d3c2279a0a802150098e144a6519e63e5772b707903aa9882865ee8c5", |
| "result": "valid" |
| }, |
| { |
| "tcId": 331, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "333638323634333138", |
| "sig": "302c021446591cc99953bc95bd791df1d49852ff4d1559330214719ff20f870dc699c20be7add0701c6ef9f47c28", |
| "result": "valid" |
| }, |
| { |
| "tcId": 332, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33323631313938363038", |
| "sig": "302d0215009aa5d6010f490139aed60d538e31381efe817d280214412d4d6188532313f22fc7a74ae9bf03f394ec9a", |
| "result": "valid" |
| }, |
| { |
| "tcId": 333, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "39363738373831303934", |
| "sig": "302d02142fa46053a3f59aefc91b4b286a15c31205812bfb0215008453d2fadaacdd7ed6f7b7623915cc96a410f46a", |
| "result": "valid" |
| }, |
| { |
| "tcId": 334, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "34393538383233383233", |
| "sig": "302c021442c1dbc859090702b337f06304c32855aa032d58021454eb0ee6de7a6a75dbb3162a320d02433706fe5a", |
| "result": "valid" |
| }, |
| { |
| "tcId": 335, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "383234363337383337", |
| "sig": "302d02147e868c5db1d0888024a6b360f4f911321a24e1bf0215009e7565e15885b2962486d5c8d55669175d55bc23", |
| "result": "valid" |
| }, |
| { |
| "tcId": 336, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "3131303230383333373736", |
| "sig": "302c02146e4fbcfa8f008eaef72bf80224575cf6e0d5a6c302141ebe3f075dee784663ec14b687aa54384078b8ae", |
| "result": "valid" |
| }, |
| { |
| "tcId": 337, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "313333383731363438", |
| "sig": "302e021500aa7cecbc8ca25699e9ea4b84eb6868f21fec3a78021500bec86ae3ec814ca8e3f74a9db49c7800e096f012", |
| "result": "valid" |
| }, |
| { |
| "tcId": 338, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "333232313434313632", |
| "sig": "302c021472526c3ead0bcdf74e527c5498cf1b1df7d8524e02140b297ed48051140ca2ae592da02dd03e5f25ad84", |
| "result": "valid" |
| }, |
| { |
| "tcId": 339, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "3130363836363535353436", |
| "sig": "302d021446d3288ff12675c344e71be290d4e2d765500f02021500f7fe700a0c4758da1252a7aded14f61aa798694f", |
| "result": "valid" |
| }, |
| { |
| "tcId": 340, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "3632313535323436", |
| "sig": "302d021500f1fc30dad8c322138e43d5f2b7555a7b34639523021466857f71e977375dde180754c15bd40b86f27eae", |
| "result": "valid" |
| }, |
| { |
| "tcId": 341, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "37303330383138373734", |
| "sig": "302c0214758a02aa0f79ff94b7b56086f803688072aa25a80214281a5a69e4571646333cedb80ed565d11a30f964", |
| "result": "valid" |
| }, |
| { |
| "tcId": 342, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "35393234353233373434", |
| "sig": "302c02142660d3799b942b3e300bf7197f79724ddcb1ce4702143759b27452ff2465a0a947a904d3812e31405362", |
| "result": "valid" |
| }, |
| { |
| "tcId": 343, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31343935353836363231", |
| "sig": "302d021468279be7512023116b41e80143099f587731d960021500ed01510c3cc2db951c3b7e4f54bb0728a60219f6", |
| "result": "valid" |
| }, |
| { |
| "tcId": 344, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "34303035333134343036", |
| "sig": "302d021500f141f6fe5e020e4c01bbdd78dc326fa0d2c8860b0214372afdf1cf524eaeeb62f195da1aef56c9c278a0", |
| "result": "valid" |
| }, |
| { |
| "tcId": 345, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33303936343537353132", |
| "sig": "302d02150091161ec51b94f7adc6499675c4b508a69cde2728021441f90976b1dfc4e7d59df541e7e43904f3f0404e", |
| "result": "valid" |
| }, |
| { |
| "tcId": 346, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "32373834303235363230", |
| "sig": "302d021500ecafaa4a37764b6e3119bd06b44f963fd4db3bb502146130126a72e1057006c865b626b91790fc90e537", |
| "result": "valid" |
| }, |
| { |
| "tcId": 347, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "32363138373837343138", |
| "sig": "302e0215008d72db18a44fa66006f2324d66ab8a86fc28a24b021500d5286dc61d445beea7952d30bf1f32ff725be47d", |
| "result": "valid" |
| }, |
| { |
| "tcId": 348, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31363432363235323632", |
| "sig": "302d021500ade33a64ea8e9dd1badd0e203f0f13e3cb3d171d021423dec9f58ab8f001126523ed89b1a7fb494c5677", |
| "result": "valid" |
| }, |
| { |
| "tcId": 349, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "36383234313839343336", |
| "sig": "302e021500ff4ba7ba455552e64eb56dc8872d10fed09a61da021500fbce266e3f340457d32650cf8692f88a74cacaa0", |
| "result": "valid" |
| }, |
| { |
| "tcId": 350, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "343834323435343235", |
| "sig": "302d02142d7b0652f46d1cbe8f4a4f7556cb2d97f419d722021500e0a5718e218efbb22087cea30de8a4daf01a9969", |
| "result": "valid" |
| }, |
| { |
| "tcId": 351, |
| "comment": "Signature generated without truncating the hash", |
| "flags": [ |
| "Untruncatedhash" |
| ], |
| "msg": "313233343030", |
| "sig": "302d021500843979d21099bda2c9f77bcb3fa8afe1f8a623c70214052a099c3aab4281b854ea672d22b3129de15faf", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04e7e3adecd744fd9287a3ea9db7aef433855eb947c15fa9e3b893f09f46c54b4d20ef0ecd2666877e", |
| "wx": "00e7e3adecd744fd9287a3ea9db7aef433855eb947", |
| "wy": "00c15fa9e3b893f09f46c54b4d20ef0ecd2666877e" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004e7e3adecd744fd9287a3ea9db7aef433855eb947c15fa9e3b893f09f46c54b4d20ef0ecd2666877e", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAE5+Ot7NdE/ZKHo+qdt670M4VeuUfBX6nj\nuJPwn0bFS00g7w7NJmaHfg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 352, |
| "comment": "k*G has a large x-coordinate", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021500fffffffffffffffffffffffffffffffeffffac7002150100000000000000000000351ee786a818f3a1a168", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04fa19aff61dccb4982a520c4a844210d88245e643cad5c9f87432f65dc9609b50ae80da751a86bd32", |
| "wx": "00fa19aff61dccb4982a520c4a844210d88245e643", |
| "wy": "00cad5c9f87432f65dc9609b50ae80da751a86bd32" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004fa19aff61dccb4982a520c4a844210d88245e643cad5c9f87432f65dc9609b50ae80da751a86bd32", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAE+hmv9h3MtJgqUgxKhEIQ2IJF5kPK1cn4\ndDL2Xclgm1CugNp1Goa9Mg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 353, |
| "comment": "r,s are large", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3018020a351ee786a819f3a1f4f5020a351ee786a819f3a1f4f4", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04d96a3a9da3eb41885ef8e6c1e1d59bc658c483cd88684298412c5eeaa9c8b20d15d0dc25d232b768", |
| "wx": "00d96a3a9da3eb41885ef8e6c1e1d59bc658c483cd", |
| "wy": "0088684298412c5eeaa9c8b20d15d0dc25d232b768" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004d96a3a9da3eb41885ef8e6c1e1d59bc658c483cd88684298412c5eeaa9c8b20d15d0dc25d232b768", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAE2Wo6naPrQYhe+ObB4dWbxljEg82IaEKY\nQSxe6qnIsg0V0Nwl0jK3aA==\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": "301e0205010000538b021500b95a110c2891cd3eb34a61499b56bdaa10ddcc4c", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "040dd2d6ce794df00949356bda4ce5933b41ebe45b71a799413369c351373f18f66ee5ec3f08986c91", |
| "wx": "0dd2d6ce794df00949356bda4ce5933b41ebe45b", |
| "wy": "71a799413369c351373f18f66ee5ec3f08986c91" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00040dd2d6ce794df00949356bda4ce5933b41ebe45b71a799413369c351373f18f66ee5ec3f08986c91", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEDdLWznlN8AlJNWvaTOWTO0Hr5Ftxp5lB\nM2nDUTc/GPZu5ew/CJhskQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 355, |
| "comment": "r and s^-1 have a large Hamming weight", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301d0205010000538b021446b6470dc8b43a7f5fe139ec959eafa683f28f2e", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0474151122fd301dec9139e1277de1063810fcf9c6f1797e4233303f7279e8bff017466a2963da7b53", |
| "wx": "74151122fd301dec9139e1277de1063810fcf9c6", |
| "wy": "00f1797e4233303f7279e8bff017466a2963da7b53" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000474151122fd301dec9139e1277de1063810fcf9c6f1797e4233303f7279e8bff017466a2963da7b53", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEdBURIv0wHeyROeEnfeEGOBD8+cbxeX5C\nMzA/cnnov/AXRmopY9p7Uw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 356, |
| "comment": "small r and s", |
| "flags": [ |
| "SmallRandS", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020103020101", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04af1ee8e681b5db8479ad6d2c3cce1bb6da8c87c3427c7f8dc4de05c78a0ffcf5412ef343bb137e12", |
| "wx": "00af1ee8e681b5db8479ad6d2c3cce1bb6da8c87c3", |
| "wy": "427c7f8dc4de05c78a0ffcf5412ef343bb137e12" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004af1ee8e681b5db8479ad6d2c3cce1bb6da8c87c3427c7f8dc4de05c78a0ffcf5412ef343bb137e12", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAErx7o5oG124R5rW0sPM4bttqMh8NCfH+N\nxN4Fx4oP/PVBLvNDuxN+Eg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 357, |
| "comment": "small r and s", |
| "flags": [ |
| "SmallRandS", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020103020103", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04bebde6a1518a38bcb7fecfb6e70d92ec5de9e2fc931816f21cd2ff7c7317aeccf50a994a6fb44c71", |
| "wx": "00bebde6a1518a38bcb7fecfb6e70d92ec5de9e2fc", |
| "wy": "00931816f21cd2ff7c7317aeccf50a994a6fb44c71" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004bebde6a1518a38bcb7fecfb6e70d92ec5de9e2fc931816f21cd2ff7c7317aeccf50a994a6fb44c71", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEvr3moVGKOLy3/s+25w2S7F3p4vyTGBby\nHNL/fHMXrsz1CplKb7RMcQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 358, |
| "comment": "small r and s", |
| "flags": [ |
| "SmallRandS", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020103020104", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04018f8ec48f26ac5e97f26d837c7a9e9d229af4781e47237d7097c54ead132182310bd2386a64fabd", |
| "wx": "018f8ec48f26ac5e97f26d837c7a9e9d229af478", |
| "wy": "1e47237d7097c54ead132182310bd2386a64fabd" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004018f8ec48f26ac5e97f26d837c7a9e9d229af4781e47237d7097c54ead132182310bd2386a64fabd", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEAY+OxI8mrF6X8m2DfHqenSKa9HgeRyN9\ncJfFTq0TIYIxC9I4amT6vQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 359, |
| "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": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04ab01aa158cfa653877dd82b1feec6e1244c665eb1560f4b2c26412a3ed894ef32388cddab2e2d708", |
| "wx": "00ab01aa158cfa653877dd82b1feec6e1244c665eb", |
| "wy": "1560f4b2c26412a3ed894ef32388cddab2e2d708" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004ab01aa158cfa653877dd82b1feec6e1244c665eb1560f4b2c26412a3ed894ef32388cddab2e2d708", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEqwGqFYz6ZTh33YKx/uxuEkTGZesVYPSy\nwmQSo+2JTvMjiM3asuLXCA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 360, |
| "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": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04a141e176d7870927264bac397604da12b0e35756afb7a721c785303143a8f86286d7c1cb6c0b1924", |
| "wx": "00a141e176d7870927264bac397604da12b0e35756", |
| "wy": "00afb7a721c785303143a8f86286d7c1cb6c0b1924" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004a141e176d7870927264bac397604da12b0e35756afb7a721c785303143a8f86286d7c1cb6c0b1924", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEoUHhdteHCScmS6w5dgTaErDjV1avt6ch\nx4UwMUOo+GKG18HLbAsZJA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 361, |
| "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": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "042aadf46edf46cc4c7273ecf948f0a508f9abf797312585fa141ba90b18df1247a407fca17ff2713a", |
| "wx": "2aadf46edf46cc4c7273ecf948f0a508f9abf797", |
| "wy": "312585fa141ba90b18df1247a407fca17ff2713a" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00042aadf46edf46cc4c7273ecf948f0a508f9abf797312585fa141ba90b18df1247a407fca17ff2713a", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEKq30bt9GzExyc+z5SPClCPmr95cxJYX6\nFBupCxjfEkekB/yhf/JxOg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 362, |
| "comment": "small r and s", |
| "flags": [ |
| "SmallRandS", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020104020105", |
| "result": "valid" |
| }, |
| { |
| "tcId": 363, |
| "comment": "r is larger than n", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02150100000000000000000000351ee786a818f3a1a16f020105", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "049b1d7540d5587900786c3dc10095d595f25522c239270637cea70242692252f14a73386b71ae138e", |
| "wx": "009b1d7540d5587900786c3dc10095d595f25522c2", |
| "wy": "39270637cea70242692252f14a73386b71ae138e" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00049b1d7540d5587900786c3dc10095d595f25522c239270637cea70242692252f14a73386b71ae138e", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEmx11QNVYeQB4bD3BAJXVlfJVIsI5JwY3\nzqcCQmkiUvFKczhrca4Tjg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 364, |
| "comment": "s is larger than n", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301a02010402150100000000000000000000351ee786a818f3b477f2", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04c7a2767e0ee2fcfcfb9f5956728977d6cb976a3711627527eede9dad36f80302c1d39e5707674107", |
| "wx": "00c7a2767e0ee2fcfcfb9f5956728977d6cb976a37", |
| "wy": "11627527eede9dad36f80302c1d39e5707674107" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004c7a2767e0ee2fcfcfb9f5956728977d6cb976a3711627527eede9dad36f80302c1d39e5707674107", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEx6J2fg7i/Pz7n1lWcol31suXajcRYnUn\n7t6drTb4AwLB055XB2dBBw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 365, |
| "comment": "small r and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301a0202010002144e9d3a74e9d3a74e9d3a8539de479664630141b2", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0432c14d92c5bbf6e3440c4428bece01c77c4c847c3cf05f2e5c56e67c8e583d982b6b4ef498c1cfdb", |
| "wx": "32c14d92c5bbf6e3440c4428bece01c77c4c847c", |
| "wy": "3cf05f2e5c56e67c8e583d982b6b4ef498c1cfdb" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000432c14d92c5bbf6e3440c4428bece01c77c4c847c3cf05f2e5c56e67c8e583d982b6b4ef498c1cfdb", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEMsFNksW79uNEDEQovs4Bx3xMhHw88F8u\nXFbmfI5YPZgra070mMHP2w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 366, |
| "comment": "smallish r and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301f02072d9b4d347952cc02146b725fdd61cad3a932f93b73e8fb939d7b7f98a0", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "047115629c4cec6ecf0a96480a8e31326caea568042c713ebaaed6f69a15ef1eb5a79f38be468104b7", |
| "wx": "7115629c4cec6ecf0a96480a8e31326caea56804", |
| "wy": "2c713ebaaed6f69a15ef1eb5a79f38be468104b7" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00047115629c4cec6ecf0a96480a8e31326caea568042c713ebaaed6f69a15ef1eb5a79f38be468104b7", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEcRVinEzsbs8KlkgKjjEybK6laAQscT66\nrtb2mhXvHrWnnzi+RoEEtw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 367, |
| "comment": "100-bit r and small s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3026020d1033e67e37b32b445580bf4efc021500da25da25da25da25da26076a060a27a5b2b88c8a", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04a9309d2aa0520e82039cac944ec6ecdf2f8308894291efe0efaf29d95e041b1a423a3b4f4d30c507", |
| "wx": "00a9309d2aa0520e82039cac944ec6ecdf2f830889", |
| "wy": "4291efe0efaf29d95e041b1a423a3b4f4d30c507" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004a9309d2aa0520e82039cac944ec6ecdf2f8308894291efe0efaf29d95e041b1a423a3b4f4d30c507", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEqTCdKqBSDoIDnKyUTsbs3y+DCIlCke/g\n768p2V4EGxpCOjtPTTDFBw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 368, |
| "comment": "small r and 100 bit s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301a0202010002143cc5990d6ad0679254b205b6210dc1204c382e92", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04d500ef5c55e6df67dcd941dad4e138ecb5ff74557d239fc8d9d3da2b799ed6c51f2f542f650eaecc", |
| "wx": "00d500ef5c55e6df67dcd941dad4e138ecb5ff7455", |
| "wy": "7d239fc8d9d3da2b799ed6c51f2f542f650eaecc" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004d500ef5c55e6df67dcd941dad4e138ecb5ff74557d239fc8d9d3da2b799ed6c51f2f542f650eaecc", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAE1QDvXFXm32fc2UHa1OE47LX/dFV9I5/I\n2dPaK3me1sUfL1QvZQ6uzA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 369, |
| "comment": "100-bit r and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3025020d062522bbd3ecbe7c39e93e7c2402143cc5990d6ad0679254b205b6210dc1204c382e92", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04c2ac99d7f5028c94f65136175341d5366c3bcb17332ab40a0de752e9c9509138f37ebc5761776977", |
| "wx": "00c2ac99d7f5028c94f65136175341d5366c3bcb17", |
| "wy": "332ab40a0de752e9c9509138f37ebc5761776977" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004c2ac99d7f5028c94f65136175341d5366c3bcb17332ab40a0de752e9c9509138f37ebc5761776977", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEwqyZ1/UCjJT2UTYXU0HVNmw7yxczKrQK\nDedS6clQkTjzfrxXYXdpdw==\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": "3023020a351ee786a819f3a1f47a021500aaaaaaaaaaaaaaaaaaaace149a59c565f7c11647", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0499569f577b89354a4b64ebd868cc3d131fce1cdf2a83507d789b6fcb66237e58b336bc2426d0a427", |
| "wx": "0099569f577b89354a4b64ebd868cc3d131fce1cdf", |
| "wy": "2a83507d789b6fcb66237e58b336bc2426d0a427" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000499569f577b89354a4b64ebd868cc3d131fce1cdf2a83507d789b6fcb66237e58b336bc2426d0a427", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEmVafV3uJNUpLZOvYaMw9Ex/OHN8qg1B9\neJtvy2YjflizNrwkJtCkJw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 371, |
| "comment": "r and s are 64-bit integer", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30160209009c44febf31c35952020900839ed28247c2b06b", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0434f59938dcd73b2a7017674767ab8de32d8ac96d137a27bb6fbd1eec5f58fe4e9d2b5770ce52c80c", |
| "wx": "34f59938dcd73b2a7017674767ab8de32d8ac96d", |
| "wy": "137a27bb6fbd1eec5f58fe4e9d2b5770ce52c80c" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000434f59938dcd73b2a7017674767ab8de32d8ac96d137a27bb6fbd1eec5f58fe4e9d2b5770ce52c80c", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAENPWZONzXOypwF2dHZ6uN4y2KyW0Teie7\nb70e7F9Y/k6dK1dwzlLIDA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 372, |
| "comment": "r and s are 100-bit integer", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e020d09df8b682430beef6f5fd7c7cd020d0fd0a62e13778f4222a0d61c8a", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04d738867900340e39e183150205a203dc930e8df357ab4650d5c496f06223bcb7c626339688f050ca", |
| "wx": "00d738867900340e39e183150205a203dc930e8df3", |
| "wy": "57ab4650d5c496f06223bcb7c626339688f050ca" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004d738867900340e39e183150205a203dc930e8df357ab4650d5c496f06223bcb7c626339688f050ca", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAE1ziGeQA0DjnhgxUCBaID3JMOjfNXq0ZQ\n1cSW8GIjvLfGJjOWiPBQyg==\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": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "044d7a4bd0abeb3e1ce70fa62976899771b2fb436cdb853aa318a586182277314578309210b76ca3fc", |
| "wx": "4d7a4bd0abeb3e1ce70fa62976899771b2fb436c", |
| "wy": "00db853aa318a586182277314578309210b76ca3fc" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00044d7a4bd0abeb3e1ce70fa62976899771b2fb436cdb853aa318a586182277314578309210b76ca3fc", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAETXpL0KvrPhznD6YpdomXcbL7Q2zbhTqj\nGKWGGCJ3MUV4MJIQt2yj/A==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 374, |
| "comment": "r and s are 160-bit integer", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021500aa6eeb5823f7fa31b466bb473797f0d0314c0bdf021500e2977c479e6d25703cebbc6bd561938cc9d1bfb9", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "042805fbf5352896e2fa4d0ce04a1e46a1e0a549587d14fdd85792bce2592ec6e3adfab1232a1e1eeb", |
| "wx": "2805fbf5352896e2fa4d0ce04a1e46a1e0a54958", |
| "wy": "7d14fdd85792bce2592ec6e3adfab1232a1e1eeb" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00042805fbf5352896e2fa4d0ce04a1e46a1e0a549587d14fdd85792bce2592ec6e3adfab1232a1e1eeb", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEKAX79TUoluL6TQzgSh5GoeClSVh9FP3Y\nV5K84lkuxuOt+rEjKh4e6w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 375, |
| "comment": "s == 1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3019021455555555555555555555670a4d2ce2b2fbe08b23020101", |
| "result": "valid" |
| }, |
| { |
| "tcId": 376, |
| "comment": "s == 0", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3019021455555555555555555555670a4d2ce2b2fbe08b23020100", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "045b784055ddf1799dcada4c89f352b5ea467c26f4b1d0b624faa2b2fa67d882d8ad8a3610d2641cd0", |
| "wx": "5b784055ddf1799dcada4c89f352b5ea467c26f4", |
| "wy": "00b1d0b624faa2b2fa67d882d8ad8a3610d2641cd0" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00045b784055ddf1799dcada4c89f352b5ea467c26f4b1d0b624faa2b2fa67d882d8ad8a3610d2641cd0", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEW3hAVd3xeZ3K2kyJ81K16kZ8JvSx0LYk\n+qKy+mfYgtitijYQ0mQc0A==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 377, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021455555555555555555555670a4d2ce2b2fbe08b2302145fa8e3b7e0bbc02dc82e6b012cb57278d0496b19", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04399f16c3cf33a4d44a568213b674814a9036724d56066f19e9c51325c81eecbfd3eb9d9f65200dc7", |
| "wx": "399f16c3cf33a4d44a568213b674814a9036724d", |
| "wy": "56066f19e9c51325c81eecbfd3eb9d9f65200dc7" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004399f16c3cf33a4d44a568213b674814a9036724d56066f19e9c51325c81eecbfd3eb9d9f65200dc7", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEOZ8Ww88zpNRKVoITtnSBSpA2ck1WBm8Z\n6cUTJcge7L/T652fZSANxw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 378, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021455555555555555555555670a4d2ce2b2fbe08b23021403b0c861a4f37a7862376df45056d7c614d7ae37", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04bdda41d79f6cc2b1b5e9fb38916a971dbf01cfaa152ca359723349847665f2a5084f52fa8e8cca5a", |
| "wx": "00bdda41d79f6cc2b1b5e9fb38916a971dbf01cfaa", |
| "wy": "152ca359723349847665f2a5084f52fa8e8cca5a" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004bdda41d79f6cc2b1b5e9fb38916a971dbf01cfaa152ca359723349847665f2a5084f52fa8e8cca5a", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEvdpB159swrG16fs4kWqXHb8Bz6oVLKNZ\ncjNJhHZl8qUIT1L6jozKWg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 379, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021455555555555555555555670a4d2ce2b2fbe08b2302146799a1813c8329bd63b1d133a3aee0c7342ea26d", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04a6bd702f270571ba516c6664115a47331969c4b9eda58778ce6316636f9c324cb1eab548a6e372ae", |
| "wx": "00a6bd702f270571ba516c6664115a47331969c4b9", |
| "wy": "00eda58778ce6316636f9c324cb1eab548a6e372ae" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004a6bd702f270571ba516c6664115a47331969c4b9eda58778ce6316636f9c324cb1eab548a6e372ae", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEpr1wLycFcbpRbGZkEVpHMxlpxLntpYd4\nzmMWY2+cMkyx6rVIpuNyrg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 380, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021455555555555555555555670a4d2ce2b2fbe08b23021449ede0ab460cc6743a014a66340f52c1ae171d5b", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "043fe81c7813191720f7481e08d857dc2824c3e91829ddedf9127b9746d19d9cb8d67ecb6495f7498a", |
| "wx": "3fe81c7813191720f7481e08d857dc2824c3e918", |
| "wy": "29ddedf9127b9746d19d9cb8d67ecb6495f7498a" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00043fe81c7813191720f7481e08d857dc2824c3e91829ddedf9127b9746d19d9cb8d67ecb6495f7498a", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEP+gceBMZFyD3SB4I2FfcKCTD6Rgp3e35\nEnuXRtGdnLjWfstklfdJig==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 381, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021455555555555555555555670a4d2ce2b2fbe08b2302140cc960ada6e258c70146900ec3dff590e478cf6b", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04d82a99662b76f28b4aa919158f3d7196912e2c9e54f71a200f9fdbc3c3b673da399b612ef44277a3", |
| "wx": "00d82a99662b76f28b4aa919158f3d7196912e2c9e", |
| "wy": "54f71a200f9fdbc3c3b673da399b612ef44277a3" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004d82a99662b76f28b4aa919158f3d7196912e2c9e54f71a200f9fdbc3c3b673da399b612ef44277a3", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAE2CqZZit28otKqRkVjz1xlpEuLJ5U9xog\nD5/bw8O2c9o5m2Eu9EJ3ow==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 382, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021455555555555555555555670a4d2ce2b2fbe08b2302146d6296928952977f62c00c78c1925cc808b1eb05", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0492d7c0b609062c78a3ef219fd86e3173e53dee75dccdcc010b7d5e488e69699b956755d64ad71163", |
| "wx": "0092d7c0b609062c78a3ef219fd86e3173e53dee75", |
| "wy": "00dccdcc010b7d5e488e69699b956755d64ad71163" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000492d7c0b609062c78a3ef219fd86e3173e53dee75dccdcc010b7d5e488e69699b956755d64ad71163", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEktfAtgkGLHij7yGf2G4xc+U97nXczcwB\nC31eSI5paZuVZ1XWStcRYw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 383, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021455555555555555555555670a4d2ce2b2fbe08b2302141ec38f8de7598c5e99fef855c07ceab14c0bac05", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "041a5825b2f0b6688594f355fc9e8f50ea5d760a46fd3d650019ac790dfa1e16385fa9136d0c2e7e8f", |
| "wx": "1a5825b2f0b6688594f355fc9e8f50ea5d760a46", |
| "wy": "00fd3d650019ac790dfa1e16385fa9136d0c2e7e8f" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00041a5825b2f0b6688594f355fc9e8f50ea5d760a46fd3d650019ac790dfa1e16385fa9136d0c2e7e8f", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEGlglsvC2aIWU81X8no9Q6l12Ckb9PWUA\nGax5DfoeFjhfqRNtDC5+jw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 384, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021455555555555555555555670a4d2ce2b2fbe08b2302147a2741020a7856c7065158c2cd5771cf96832ec4", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04a4064badf2f0075de55056ecabffad51b29a9d013991c4f8ffafac3ab558c280ecd7de2e7def748e", |
| "wx": "00a4064badf2f0075de55056ecabffad51b29a9d01", |
| "wy": "3991c4f8ffafac3ab558c280ecd7de2e7def748e" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004a4064badf2f0075de55056ecabffad51b29a9d013991c4f8ffafac3ab558c280ecd7de2e7def748e", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEpAZLrfLwB13lUFbsq/+tUbKanQE5kcT4\n/6+sOrVYwoDs194ufe90jg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 385, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021455555555555555555555670a4d2ce2b2fbe08b2302145f140b7ce1ed8e93db1c6bb4886e7a0fe99fbd3c", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "044edd9f607ca83f61670becc7f2a1104a2c2b07c1770a28ad910a301b799c56e0fb84dd713ce2cba4", |
| "wx": "4edd9f607ca83f61670becc7f2a1104a2c2b07c1", |
| "wy": "770a28ad910a301b799c56e0fb84dd713ce2cba4" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00044edd9f607ca83f61670becc7f2a1104a2c2b07c1770a28ad910a301b799c56e0fb84dd713ce2cba4", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAETt2fYHyoP2FnC+zH8qEQSiwrB8F3Ciit\nkQowG3mcVuD7hN1xPOLLpA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 386, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021455555555555555555555670a4d2ce2b2fbe08b2302145eb31abe41d03c25f0256ff317eb443b3230e051", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04fdc22fa036dfa932d77a24f3721c93934f83a585fa5f45ab125c7584134f2bb6e766f3f84be0e18f", |
| "wx": "00fdc22fa036dfa932d77a24f3721c93934f83a585", |
| "wy": "00fa5f45ab125c7584134f2bb6e766f3f84be0e18f" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004fdc22fa036dfa932d77a24f3721c93934f83a585fa5f45ab125c7584134f2bb6e766f3f84be0e18f", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAE/cIvoDbfqTLXeiTzchyTk0+DpYX6X0Wr\nElx1hBNPK7bnZvP4S+Dhjw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 387, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021455555555555555555555670a4d2ce2b2fbe08b2302141f564785022152826ba3495f073422ab8a95ca4c", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04d30341fce5182d6a89a9b4ed4a4b86247ba835cdcc8a0861530f8da9c6cfff0176c247eb0befbfae", |
| "wx": "00d30341fce5182d6a89a9b4ed4a4b86247ba835cd", |
| "wy": "00cc8a0861530f8da9c6cfff0176c247eb0befbfae" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004d30341fce5182d6a89a9b4ed4a4b86247ba835cdcc8a0861530f8da9c6cfff0176c247eb0befbfae", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAE0wNB/OUYLWqJqbTtSkuGJHuoNc3Mighh\nUw+NqcbP/wF2wkfrC++/rg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 388, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021455555555555555555555670a4d2ce2b2fbe08b2302143121560da50b185784e73f4255d02bdb985b4d96", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04a02a7443fdd15c807ef45ce97a35b11d1d0ebcb7b224b97f6ddaf528d5772c0e27642c44ec79ca82", |
| "wx": "00a02a7443fdd15c807ef45ce97a35b11d1d0ebcb7", |
| "wy": "00b224b97f6ddaf528d5772c0e27642c44ec79ca82" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004a02a7443fdd15c807ef45ce97a35b11d1d0ebcb7b224b97f6ddaf528d5772c0e27642c44ec79ca82", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEoCp0Q/3RXIB+9FzpejWxHR0OvLeyJLl/\nbdr1KNV3LA4nZCxE7HnKgg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 389, |
| "comment": "point at infinity during verify", |
| "flags": [ |
| "PointDuplication", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302d021500800000000000000000001a8f73c3540c79d0d0b5021455555555555555555555670a4d2ce2b2fbe08b23", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04c6613369fe141def6496756c4cb5235ce2dc043a31f4cbc9d02e54433fa0772bae26cbd23779bb1e", |
| "wx": "00c6613369fe141def6496756c4cb5235ce2dc043a", |
| "wy": "31f4cbc9d02e54433fa0772bae26cbd23779bb1e" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004c6613369fe141def6496756c4cb5235ce2dc043a31f4cbc9d02e54433fa0772bae26cbd23779bb1e", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAExmEzaf4UHe9klnVsTLUjXOLcBDox9MvJ\n0C5UQz+gdyuuJsvSN3m7Hg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 390, |
| "comment": "edge case for signature malleability", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021500800000000000000000001a8f73c3540c79d0d0b7021500800000000000000000001a8f73c3540c79d0d0b5", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0476ea9df5b297e619a49f8f0286fa8aae73ecce6b040250cd1f977f1c6790eac49704e9a3a3c58202", |
| "wx": "76ea9df5b297e619a49f8f0286fa8aae73ecce6b", |
| "wy": "040250cd1f977f1c6790eac49704e9a3a3c58202" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000476ea9df5b297e619a49f8f0286fa8aae73ecce6b040250cd1f977f1c6790eac49704e9a3a3c58202", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEduqd9bKX5hmkn48ChvqKrnPszmsEAlDN\nH5d/HGeQ6sSXBOmjo8WCAg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 391, |
| "comment": "edge case for signature malleability", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021500800000000000000000001a8f73c3540c79d0d0b7021500800000000000000000001a8f73c3540c79d0d0b6", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0472d6561a598603b7b9313156aac55b41aa825cc7f340ee7492bb884bab5791726e7fba478e382819", |
| "wx": "72d6561a598603b7b9313156aac55b41aa825cc7", |
| "wy": "00f340ee7492bb884bab5791726e7fba478e382819" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000472d6561a598603b7b9313156aac55b41aa825cc7f340ee7492bb884bab5791726e7fba478e382819", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEctZWGlmGA7e5MTFWqsVbQaqCXMfzQO50\nkruIS6tXkXJuf7pHjjgoGQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 392, |
| "comment": "u1 == 1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302d021455555555555555555555670a4d2ce2b2fbe08b2302150176b4a5e85f3924c3da86c3eb284543c6006dcf86", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "046d697574a79151bc53ba024c16b37fe6b87778f6850271deeb76262831378228ec4275aef3e21433", |
| "wx": "6d697574a79151bc53ba024c16b37fe6b87778f6", |
| "wy": "00850271deeb76262831378228ec4275aef3e21433" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00046d697574a79151bc53ba024c16b37fe6b87778f6850271deeb76262831378228ec4275aef3e21433", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEbWl1dKeRUbxTugJMFrN/5rh3ePaFAnHe\n63YmKDE3gijsQnWu8+IUMw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 393, |
| "comment": "u1 == n - 1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302d021455555555555555555555670a4d2ce2b2fbe08b23021500894b5a17a0c6db3c2579a652a6c80c6be6d57350", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04300cc0a40c609362f3f20b7c8e57a8f99e59243692a393c1bd3cd2792ca45b8bd56e4f7186817a54", |
| "wx": "300cc0a40c609362f3f20b7c8e57a8f99e592436", |
| "wy": "0092a393c1bd3cd2792ca45b8bd56e4f7186817a54" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004300cc0a40c609362f3f20b7c8e57a8f99e59243692a393c1bd3cd2792ca45b8bd56e4f7186817a54", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEMAzApAxgk2Lz8gt8jleo+Z5ZJDaSo5PB\nvTzSeSykW4vVbk9xhoF6VA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 394, |
| "comment": "u2 == 1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021455555555555555555555670a4d2ce2b2fbe08b23021455555555555555555555670a4d2ce2b2fbe08b23", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "043b77acea21da4d7940fe4c7dc0f3efe476f36dfbfbc51dc5b9db0ba7eeb759786935cde5cf4b0618", |
| "wx": "3b77acea21da4d7940fe4c7dc0f3efe476f36dfb", |
| "wy": "00fbc51dc5b9db0ba7eeb759786935cde5cf4b0618" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00043b77acea21da4d7940fe4c7dc0f3efe476f36dfbfbc51dc5b9db0ba7eeb759786935cde5cf4b0618", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEO3es6iHaTXlA/kx9wPPv5Hbzbfv7xR3F\nudsLp+63WXhpNc3lz0sGGA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 395, |
| "comment": "u2 == n - 1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302d021455555555555555555555670a4d2ce2b2fbe08b23021500aaaaaaaaaaaaaaaaaaaace149a59c565f7c11648", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "043a408b89f5d913dec59d6bba6e9e2474b02c6b37a53ee1e06a0559c55d5ba4c25642d4df77bebdf8", |
| "wx": "3a408b89f5d913dec59d6bba6e9e2474b02c6b37", |
| "wy": "00a53ee1e06a0559c55d5ba4c25642d4df77bebdf8" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00043a408b89f5d913dec59d6bba6e9e2474b02c6b37a53ee1e06a0559c55d5ba4c25642d4df77bebdf8", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEOkCLifXZE97FnWu6bp4kdLAsazelPuHg\nagVZxV1bpMJWQtTfd769+A==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 396, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301d0205010000538a02147ce6e1f81fbdb6ebf382414e62c1c14200249a82", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0498470ae86b16f5f336286c3e56db259298426a94d385a38fe9766b95163198dcc4862e5712cb1b8d", |
| "wx": "0098470ae86b16f5f336286c3e56db259298426a94", |
| "wy": "00d385a38fe9766b95163198dcc4862e5712cb1b8d" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000498470ae86b16f5f336286c3e56db259298426a94d385a38fe9766b95163198dcc4862e5712cb1b8d", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEmEcK6GsW9fM2KGw+VtslkphCapTThaOP\n6XZrlRYxmNzEhi5XEssbjQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 397, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301d0205010000538a02144ab240469b50549275e2e01f81c8728b51a53628", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "040444f3907c4b65aa7ffa7717634e38972e81ab0e663d4546d5c2b5ebc724e959fc47f4d7621019d9", |
| "wx": "0444f3907c4b65aa7ffa7717634e38972e81ab0e", |
| "wy": "663d4546d5c2b5ebc724e959fc47f4d7621019d9" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00040444f3907c4b65aa7ffa7717634e38972e81ab0e663d4546d5c2b5ebc724e959fc47f4d7621019d9", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEBETzkHxLZap/+ncXY044ly6Bqw5mPUVG\n1cK168ck6Vn8R/TXYhAZ2Q==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 398, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e0205010000538a021500a14d77e73be9d42f3f4eec1e2aec1f4988327bad", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "042a8bcf96acf0594757c03dc2928026893eb9a783457dd1d4c63ca730ae467d5912951f74a6a567e3", |
| "wx": "2a8bcf96acf0594757c03dc2928026893eb9a783", |
| "wy": "457dd1d4c63ca730ae467d5912951f74a6a567e3" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00042a8bcf96acf0594757c03dc2928026893eb9a783457dd1d4c63ca730ae467d5912951f74a6a567e3", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEKovPlqzwWUdXwD3CkoAmiT65p4NFfdHU\nxjynMK5GfVkSlR90pqVn4w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 399, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301d0205010000538a021457dc8cdfdfb0e210894b6c52e53ff10907c71962", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04b5ac6b4a364b470f53e1b41493f21b4c99603c9f1585669d317840bd0d785d2552d4710ad7eca5b5", |
| "wx": "00b5ac6b4a364b470f53e1b41493f21b4c99603c9f", |
| "wy": "1585669d317840bd0d785d2552d4710ad7eca5b5" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004b5ac6b4a364b470f53e1b41493f21b4c99603c9f1585669d317840bd0d785d2552d4710ad7eca5b5", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEtaxrSjZLRw9T4bQUk/IbTJlgPJ8VhWad\nMXhAvQ14XSVS1HEK1+yltQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 400, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e0205010000538a021500c8cdfdfb0e210894b5a1a3b75107ff8b538337c1", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04e7e4488bf180753c1116f2668ac6b0a97990eb31c17c8dfbb61bcf96c102aee078f2f377cebb414d", |
| "wx": "00e7e4488bf180753c1116f2668ac6b0a97990eb31", |
| "wy": "00c17c8dfbb61bcf96c102aee078f2f377cebb414d" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004e7e4488bf180753c1116f2668ac6b0a97990eb31c17c8dfbb61bcf96c102aee078f2f377cebb414d", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAE5+RIi/GAdTwRFvJmisawqXmQ6zHBfI37\nthvPlsECruB48vN3zrtBTQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 401, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e0205010000538a021500919bfbf61c4211296b43124fba8956fdb364ce17", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04dd00e4ea180e6d5391b9bba110902da7ce72fb713cac35ae9056080615d4924e417ebcb50577a65d", |
| "wx": "00dd00e4ea180e6d5391b9bba110902da7ce72fb71", |
| "wy": "3cac35ae9056080615d4924e417ebcb50577a65d" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004dd00e4ea180e6d5391b9bba110902da7ce72fb713cac35ae9056080615d4924e417ebcb50577a65d", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAE3QDk6hgObVORubuhEJAtp85y+3E8rDWu\nkFYIBhXUkk5Bfry1BXemXQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 402, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e0205010000538a021500dfb0e210894b5a17a0c709a6c54fb9a74cf9dfcb", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0451132ed30c049c9712df61b80d854321da9d060bfaba74c92c03d48a0fc605cb4ca48085f7b88a43", |
| "wx": "51132ed30c049c9712df61b80d854321da9d060b", |
| "wy": "00faba74c92c03d48a0fc605cb4ca48085f7b88a43" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000451132ed30c049c9712df61b80d854321da9d060bfaba74c92c03d48a0fc605cb4ca48085f7b88a43", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEURMu0wwEnJcS32G4DYVDIdqdBgv6unTJ\nLAPUig/GBctMpICF97iKQw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 403, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e0205010000538a021500895d39009004bc13b7bff51e58acd24066a2e37d", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04b14678924e9ffe369420f70ea4b12db7bcc1c09799e5a3972e96f4d4cccd105b63de023617a6dedc", |
| "wx": "00b14678924e9ffe369420f70ea4b12db7bcc1c097", |
| "wy": "0099e5a3972e96f4d4cccd105b63de023617a6dedc" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004b14678924e9ffe369420f70ea4b12db7bcc1c09799e5a3972e96f4d4cccd105b63de023617a6dedc", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEsUZ4kk6f/jaUIPcOpLEtt7zBwJeZ5aOX\nLpb01MzNEFtj3gI2F6be3A==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 404, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e0205010000538a021500da8789025ce0af8603bf87edc9e62151f396a644", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "044efac21d8e5fb2ec8fe891abb767501c55b4d6c2438cc11df7a4b71d3808f1aa5e9c4ddd75d38e48", |
| "wx": "4efac21d8e5fb2ec8fe891abb767501c55b4d6c2", |
| "wy": "438cc11df7a4b71d3808f1aa5e9c4ddd75d38e48" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00044efac21d8e5fb2ec8fe891abb767501c55b4d6c2438cc11df7a4b71d3808f1aa5e9c4ddd75d38e48", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAETvrCHY5fsuyP6JGrt2dQHFW01sJDjMEd\n96S3HTgI8apenE3dddOOSA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 405, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e0205010000538a02150083191e07e04249140c7df3d084c4e6d6f37d06e9", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04c70835cc695683cab1ba9e000d182fef50a1ace9e37ad687738e665fd4c807a25a99fd19d0299eeb", |
| "wx": "00c70835cc695683cab1ba9e000d182fef50a1ace9", |
| "wy": "00e37ad687738e665fd4c807a25a99fd19d0299eeb" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004c70835cc695683cab1ba9e000d182fef50a1ace9e37ad687738e665fd4c807a25a99fd19d0299eeb", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAExwg1zGlWg8qxup4ADRgv71ChrOnjetaH\nc45mX9TIB6Jamf0Z0Cme6w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 406, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301d0205010000538a021444a5ad0bd0636d9e12bcd32953640635f36ab9a8", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04a406f72998fd33d1a71a011e0a437ff990aed8f9f3374b799a32bd9aef189845687c8ff03e41f5f3", |
| "wx": "00a406f72998fd33d1a71a011e0a437ff990aed8f9", |
| "wy": "00f3374b799a32bd9aef189845687c8ff03e41f5f3" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004a406f72998fd33d1a71a011e0a437ff990aed8f9f3374b799a32bd9aef189845687c8ff03e41f5f3", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEpAb3KZj9M9GnGgEeCkN/+ZCu2PnzN0t5\nmjK9mu8YmEVofI/wPkH18w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 407, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e0205010000538a021500d0a6bbf39df4ea179fa7909e893963b13dea0e8c", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "041f35c7116475327d6fe3b3cc5c8c7438da2efafc99c8c0370f185d83fd787d2c62c7a18363093234", |
| "wx": "1f35c7116475327d6fe3b3cc5c8c7438da2efafc", |
| "wy": "0099c8c0370f185d83fd787d2c62c7a18363093234" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00041f35c7116475327d6fe3b3cc5c8c7438da2efafc99c8c0370f185d83fd787d2c62c7a18363093234", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEHzXHEWR1Mn1v47PMXIx0ONou+vyZyMA3\nDxhdg/14fSxix6GDYwkyNA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 408, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "300d0205010000538a02045555712e", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04f02c8de652e755838905a4a54d268b39daa48173652d2e2e5d07ee22365d9ec58be2b3da26a7dc2a", |
| "wx": "00f02c8de652e755838905a4a54d268b39daa48173", |
| "wy": "652d2e2e5d07ee22365d9ec58be2b3da26a7dc2a" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004f02c8de652e755838905a4a54d268b39daa48173652d2e2e5d07ee22365d9ec58be2b3da26a7dc2a", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAE8CyN5lLnVYOJBaSlTSaLOdqkgXNlLS4u\nXQfuIjZdnsWL4rPaJqfcKg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 409, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301d0205010000538a0214078571609042fa1a513b551e627adbcc20118342", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "048ce6bc52ef0f66ce4cae96ebc7e6311848dcc0d9444060015147632df8b116ec4b4fca48e55247c1", |
| "wx": "008ce6bc52ef0f66ce4cae96ebc7e6311848dcc0d9", |
| "wy": "444060015147632df8b116ec4b4fca48e55247c1" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00048ce6bc52ef0f66ce4cae96ebc7e6311848dcc0d9444060015147632df8b116ec4b4fca48e55247c1", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEjOa8Uu8PZs5Mrpbrx+YxGEjcwNlEQGAB\nUUdjLfixFuxLT8pI5VJHwQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 410, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e0205010000538a021500a3ab6e4347ed1b267cf4bb97731c9f4a62f4d20f", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "042c419e1a477a4615d32d0a1f50adc11177d4f7acfb2fa86e9a35bed9e083a0261b68e9c851f690b8", |
| "wx": "2c419e1a477a4615d32d0a1f50adc11177d4f7ac", |
| "wy": "00fb2fa86e9a35bed9e083a0261b68e9c851f690b8" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00042c419e1a477a4615d32d0a1f50adc11177d4f7acfb2fa86e9a35bed9e083a0261b68e9c851f690b8", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAELEGeGkd6RhXTLQofUK3BEXfU96z7L6hu\nmjW+2eCDoCYbaOnIUfaQuA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 411, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e0205010000538a021500ccd4022f02c37b1e00002a809e8b088573bd18b6", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0400181227f68b28b8d2e867df7d2f1f159aa67e08a1bdbc6433822d5a5057e299e09cfd53fda0f3d3", |
| "wx": "181227f68b28b8d2e867df7d2f1f159aa67e08", |
| "wy": "00a1bdbc6433822d5a5057e299e09cfd53fda0f3d3" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000400181227f68b28b8d2e867df7d2f1f159aa67e08a1bdbc6433822d5a5057e299e09cfd53fda0f3d3", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEABgSJ/aLKLjS6GfffS8fFZqmfgihvbxk\nM4ItWlBX4pngnP1T/aDz0w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 412, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301d0205010000538a02144022f02c37b1e00000000d4ef9d28fd5258c1951", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04c4f1b57e82d3d8a958d25fc59436f965ad31bdb17721e353c8767bd31f4c1a73128c9efaf197d2c7", |
| "wx": "00c4f1b57e82d3d8a958d25fc59436f965ad31bdb1", |
| "wy": "7721e353c8767bd31f4c1a73128c9efaf197d2c7" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004c4f1b57e82d3d8a958d25fc59436f965ad31bdb17721e353c8767bd31f4c1a73128c9efaf197d2c7", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAExPG1foLT2KlY0l/FlDb5Za0xvbF3IeNT\nyHZ70x9MGnMSjJ768ZfSxw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 413, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e0205010000538a0215008045e0586f63c00000001a9df3a51faa4b1832a2", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04a092c64df352c9e3b38794362dffc20591ce001dfff060fb07149389b9a977d95b0ef29ba57449d7", |
| "wx": "00a092c64df352c9e3b38794362dffc20591ce001d", |
| "wy": "00fff060fb07149389b9a977d95b0ef29ba57449d7" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004a092c64df352c9e3b38794362dffc20591ce001dfff060fb07149389b9a977d95b0ef29ba57449d7", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEoJLGTfNSyeOzh5Q2Lf/CBZHOAB3/8GD7\nBxSTibmpd9lbDvKbpXRJ1w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 414, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301d0205010000538a021402c37b1e0000000000000092cde57bbf1174875b", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "047a50140ca002e3dfe14716fc82cdb1406d5f70b33d20dfcad0181c32d77ef63cf5d02cb0d50fdb20", |
| "wx": "7a50140ca002e3dfe14716fc82cdb1406d5f70b3", |
| "wy": "3d20dfcad0181c32d77ef63cf5d02cb0d50fdb20" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00047a50140ca002e3dfe14716fc82cdb1406d5f70b33d20dfcad0181c32d77ef63cf5d02cb0d50fdb20", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEelAUDKAC49/hRxb8gs2xQG1fcLM9IN/K\n0BgcMtd+9jz10Cyw1Q/bIA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 415, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301d0205010000538a02142492492492492492492499dfd7eeaa4caefeb38c", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "043bccb5355a2b8778b769fba7ae09645c5dabef8c6ca57c223a28db7bb2670de68e7e69d5b371bcdb", |
| "wx": "3bccb5355a2b8778b769fba7ae09645c5dabef8c", |
| "wy": "6ca57c223a28db7bb2670de68e7e69d5b371bcdb" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00043bccb5355a2b8778b769fba7ae09645c5dabef8c6ca57c223a28db7bb2670de68e7e69d5b371bcdb", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEO8y1NVorh3i3afunrglkXF2r74xspXwi\nOijbe7JnDeaOfmnVs3G82w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 416, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301d0205010000538a0214666666666666666666667ba5f635dcd6ae409e9d", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "048962ba5133d534596db60a56a8ce3b458675eba4a4a04455ce0c7826e2bb8eb8151e1ba41f21264e", |
| "wx": "008962ba5133d534596db60a56a8ce3b458675eba4", |
| "wy": "00a4a04455ce0c7826e2bb8eb8151e1ba41f21264e" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00048962ba5133d534596db60a56a8ce3b458675eba4a4a04455ce0c7826e2bb8eb8151e1ba41f21264e", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEiWK6UTPVNFlttgpWqM47RYZ166SkoERV\nzgx4JuK7jrgVHhukHyEmTg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 417, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e0205010000538a02150100000000000000000000351ee786a8189e4c303d", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04aff34cb9bc44b9d1b96f221e10356e0bdf0c443e30dec43f1cd34c4b1046a4ea8eee7f54fb1917d7", |
| "wx": "00aff34cb9bc44b9d1b96f221e10356e0bdf0c443e", |
| "wy": "30dec43f1cd34c4b1046a4ea8eee7f54fb1917d7" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004aff34cb9bc44b9d1b96f221e10356e0bdf0c443e30dec43f1cd34c4b1046a4ea8eee7f54fb1917d7", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEr/NMubxEudG5byIeEDVuC98MRD4w3sQ/\nHNNMSxBGpOqO7n9U+xkX1w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 418, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e0205010000538a02150100000000000000000000351ee786a81873a177a6", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "041846b5c440f9b113d99dc302116711feda94a5a976258573593d1e9a8048f7084518333cd997ae19", |
| "wx": "1846b5c440f9b113d99dc302116711feda94a5a9", |
| "wy": "76258573593d1e9a8048f7084518333cd997ae19" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00041846b5c440f9b113d99dc302116711feda94a5a976258573593d1e9a8048f7084518333cd997ae19", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEGEa1xED5sRPZncMCEWcR/tqUpal2JYVz\nWT0emoBI9whFGDM82ZeuGQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 419, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e0205010000538a021500d1d5b721a3f68d933e7a785b2d51a3b1ab4b39bd", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0474d02bbd2218bb4ea9492df5ab596cdc77d81f96bdd4a5d816ab10076b6694492608b85851704a30", |
| "wx": "74d02bbd2218bb4ea9492df5ab596cdc77d81f96", |
| "wy": "00bdd4a5d816ab10076b6694492608b85851704a30" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000474d02bbd2218bb4ea9492df5ab596cdc77d81f96bdd4a5d816ab10076b6694492608b85851704a30", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEdNArvSIYu06pSS31q1ls3HfYH5a91KXY\nFqsQB2tmlEkmCLhYUXBKMA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 420, |
| "comment": "point duplication during verification", |
| "flags": [ |
| "PointDuplication" |
| ], |
| "msg": "313233343030", |
| "sig": "302d021500e278b476b12f0dfe75e1616063ab70f40e7a7b2f021471c197e44b684b3b8f972367caed38b40c9ee4cb", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0474d02bbd2218bb4ea9492df5ab596cdc77d81f96422b5a27e954eff894996bb6d9f747a6ae8f6243", |
| "wx": "74d02bbd2218bb4ea9492df5ab596cdc77d81f96", |
| "wy": "422b5a27e954eff894996bb6d9f747a6ae8f6243" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000474d02bbd2218bb4ea9492df5ab596cdc77d81f96422b5a27e954eff894996bb6d9f747a6ae8f6243", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEdNArvSIYu06pSS31q1ls3HfYH5ZCK1on\n6VTv+JSZa7bZ90emro9iQw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 421, |
| "comment": "duplication bug", |
| "flags": [ |
| "PointDuplication" |
| ], |
| "msg": "313233343030", |
| "sig": "302d021500e278b476b12f0dfe75e1616063ab70f40e7a7b2f021471c197e44b684b3b8f972367caed38b40c9ee4cb", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04b126e61fb24c9932a12c50a14844887677276bcad4710b84ef34a8b28e290179e864ab350c761785", |
| "wx": "00b126e61fb24c9932a12c50a14844887677276bca", |
| "wy": "00d4710b84ef34a8b28e290179e864ab350c761785" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004b126e61fb24c9932a12c50a14844887677276bcad4710b84ef34a8b28e290179e864ab350c761785", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEsSbmH7JMmTKhLFChSESIdncna8rUcQuE\n7zSoso4pAXnoZKs1DHYXhQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 422, |
| "comment": "point with x-coordinate 0", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3019020101021455555555555555555555670a4d2ce2b2fbe08b23", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04871b534b25d5738f44c1943c8b634ccb7444f1d1b581ccae151d819301047f0442cbb6756b40f82c", |
| "wx": "00871b534b25d5738f44c1943c8b634ccb7444f1d1", |
| "wy": "00b581ccae151d819301047f0442cbb6756b40f82c" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004871b534b25d5738f44c1943c8b634ccb7444f1d1b581ccae151d819301047f0442cbb6756b40f82c", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEhxtTSyXVc49EwZQ8i2NMy3RE8dG1gcyu\nFR2BkwEEfwRCy7Z1a0D4LA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 423, |
| "comment": "point with x-coordinate 0", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302d02150200000000000000000000000000000000000000000214333333333333333333333dd2fb1aee6b63ed2048", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04e0c8238a5ab89f192a0190821b958986103d0966bd64baf7e2417212d99b4a899264e122db67e99b", |
| "wx": "00e0c8238a5ab89f192a0190821b958986103d0966", |
| "wy": "00bd64baf7e2417212d99b4a899264e122db67e99b" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004e0c8238a5ab89f192a0190821b958986103d0966bd64baf7e2417212d99b4a899264e122db67e99b", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAE4Mgjilq4nxkqAZCCG5WJhhA9CWa9ZLr3\n4kFyEtmbSomSZOEi22fpmw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 424, |
| "comment": "comparison with point at infinity ", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021455555555555555555555670a4d2ce2b2fbe08b230214333333333333333333333dd2fb1aee6b63ed2048", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04ad4577f7f3008aa5ebbe149509ad3de4b7bac2709f1a6ba48149bde27ebf3a8fab4b8483676b4c95", |
| "wx": "00ad4577f7f3008aa5ebbe149509ad3de4b7bac270", |
| "wy": "009f1a6ba48149bde27ebf3a8fab4b8483676b4c95" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004ad4577f7f3008aa5ebbe149509ad3de4b7bac2709f1a6ba48149bde27ebf3a8fab4b8483676b4c95", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAErUV39/MAiqXrvhSVCa095Le6wnCfGmuk\ngUm94n6/Oo+rS4SDZ2tMlQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 425, |
| "comment": "extreme value for k and edgecase s", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021426788d2ba41a035954dd638d883e136ab900c8cd021455555555555555555555670a4d2ce2b2fbe08b23", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04b96c963f6c4c8677f0da769772df576c56876b0bfd93bc9cf6f640e36342c764ad9ce5e8fa86c3e3", |
| "wx": "00b96c963f6c4c8677f0da769772df576c56876b0b", |
| "wy": "00fd93bc9cf6f640e36342c764ad9ce5e8fa86c3e3" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004b96c963f6c4c8677f0da769772df576c56876b0bfd93bc9cf6f640e36342c764ad9ce5e8fa86c3e3", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEuWyWP2xMhnfw2naXct9XbFaHawv9k7yc\n9vZA42NCx2StnOXo+obD4w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 426, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302d021426788d2ba41a035954dd638d883e136ab900c8cd02150092492492492492492492677f5fbaa932d45c5c3d", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "048779d9d40470df9c4b6c53c27330a0f0c748c01fabe5c16182899fe3d702ee89bb14a51aa8ff6cc7", |
| "wx": "008779d9d40470df9c4b6c53c27330a0f0c748c01f", |
| "wy": "00abe5c16182899fe3d702ee89bb14a51aa8ff6cc7" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00048779d9d40470df9c4b6c53c27330a0f0c748c01fabe5c16182899fe3d702ee89bb14a51aa8ff6cc7", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEh3nZ1ARw35xLbFPCczCg8MdIwB+r5cFh\ngomf49cC7om7FKUaqP9sxw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 427, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021426788d2ba41a035954dd638d883e136ab900c8cd0214666666666666666666667ba5f635dcd6c7da4091", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "040d70d01018f55e36464782339c2c8f4a1b96373834d124028d77ee31fe2a3e2c10c2a4f7a5fa0dde", |
| "wx": "0d70d01018f55e36464782339c2c8f4a1b963738", |
| "wy": "34d124028d77ee31fe2a3e2c10c2a4f7a5fa0dde" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00040d70d01018f55e36464782339c2c8f4a1b96373834d124028d77ee31fe2a3e2c10c2a4f7a5fa0dde", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEDXDQEBj1XjZGR4IznCyPShuWNzg00SQC\njXfuMf4qPiwQwqT3pfoN3g==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 428, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302d021426788d2ba41a035954dd638d883e136ab900c8cd02150099999999999999999999b978f150cb422bc760da", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04a7afd930bd9f9392483245ccd628be428e0f655536c945fee505c5fe855187ee725402995cb0e701", |
| "wx": "00a7afd930bd9f9392483245ccd628be428e0f6555", |
| "wy": "36c945fee505c5fe855187ee725402995cb0e701" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004a7afd930bd9f9392483245ccd628be428e0f655536c945fee505c5fe855187ee725402995cb0e701", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEp6/ZML2fk5JIMkXM1ii+Qo4PZVU2yUX+\n5QXF/oVRh+5yVAKZXLDnAQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 429, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021426788d2ba41a035954dd638d883e136ab900c8cd02146db6db6db6db6db6db6dcd9f87cbfee61f45452e", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0445fb936471ddf35059c571f794b7fd6f23f752ff3fa9603f8c5a370da68f3f812802f0da5d21af74", |
| "wx": "45fb936471ddf35059c571f794b7fd6f23f752ff", |
| "wy": "3fa9603f8c5a370da68f3f812802f0da5d21af74" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000445fb936471ddf35059c571f794b7fd6f23f752ff3fa9603f8c5a370da68f3f812802f0da5d21af74", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAERfuTZHHd81BZxXH3lLf9byP3Uv8/qWA/\njFo3DaaPP4EoAvDaXSGvdA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 430, |
| "comment": "extreme value for k", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021426788d2ba41a035954dd638d883e136ab900c8cd02140eb0f1bc9eaf6ad85b2d94e5e1b53937df61a288", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0449d0064ca551c15fac3f13f9cc44a8309c31e7213d403f3bee9ceaa243e492cb9a8f83e92c3c11b6", |
| "wx": "49d0064ca551c15fac3f13f9cc44a8309c31e721", |
| "wy": "3d403f3bee9ceaa243e492cb9a8f83e92c3c11b6" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000449d0064ca551c15fac3f13f9cc44a8309c31e7213d403f3bee9ceaa243e492cb9a8f83e92c3c11b6", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAESdAGTKVRwV+sPxP5zESoMJwx5yE9QD87\n7pzqokPkksuaj4PpLDwRtg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 431, |
| "comment": "extreme value for k and edgecase s", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021452dcb034293a117e1f4ff11b30f7199d3144ce6d021455555555555555555555670a4d2ce2b2fbe08b23", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04b08fda3bb59b426e374c3ed3a7eec174379904ad72feb9fc39221407859eb30c1a1166aaabcf5c15", |
| "wx": "00b08fda3bb59b426e374c3ed3a7eec174379904ad", |
| "wy": "72feb9fc39221407859eb30c1a1166aaabcf5c15" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004b08fda3bb59b426e374c3ed3a7eec174379904ad72feb9fc39221407859eb30c1a1166aaabcf5c15", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEsI/aO7WbQm43TD7Tp+7BdDeZBK1y/rn8\nOSIUB4WeswwaEWaqq89cFQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 432, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302d021452dcb034293a117e1f4ff11b30f7199d3144ce6d02150092492492492492492492677f5fbaa932d45c5c3d", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04491a910b75f57a4cfc2fa7c878c0a23a725952d5aeeb19e0aba884da4cd64574e785ab9323d0f681", |
| "wx": "491a910b75f57a4cfc2fa7c878c0a23a725952d5", |
| "wy": "00aeeb19e0aba884da4cd64574e785ab9323d0f681" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004491a910b75f57a4cfc2fa7c878c0a23a725952d5aeeb19e0aba884da4cd64574e785ab9323d0f681", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAESRqRC3X1ekz8L6fIeMCiOnJZUtWu6xng\nq6iE2kzWRXTnhauTI9D2gQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 433, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021452dcb034293a117e1f4ff11b30f7199d3144ce6d0214666666666666666666667ba5f635dcd6c7da4091", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "04d7f1c5d7a03ed20e786e856e666184f2ca541aac9eec69b468ecb87fab4cade385d2bd9fd762308f", |
| "wx": "00d7f1c5d7a03ed20e786e856e666184f2ca541aac", |
| "wy": "009eec69b468ecb87fab4cade385d2bd9fd762308f" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a0004d7f1c5d7a03ed20e786e856e666184f2ca541aac9eec69b468ecb87fab4cade385d2bd9fd762308f", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAE1/HF16A+0g54boVuZmGE8spUGqye7Gm0\naOy4f6tMreOF0r2f12Iwjw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 434, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302d021452dcb034293a117e1f4ff11b30f7199d3144ce6d02150099999999999999999999b978f150cb422bc760da", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0499704a8b543c9ee06a913b9476d6e1b741e28368df8cb71743ef9903231dcfeadcacb4e640192397", |
| "wx": "0099704a8b543c9ee06a913b9476d6e1b741e28368", |
| "wy": "00df8cb71743ef9903231dcfeadcacb4e640192397" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000499704a8b543c9ee06a913b9476d6e1b741e28368df8cb71743ef9903231dcfeadcacb4e640192397", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEmXBKi1Q8nuBqkTuUdtbht0Hig2jfjLcX\nQ++ZAyMdz+rcrLTmQBkjlw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 435, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021452dcb034293a117e1f4ff11b30f7199d3144ce6d02146db6db6db6db6db6db6dcd9f87cbfee61f45452e", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "043a81a3afa818e6511baed5c8d52c617223cd3608f3f13a8c30bff4cbfbad5d0789f8e12bce995b43", |
| "wx": "3a81a3afa818e6511baed5c8d52c617223cd3608", |
| "wy": "00f3f13a8c30bff4cbfbad5d0789f8e12bce995b43" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a00043a81a3afa818e6511baed5c8d52c617223cd3608f3f13a8c30bff4cbfbad5d0789f8e12bce995b43", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEOoGjr6gY5lEbrtXI1SxhciPNNgjz8TqM\nML/0y/utXQeJ+OErzplbQw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 436, |
| "comment": "extreme value for k", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c021452dcb034293a117e1f4ff11b30f7199d3144ce6d02140eb0f1bc9eaf6ad85b2d94e5e1b53937df61a288", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0452dcb034293a117e1f4ff11b30f7199d3144ce6dfeaffef2e331f296e071fa0df9982cfea7d43f2e", |
| "wx": "52dcb034293a117e1f4ff11b30f7199d3144ce6d", |
| "wy": "00feaffef2e331f296e071fa0df9982cfea7d43f2e" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000452dcb034293a117e1f4ff11b30f7199d3144ce6dfeaffef2e331f296e071fa0df9982cfea7d43f2e", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEUtywNCk6EX4fT/EbMPcZnTFEzm3+r/7y\n4zHyluBx+g35mCz+p9Q/Lg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 437, |
| "comment": "public key shares x-coordinate with generator", |
| "flags": [ |
| "PointDuplication" |
| ], |
| "msg": "313233343030", |
| "sig": "302d02150176b4a5e85f3924c3da86c3eb284543c6006dcf8602142492492492492492492499dfd7eeaa4cb517170f", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 438, |
| "comment": "public key shares x-coordinate with generator", |
| "flags": [ |
| "PointDuplication" |
| ], |
| "msg": "313233343030", |
| "sig": "302d021500894b5a17a0c6db3c2579a652a6c80c6be6d5735002142492492492492492492499dfd7eeaa4cb517170f", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0452dcb034293a117e1f4ff11b30f7199d3144ce6d0150010d1cce0d691f8e05f20667d300582b6d45", |
| "wx": "52dcb034293a117e1f4ff11b30f7199d3144ce6d", |
| "wy": "0150010d1cce0d691f8e05f20667d300582b6d45" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000452dcb034293a117e1f4ff11b30f7199d3144ce6d0150010d1cce0d691f8e05f20667d300582b6d45", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEUtywNCk6EX4fT/EbMPcZnTFEzm0BUAEN\nHM4NaR+OBfIGZ9MAWCttRQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 439, |
| "comment": "public key shares x-coordinate with generator", |
| "flags": [ |
| "PointDuplication" |
| ], |
| "msg": "313233343030", |
| "sig": "302d02150176b4a5e85f3924c3da86c3eb284543c6006dcf8602142492492492492492492499dfd7eeaa4cb517170f", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 440, |
| "comment": "public key shares x-coordinate with generator", |
| "flags": [ |
| "PointDuplication" |
| ], |
| "msg": "313233343030", |
| "sig": "302d021500894b5a17a0c6db3c2579a652a6c80c6be6d5735002142492492492492492492499dfd7eeaa4cb517170f", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "github/davidben/ecdsa-non-minimal-tag", |
| "version": "0.1" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp160r2", |
| "keySize": 160, |
| "uncompressed": "0446f1a7493b131f3c6032e9612b8e1bd3d1a3104ce3cef3c8020c277ba45bc93a9a364f07eba8302c", |
| "wx": "46f1a7493b131f3c6032e9612b8e1bd3d1a3104c", |
| "wy": "00e3cef3c8020c277ba45bc93a9a364f07eba8302c" |
| }, |
| "publicKeyDer": "303e301006072a8648ce3d020106052b8104001e032a000446f1a7493b131f3c6032e9612b8e1bd3d1a3104ce3cef3c8020c277ba45bc93a9a364f07eba8302c", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAERvGnSTsTHzxgMulhK44b09GjEEzjzvPI\nAgwne6RbyTqaNk8H66gwLA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 441, |
| "comment": "signature with non-minimal SEQUENCE tag", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "", |
| "sig": "3f102d02142b5ebaf4211158c687625922bd903253892cf834021500aed36914690e0d99637b92439539a13bd8e6d800", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 442, |
| "comment": "signature with non-minimal INTEGER tag on r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "", |
| "sig": "302e1f02142b5ebaf4211158c687625922bd903253892cf834021500aed36914690e0d99637b92439539a13bd8e6d800", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 443, |
| "comment": "signature with non-minimal INTEGER tag on s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "", |
| "sig": "302e02142b5ebaf4211158c687625922bd903253892cf8341f021500aed36914690e0d99637b92439539a13bd8e6d800", |
| "result": "invalid" |
| } |
| ] |
| } |
| ] |
| } |