{ "algorithm" : "ECDSA", "schema" : "ecdsa_verify_schema.json", "generatorVersion" : "0.9rc5", "numberOfTests" : 477, "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 occurences.", "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" ] }, "EdgeCasePublicKey" : { "bugType" : "EDGE_CASE", "description" : "The test vector uses a special case public key. " }, "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 knowning 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 knowning the message to sign.", "cves" : [ "CVE-2022-21449" ] }, "MissingZero" : { "bugType" : "LEGACY", "description" : "Some implementations of ECDSA and DSA incorrectly encode r and s by not including leading zeros in the ASN encoding of integers when necessary. Hence, some implementations (e.g. jdk) allow signatures with incorrect ASN encodings assuming that the signature is otherwise valid.", "effect" : "While signatures are more malleable if such signatures are accepted, this typically leads to no vulnerability, since a badly encoded signature can be reencoded correctly." }, "ModifiedInteger" : { "bugType" : "CAN_OF_WORMS", "description" : "The test vector contains an r and s that has been modified. The goal is to check for arithmetic errors.", "effect" : "Without further analysis it is unclear if the modification can be used to forge signatures." }, "ModifiedSignature" : { "bugType" : "CAN_OF_WORMS", "description" : "The test vector contains an invalid signature that was generated from a valid signature by modifying it.", "effect" : "Without further analysis it is unclear if the modification can be used to forge signatures." }, "ModularInverse" : { "bugType" : "EDGE_CASE", "description" : "The test vectors contains a signature where computing the modular inverse of s hits an edge case.", "effect" : "While the signature in this test vector is constructed and similar cases are unlikely to occur, it is important to determine if the underlying arithmetic error can be used to forge signatures.", "cves" : [ "CVE-2019-0865" ] }, "PointDuplication" : { "bugType" : "EDGE_CASE", "description" : "Some implementations of ECDSA do not handle duplication and points at infinity correctly. This is a test vector that has been specially crafted to check for such an omission.", "cves" : [ "2020-12607", "CVE-2015-2730" ] }, "RangeCheck" : { "bugType" : "CAN_OF_WORMS", "description" : "The test vector contains an r and s that has been modified. By adding or subtracting the order of the group (or other values) the test vector checks whether signature verification verifies the range of r and s.", "effect" : "Without further analysis it is unclear if the modification can be used to forge signatures." }, "SmallRandS" : { "bugType" : "EDGE_CASE", "description" : "The test vectors contains a signature where both r and s are small integers. Some libraries cannot verify such signatures.", "effect" : "While the signature in this test vector is constructed and similar cases are unlikely to occur, it is important to determine if the underlying arithmetic error can be used to forge signatures.", "cves" : [ "2020-13895" ] }, "SpecialCaseHash" : { "bugType" : "EDGE_CASE", "description" : "The test vector contains a signature where the hash of the message is a special case, e.g., contains a long run of 0 or 1 bits." }, "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", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0404aaec73635726f213fb8a9e64da3b8632e41495a944d0045b522eba7240fad587d9315798aaa3a5ba01775787ced05eaaf7b4e09fc81d6d1aa546e8365d525d", "wx" : "04aaec73635726f213fb8a9e64da3b8632e41495a944d0045b522eba7240fad5", "wy" : "0087d9315798aaa3a5ba01775787ced05eaaf7b4e09fc81d6d1aa546e8365d525d" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000404aaec73635726f213fb8a9e64da3b8632e41495a944d0045b522eba7240fad587d9315798aaa3a5ba01775787ced05eaaf7b4e09fc81d6d1aa546e8365d525d", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEBKrsc2NXJvIT+4qeZNo7hjLkFJWp\nRNAEW1IuunJA+tWH2TFXmKqjpboBd1eHztBeqve04J/IHW0apUboNl1SXQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 1, "comment" : "pseudorandom signature", "flags" : [ "ValidSignature" ], "msg" : "", "sig" : "3044022032c6866d51c43759bee8ad160e64ef98ee6bf68a2a199caa32ebe0064ca7bc12022012751dc03a925c2e3568bf9190e41da8e6d90a3bf7943c62ff00c2278b47a853", "result" : "valid" }, { "tcId" : 2, "comment" : "pseudorandom signature", "flags" : [ "ValidSignature" ], "msg" : "4d7367", "sig" : "3044022039346ce33712a65fd6aa18ad070f77de20399861543717746bfa8ddd99d8b3d10220605c74693a5e254604832112b1b6722e369cab9b3139c82ec5bb0f466d311962", "result" : "valid" }, { "tcId" : 3, "comment" : "pseudorandom signature", "flags" : [ "ValidSignature" ], "msg" : "313233343030", "sig" : "304402202472b597920aaa98fdf7c7519531b46934df912d61a55d14970124dcdfd040870220049d0db50c18a8ce3a5f572863dfd1f809e2356c2f8ce8f8eef940cb8e40e82f", "result" : "valid" }, { "tcId" : 4, "comment" : "pseudorandom signature", "flags" : [ "ValidSignature" ], "msg" : "0000000000000000000000000000000000000000", "sig" : "3045022100c4f2d17d9f88c1d8ff3157d03f52527517f242621b656e33503e44c5010406c202205099a8e105ff65a0c5264ff4e232c9ba82d87f76c7a0db813607275032379e7f", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "042927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e", "wx" : "2927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838", "wy" : "00c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKSexBRK64+3c/kZ4KBKLrSkDJpkZ\n9whgacjE32xzKDjHeHlk6qwA5ZIfsUmKYPRgZ2az2WhQAVWNGpdOc0FRPg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 5, "comment" : "signature malleability", "flags" : [ "ValidSignature" ], "msg" : "313233343030", "sig" : "304402207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022036931fb035066b15b7e1af99966cf07d89fe5ee94eceb502c6a36a5c63f844ba", "result" : "valid" }, { "tcId" : 6, "comment" : "Legacy: ASN encoding of s misses leading 0", "flags" : [ "MissingZero" ], "msg" : "313233343030", "sig" : "304402207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80220c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 7, "comment" : "valid", "flags" : [ "ValidSignature" ], "msg" : "313233343030", "sig" : "304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "valid" }, { "tcId" : 8, "comment" : "length of sequence [r, s] uses long form encoding", "flags" : [ "BerEncodedSignature" ], "msg" : "313233343030", "sig" : "30814502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 9, "comment" : "length of sequence [r, s] contains a leading 0", "flags" : [ "BerEncodedSignature" ], "msg" : "313233343030", "sig" : "3082004502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 10, "comment" : "length of sequence [r, s] uses 70 instead of 69", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304602207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 11, "comment" : "length of sequence [r, s] uses 68 instead of 69", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304402207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 12, "comment" : "uint32 overflow in length of sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "3085010000004502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 13, "comment" : "uint64 overflow in length of sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "308901000000000000004502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 14, "comment" : "length of sequence [r, s] = 2**31 - 1", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30847fffffff02207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 15, "comment" : "length of sequence [r, s] = 2**31", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30848000000002207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 16, "comment" : "length of sequence [r, s] = 2**32 - 1", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "3084ffffffff02207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 17, "comment" : "length of sequence [r, s] = 2**40 - 1", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "3085ffffffffff02207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 18, "comment" : "length of sequence [r, s] = 2**64 - 1", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "3088ffffffffffffffff02207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 19, "comment" : "incorrect length of sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30ff02207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 20, "comment" : "replaced sequence [r, s] by an indefinite length tag without termination", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "308002207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 21, "comment" : "removing sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "", "result" : "invalid" }, { "tcId" : 22, "comment" : "lonely sequence tag", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30", "result" : "invalid" }, { "tcId" : 23, "comment" : "appending 0's to sequence [r, s]", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304702207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970000", "result" : "invalid" }, { "tcId" : 24, "comment" : "prepending 0's to sequence [r, s]", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "3047000002207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 25, "comment" : "appending unused 0's to sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970000", "result" : "invalid" }, { "tcId" : 26, "comment" : "appending null value to sequence [r, s]", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304702207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970500", "result" : "invalid" }, { "tcId" : 27, "comment" : "prepending garbage to sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304a498177304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 28, "comment" : "prepending garbage to sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30492500304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 29, "comment" : "appending garbage to sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "3047304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970004deadbeef", "result" : "invalid" }, { "tcId" : 30, "comment" : "including undefined tags", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304daa00bb00cd00304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 31, "comment" : "including undefined tags", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304d2228aa00bb00cd0002207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 32, "comment" : "including undefined tags", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304d02207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c82229aa00bb00cd00022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 33, "comment" : "truncated length of sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "3081", "result" : "invalid" }, { "tcId" : 34, "comment" : "including undefined tags to sequence [r, s]", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304baa02aabb304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 35, "comment" : "using composition with indefinite length for sequence [r, s]", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "3080304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970000", "result" : "invalid" }, { "tcId" : 36, "comment" : "using composition with wrong tag for sequence [r, s]", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "3080314502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970000", "result" : "invalid" }, { "tcId" : 37, "comment" : "Replacing sequence [r, s] with NULL", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "0500", "result" : "invalid" }, { "tcId" : 38, "comment" : "changing tag value of sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "2e4502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 39, "comment" : "changing tag value of sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "2f4502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 40, "comment" : "changing tag value of sequence [r, s]", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "314502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 41, "comment" : "changing tag value of sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "324502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 42, "comment" : "changing tag value of sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "ff4502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 43, "comment" : "dropping value of sequence [r, s]", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "3000", "result" : "invalid" }, { "tcId" : 44, "comment" : "using composition for sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30493001023044207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 45, "comment" : "truncated sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304402207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0", "result" : "invalid" }, { "tcId" : 46, "comment" : "truncated sequence [r, s]", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "3044207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 47, "comment" : "sequence [r, s] of size 4166 to check for overflows", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "3082104602207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "result" : "invalid" }, { "tcId" : 48, "comment" : "indefinite length", "flags" : [ "BerEncodedSignature" ], "msg" : "313233343030", "sig" : "308002207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970000", "result" : "invalid" }, { "tcId" : 49, "comment" : "indefinite length with truncated delimiter", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "308002207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae09700", "result" : "invalid" }, { "tcId" : 50, "comment" : "indefinite length with additional element", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "308002207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae09705000000", "result" : "invalid" }, { "tcId" : 51, "comment" : "indefinite length with truncated element", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "308002207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097060811220000", "result" : "invalid" }, { "tcId" : 52, "comment" : "indefinite length with garbage", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "308002207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970000fe02beef", "result" : "invalid" }, { "tcId" : 53, "comment" : "indefinite length with nonempty EOC", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "308002207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970002beef", "result" : "invalid" }, { "tcId" : 54, "comment" : "prepend empty sequence", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "3047300002207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 55, "comment" : "append empty sequence", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304702207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0973000", "result" : "invalid" }, { "tcId" : 56, "comment" : "append zero", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304802207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097020100", "result" : "invalid" }, { "tcId" : 57, "comment" : "append garbage with high tag number", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304802207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097bf7f00", "result" : "invalid" }, { "tcId" : 58, "comment" : "append null with explicit tag", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304902207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097a0020500", "result" : "invalid" }, { "tcId" : 59, "comment" : "append null with implicit tag", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304702207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097a000", "result" : "invalid" }, { "tcId" : 60, "comment" : "sequence of sequence", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "3047304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 61, "comment" : "truncated sequence: removed last 1 elements", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "302202207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8", "result" : "invalid" }, { "tcId" : 62, "comment" : "repeating element in sequence", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "306802207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 63, "comment" : "flipped bit 0 in r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30437182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c9022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 64, "comment" : "flipped bit 32 in r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30437182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2eb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 65, "comment" : "flipped bit 48 in r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30437182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca059bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 66, "comment" : "flipped bit 64 in r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30437182f26bc75cb9735fe63539b290ef8c4828f2eea083aabda058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 67, "comment" : "length of r uses long form encoding", "flags" : [ "BerEncodedSignature" ], "msg" : "313233343030", "sig" : "30460281207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 68, "comment" : "length of r contains a leading 0", "flags" : [ "BerEncodedSignature" ], "msg" : "313233343030", "sig" : "3047028200207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 69, "comment" : "length of r uses 33 instead of 32", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304502217182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 70, "comment" : "length of r uses 31 instead of 32", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "3045021f7182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 71, "comment" : "uint32 overflow in length of r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304a028501000000207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 72, "comment" : "uint64 overflow in length of r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304e02890100000000000000207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 73, "comment" : "length of r = 2**31 - 1", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304902847fffffff7182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 74, "comment" : "length of r = 2**31", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30490284800000007182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 75, "comment" : "length of r = 2**32 - 1", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30490284ffffffff7182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 76, "comment" : "length of r = 2**40 - 1", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304a0285ffffffffff7182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 77, "comment" : "length of r = 2**64 - 1", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304d0288ffffffffffffffff7182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 78, "comment" : "incorrect length of r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304502ff7182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 79, "comment" : "replaced r by an indefinite length tag without termination", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304502807182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 80, "comment" : "removing r", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "3023022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 81, "comment" : "lonely integer tag", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "302402022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 82, "comment" : "lonely integer tag", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "302302207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c802", "result" : "invalid" }, { "tcId" : 83, "comment" : "appending 0's to r", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304702227182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80000022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 84, "comment" : "prepending 0's to r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "3047022200007182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 85, "comment" : "appending unused 0's to r", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304702207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80000022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 86, "comment" : "appending null value to r", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304702227182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80500022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 87, "comment" : "prepending garbage to r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304a222549817702207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 88, "comment" : "prepending garbage to r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30492224250002207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 89, "comment" : "appending garbage to r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304d222202207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80004deadbeef022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 90, "comment" : "truncated length of r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30250281022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 91, "comment" : "including undefined tags to r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304b2226aa02aabb02207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 92, "comment" : "using composition with indefinite length for r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "3049228002207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80000022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 93, "comment" : "using composition with wrong tag for r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "3049228003207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80000022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 94, "comment" : "Replacing r with NULL", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "30250500022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 95, "comment" : "changing tag value of r", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304500207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 96, "comment" : "changing tag value of r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304501207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 97, "comment" : "changing tag value of r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304503207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 98, "comment" : "changing tag value of r", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304504207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 99, "comment" : "changing tag value of r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "3045ff207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 100, "comment" : "dropping value of r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30250200022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 101, "comment" : "using composition for r", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "30492224020171021f82f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 102, "comment" : "modifying first byte of r", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304502207382f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 103, "comment" : "modifying last byte of r", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a6748022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 104, "comment" : "truncated r", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "3044021f7182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 105, "comment" : "truncated r", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "3044021f82f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 106, "comment" : "r of size 4129 to check for overflows", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "30821048028210217182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 107, "comment" : "leading ff in r", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "30460221ff7182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 108, "comment" : "replaced r by infinity", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "3026090180022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 109, "comment" : "replacing r with zero", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "3026020100022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 110, "comment" : "flipped bit 0 in s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304302207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c800c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae096", "result" : "invalid" }, { "tcId" : 111, "comment" : "flipped bit 32 in s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304302207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c800c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166067986ae097", "result" : "invalid" }, { "tcId" : 112, "comment" : "flipped bit 48 in s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304302207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c800c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d176066986ae097", "result" : "invalid" }, { "tcId" : 113, "comment" : "flipped bit 64 in s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304302207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c800c96ce04ecaf994eb481e506669930f8232e89bc45848e9832d166066986ae097", "result" : "invalid" }, { "tcId" : 114, "comment" : "length of s uses long form encoding", "flags" : [ "BerEncodedSignature" ], "msg" : "313233343030", "sig" : "304602207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c802812100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 115, "comment" : "length of s contains a leading 0", "flags" : [ "BerEncodedSignature" ], "msg" : "313233343030", "sig" : "304702207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80282002100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 116, "comment" : "length of s uses 34 instead of 33", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022200c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 117, "comment" : "length of s uses 32 instead of 33", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022000c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 118, "comment" : "uint32 overflow in length of s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304a02207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80285010000002100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 119, "comment" : "uint64 overflow in length of s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304e02207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8028901000000000000002100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 120, "comment" : "length of s = 2**31 - 1", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304902207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c802847fffffff00c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 121, "comment" : "length of s = 2**31", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304902207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c802848000000000c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 122, "comment" : "length of s = 2**32 - 1", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304902207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80284ffffffff00c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 123, "comment" : "length of s = 2**40 - 1", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304a02207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80285ffffffffff00c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 124, "comment" : "length of s = 2**64 - 1", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304d02207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80288ffffffffffffffff00c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 125, "comment" : "incorrect length of s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c802ff00c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 126, "comment" : "replaced s by an indefinite length tag without termination", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8028000c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 127, "comment" : "appending 0's to s", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304702207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022300c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970000", "result" : "invalid" }, { "tcId" : 128, "comment" : "prepending 0's to s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304702207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80223000000c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 129, "comment" : "appending null value to s", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304702207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022300c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970500", "result" : "invalid" }, { "tcId" : 130, "comment" : "prepending garbage to s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304a02207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c82226498177022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 131, "comment" : "prepending garbage to s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304902207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c822252500022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 132, "comment" : "appending garbage to s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304d02207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c82223022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970004deadbeef", "result" : "invalid" }, { "tcId" : 133, "comment" : "truncated length of s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "302402207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80281", "result" : "invalid" }, { "tcId" : 134, "comment" : "including undefined tags to s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304b02207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c82227aa02aabb022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 135, "comment" : "using composition with indefinite length for s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304902207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c82280022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970000", "result" : "invalid" }, { "tcId" : 136, "comment" : "using composition with wrong tag for s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304902207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c82280032100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970000", "result" : "invalid" }, { "tcId" : 137, "comment" : "Replacing s with NULL", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "302402207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80500", "result" : "invalid" }, { "tcId" : 138, "comment" : "changing tag value of s", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8002100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 139, "comment" : "changing tag value of s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8012100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 140, "comment" : "changing tag value of s", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8032100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 141, "comment" : "changing tag value of s", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8042100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 142, "comment" : "changing tag value of s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8ff2100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 143, "comment" : "dropping value of s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "302402207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80200", "result" : "invalid" }, { "tcId" : 144, "comment" : "using composition for s", "flags" : [ "InvalidEncoding" ], "msg" : "313233343030", "sig" : "304902207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c822250201000220c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 145, "comment" : "modifying first byte of s", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022102c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 146, "comment" : "modifying last byte of s", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae017", "result" : "invalid" }, { "tcId" : 147, "comment" : "truncated s", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304402207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022000c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0", "result" : "invalid" }, { "tcId" : 148, "comment" : "s of size 4130 to check for overflows", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "3082104802207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80282102200c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae0970000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "result" : "invalid" }, { "tcId" : 149, "comment" : "leading ff in s", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "304602207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c80222ff00c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 150, "comment" : "replaced s by infinity", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "302502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8090180", "result" : "invalid" }, { "tcId" : 151, "comment" : "replacing s with zero", "flags" : [ "ModifiedSignature" ], "msg" : "313233343030", "sig" : "302502207182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8020100", "result" : "invalid" }, { "tcId" : 152, "comment" : "replaced r by r + n", "flags" : [ "RangeCheck" ], "msg" : "313233343030", "sig" : "30460221017182f26ac75cb9745fe63539b290ef8c050fed9c479b4941941286f2ae9d8d19022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 153, "comment" : "replaced r by r - n", "flags" : [ "RangeCheck" ], "msg" : "313233343030", "sig" : "30460221ff7182f26cc75cb9725fe63539b290ef8c8b41f840f96c0c37ac9ef16cb5d74277022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 154, "comment" : "replaced r by r + 256 * n", "flags" : [ "RangeCheck" ], "msg" : "313233343030", "sig" : "3047022201007182f16bc75cba735fe63539b290ef492f23a095b8222fb05a237f2c155fb8c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 155, "comment" : "replaced r by -r", "flags" : [ "ModifiedInteger" ], "msg" : "313233343030", "sig" : "304502208e7d0d9438a3468ca019cac64d6f1073b7d70d115f7c55435fa743d04dc59838022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 156, "comment" : "replaced r by n - r", "flags" : [ "ModifiedInteger" ], "msg" : "313233343030", "sig" : "30460221008e7d0d9338a3468da019cac64d6f107374be07bf0693f3c853610e934a28bd89022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 157, "comment" : "replaced r by -n - r", "flags" : [ "ModifiedInteger" ], "msg" : "313233343030", "sig" : "30460221fe8e7d0d9538a3468ba019cac64d6f1073faf01263b864b6be6bed790d516272e7022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 158, "comment" : "replaced r by r + 2**256", "flags" : [ "IntegerOverflow" ], "msg" : "313233343030", "sig" : "30460221017182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 159, "comment" : "replaced r by r + 2**320", "flags" : [ "IntegerOverflow" ], "msg" : "313233343030", "sig" : "304e02290100000000000000007182f26bc75cb9735fe63539b290ef8c4828f2eea083aabca058bc2fb23a67c8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 160, "comment" : "replaced s by s + n", "flags" : [ "RangeCheck" ], "msg" : "313233343030", "sig" : "3046022101c96ce04dcaf994ec481e506669930f81efcf9671ff60880720d02b2994ce05e8022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 161, "comment" : "replaced s by s - n", "flags" : [ "RangeCheck" ], "msg" : "313233343030", "sig" : "30450220c96ce04fcaf994ea481e506669930f827601a116b1314afd395c95a39c07bb46022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 162, "comment" : "replaced s by s + 256 * n", "flags" : [ "RangeCheck" ], "msg" : "313233343030", "sig" : "304702220100c96cdf4ecaf995eb481e506669930f3f19e3496b6fe76e75e6e12362fb903197022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 163, "comment" : "replaced s by -s", "flags" : [ "ModifiedInteger" ], "msg" : "313233343030", "sig" : "30460221ff36931fb135066b14b7e1af99966cf07dcd17643ba7b7167dd2e99f9967951f69022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 164, "comment" : "replaced s by -n - s", "flags" : [ "ModifiedInteger" ], "msg" : "313233343030", "sig" : "30460221fe36931fb235066b13b7e1af99966cf07e1030698e009f77f8df2fd4d66b31fa18022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 165, "comment" : "replaced s by s + 2**256", "flags" : [ "IntegerOverflow" ], "msg" : "313233343030", "sig" : "3046022101c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 166, "comment" : "replaced s by s - 2**256", "flags" : [ "IntegerOverflow" ], "msg" : "313233343030", "sig" : "30450220c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 167, "comment" : "replaced s by s + 2**320", "flags" : [ "IntegerOverflow" ], "msg" : "313233343030", "sig" : "304e0229010000000000000000c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097022100c96ce04ecaf994eb481e506669930f8232e89bc45848e9822d166066986ae097", "result" : "invalid" }, { "tcId" : 168, "comment" : "Signature with special case values r=0 and s=0", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3006020100020100", "result" : "invalid" }, { "tcId" : 169, "comment" : "Signature with special case values r=0 and s=1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3006020100020101", "result" : "invalid" }, { "tcId" : 170, "comment" : "Signature with special case values r=0 and s=-1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "30060201000201ff", "result" : "invalid" }, { "tcId" : 171, "comment" : "Signature with special case values r=0 and s=n", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026020100022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", "result" : "invalid" }, { "tcId" : 172, "comment" : "Signature with special case values r=0 and s=n - 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026020100022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", "result" : "invalid" }, { "tcId" : 173, "comment" : "Signature with special case values r=0 and s=n + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026020100022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", "result" : "invalid" }, { "tcId" : 174, "comment" : "Signature with special case values r=0 and s=p", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026020100022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", "result" : "invalid" }, { "tcId" : 175, "comment" : "Signature with special case values r=0 and s=p + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026020100022100ffffffff00000001000000000000000000000001000000000000000000000000", "result" : "invalid" }, { "tcId" : 176, "comment" : "Signature with special case values r=1 and s=0", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3006020101020100", "result" : "invalid" }, { "tcId" : 177, "comment" : "Signature with special case values r=1 and s=1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3006020101020101", "result" : "invalid" }, { "tcId" : 178, "comment" : "Signature with special case values r=1 and s=-1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "30060201010201ff", "result" : "invalid" }, { "tcId" : 179, "comment" : "Signature with special case values r=1 and s=n", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026020101022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", "result" : "invalid" }, { "tcId" : 180, "comment" : "Signature with special case values r=1 and s=n - 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026020101022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", "result" : "invalid" }, { "tcId" : 181, "comment" : "Signature with special case values r=1 and s=n + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026020101022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", "result" : "invalid" }, { "tcId" : 182, "comment" : "Signature with special case values r=1 and s=p", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026020101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", "result" : "invalid" }, { "tcId" : 183, "comment" : "Signature with special case values r=1 and s=p + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026020101022100ffffffff00000001000000000000000000000001000000000000000000000000", "result" : "invalid" }, { "tcId" : 184, "comment" : "Signature with special case values r=-1 and s=0", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "30060201ff020100", "result" : "invalid" }, { "tcId" : 185, "comment" : "Signature with special case values r=-1 and s=1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "30060201ff020101", "result" : "invalid" }, { "tcId" : 186, "comment" : "Signature with special case values r=-1 and s=-1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "30060201ff0201ff", "result" : "invalid" }, { "tcId" : 187, "comment" : "Signature with special case values r=-1 and s=n", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "30260201ff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", "result" : "invalid" }, { "tcId" : 188, "comment" : "Signature with special case values r=-1 and s=n - 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "30260201ff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", "result" : "invalid" }, { "tcId" : 189, "comment" : "Signature with special case values r=-1 and s=n + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "30260201ff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", "result" : "invalid" }, { "tcId" : 190, "comment" : "Signature with special case values r=-1 and s=p", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "30260201ff022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", "result" : "invalid" }, { "tcId" : 191, "comment" : "Signature with special case values r=-1 and s=p + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "30260201ff022100ffffffff00000001000000000000000000000001000000000000000000000000", "result" : "invalid" }, { "tcId" : 192, "comment" : "Signature with special case values r=n and s=0", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020100", "result" : "invalid" }, { "tcId" : 193, "comment" : "Signature with special case values r=n and s=1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101", "result" : "invalid" }, { "tcId" : 194, "comment" : "Signature with special case values r=n and s=-1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510201ff", "result" : "invalid" }, { "tcId" : 195, "comment" : "Signature with special case values r=n and s=n", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", "result" : "invalid" }, { "tcId" : 196, "comment" : "Signature with special case values r=n and s=n - 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", "result" : "invalid" }, { "tcId" : 197, "comment" : "Signature with special case values r=n and s=n + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", "result" : "invalid" }, { "tcId" : 198, "comment" : "Signature with special case values r=n and s=p", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", "result" : "invalid" }, { "tcId" : 199, "comment" : "Signature with special case values r=n and s=p + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000001000000000000000000000001000000000000000000000000", "result" : "invalid" }, { "tcId" : 200, "comment" : "Signature with special case values r=n - 1 and s=0", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550020100", "result" : "invalid" }, { "tcId" : 201, "comment" : "Signature with special case values r=n - 1 and s=1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550020101", "result" : "invalid" }, { "tcId" : 202, "comment" : "Signature with special case values r=n - 1 and s=-1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325500201ff", "result" : "invalid" }, { "tcId" : 203, "comment" : "Signature with special case values r=n - 1 and s=n", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", "result" : "invalid" }, { "tcId" : 204, "comment" : "Signature with special case values r=n - 1 and s=n - 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", "result" : "invalid" }, { "tcId" : 205, "comment" : "Signature with special case values r=n - 1 and s=n + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", "result" : "invalid" }, { "tcId" : 206, "comment" : "Signature with special case values r=n - 1 and s=p", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", "result" : "invalid" }, { "tcId" : 207, "comment" : "Signature with special case values r=n - 1 and s=p + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000001000000000000000000000001000000000000000000000000", "result" : "invalid" }, { "tcId" : 208, "comment" : "Signature with special case values r=n + 1 and s=0", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552020100", "result" : "invalid" }, { "tcId" : 209, "comment" : "Signature with special case values r=n + 1 and s=1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552020101", "result" : "invalid" }, { "tcId" : 210, "comment" : "Signature with special case values r=n + 1 and s=-1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325520201ff", "result" : "invalid" }, { "tcId" : 211, "comment" : "Signature with special case values r=n + 1 and s=n", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", "result" : "invalid" }, { "tcId" : 212, "comment" : "Signature with special case values r=n + 1 and s=n - 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", "result" : "invalid" }, { "tcId" : 213, "comment" : "Signature with special case values r=n + 1 and s=n + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", "result" : "invalid" }, { "tcId" : 214, "comment" : "Signature with special case values r=n + 1 and s=p", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", "result" : "invalid" }, { "tcId" : 215, "comment" : "Signature with special case values r=n + 1 and s=p + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000001000000000000000000000001000000000000000000000000", "result" : "invalid" }, { "tcId" : 216, "comment" : "Signature with special case values r=p and s=0", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff020100", "result" : "invalid" }, { "tcId" : 217, "comment" : "Signature with special case values r=p and s=1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff020101", "result" : "invalid" }, { "tcId" : 218, "comment" : "Signature with special case values r=p and s=-1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff0201ff", "result" : "invalid" }, { "tcId" : 219, "comment" : "Signature with special case values r=p and s=n", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", "result" : "invalid" }, { "tcId" : 220, "comment" : "Signature with special case values r=p and s=n - 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", "result" : "invalid" }, { "tcId" : 221, "comment" : "Signature with special case values r=p and s=n + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", "result" : "invalid" }, { "tcId" : 222, "comment" : "Signature with special case values r=p and s=p", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", "result" : "invalid" }, { "tcId" : 223, "comment" : "Signature with special case values r=p and s=p + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000001000000000000000000000001000000000000000000000000", "result" : "invalid" }, { "tcId" : 224, "comment" : "Signature with special case values r=p + 1 and s=0", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000001000000000000000000000001000000000000000000000000020100", "result" : "invalid" }, { "tcId" : 225, "comment" : "Signature with special case values r=p + 1 and s=1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000001000000000000000000000001000000000000000000000000020101", "result" : "invalid" }, { "tcId" : 226, "comment" : "Signature with special case values r=p + 1 and s=-1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff000000010000000000000000000000010000000000000000000000000201ff", "result" : "invalid" }, { "tcId" : 227, "comment" : "Signature with special case values r=p + 1 and s=n", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", "result" : "invalid" }, { "tcId" : 228, "comment" : "Signature with special case values r=p + 1 and s=n - 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", "result" : "invalid" }, { "tcId" : 229, "comment" : "Signature with special case values r=p + 1 and s=n + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", "result" : "invalid" }, { "tcId" : 230, "comment" : "Signature with special case values r=p + 1 and s=p", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", "result" : "invalid" }, { "tcId" : 231, "comment" : "Signature with special case values r=p + 1 and s=p + 1", "flags" : [ "InvalidSignature" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000001000000000000000000000001000000000000000000000000", "result" : "invalid" }, { "tcId" : 232, "comment" : "Signature encoding contains incorrect types: r=0, s=0.25", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3008020100090380fe01", "result" : "invalid" }, { "tcId" : 233, "comment" : "Signature encoding contains incorrect types: r=0, s=nan", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3006020100090142", "result" : "invalid" }, { "tcId" : 234, "comment" : "Signature encoding contains incorrect types: r=0, s=True", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3006020100010101", "result" : "invalid" }, { "tcId" : 235, "comment" : "Signature encoding contains incorrect types: r=0, s=False", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3006020100010100", "result" : "invalid" }, { "tcId" : 236, "comment" : "Signature encoding contains incorrect types: r=0, s=Null", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30050201000500", "result" : "invalid" }, { "tcId" : 237, "comment" : "Signature encoding contains incorrect types: r=0, s=empyt UTF-8 string", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30050201000c00", "result" : "invalid" }, { "tcId" : 238, "comment" : "Signature encoding contains incorrect types: r=0, s=\"0\"", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30060201000c0130", "result" : "invalid" }, { "tcId" : 239, "comment" : "Signature encoding contains incorrect types: r=0, s=empty list", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30050201003000", "result" : "invalid" }, { "tcId" : 240, "comment" : "Signature encoding contains incorrect types: r=0, s=list containing 0", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30080201003003020100", "result" : "invalid" }, { "tcId" : 241, "comment" : "Signature encoding contains incorrect types: r=1, s=0.25", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3008020101090380fe01", "result" : "invalid" }, { "tcId" : 242, "comment" : "Signature encoding contains incorrect types: r=1, s=nan", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3006020101090142", "result" : "invalid" }, { "tcId" : 243, "comment" : "Signature encoding contains incorrect types: r=1, s=True", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3006020101010101", "result" : "invalid" }, { "tcId" : 244, "comment" : "Signature encoding contains incorrect types: r=1, s=False", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3006020101010100", "result" : "invalid" }, { "tcId" : 245, "comment" : "Signature encoding contains incorrect types: r=1, s=Null", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30050201010500", "result" : "invalid" }, { "tcId" : 246, "comment" : "Signature encoding contains incorrect types: r=1, s=empyt UTF-8 string", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30050201010c00", "result" : "invalid" }, { "tcId" : 247, "comment" : "Signature encoding contains incorrect types: r=1, s=\"0\"", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30060201010c0130", "result" : "invalid" }, { "tcId" : 248, "comment" : "Signature encoding contains incorrect types: r=1, s=empty list", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30050201013000", "result" : "invalid" }, { "tcId" : 249, "comment" : "Signature encoding contains incorrect types: r=1, s=list containing 0", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30080201013003020100", "result" : "invalid" }, { "tcId" : 250, "comment" : "Signature encoding contains incorrect types: r=-1, s=0.25", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30080201ff090380fe01", "result" : "invalid" }, { "tcId" : 251, "comment" : "Signature encoding contains incorrect types: r=-1, s=nan", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30060201ff090142", "result" : "invalid" }, { "tcId" : 252, "comment" : "Signature encoding contains incorrect types: r=-1, s=True", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30060201ff010101", "result" : "invalid" }, { "tcId" : 253, "comment" : "Signature encoding contains incorrect types: r=-1, s=False", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30060201ff010100", "result" : "invalid" }, { "tcId" : 254, "comment" : "Signature encoding contains incorrect types: r=-1, s=Null", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30050201ff0500", "result" : "invalid" }, { "tcId" : 255, "comment" : "Signature encoding contains incorrect types: r=-1, s=empyt UTF-8 string", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30050201ff0c00", "result" : "invalid" }, { "tcId" : 256, "comment" : "Signature encoding contains incorrect types: r=-1, s=\"0\"", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30060201ff0c0130", "result" : "invalid" }, { "tcId" : 257, "comment" : "Signature encoding contains incorrect types: r=-1, s=empty list", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30050201ff3000", "result" : "invalid" }, { "tcId" : 258, "comment" : "Signature encoding contains incorrect types: r=-1, s=list containing 0", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30080201ff3003020100", "result" : "invalid" }, { "tcId" : 259, "comment" : "Signature encoding contains incorrect types: r=n, s=0.25", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3028022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551090380fe01", "result" : "invalid" }, { "tcId" : 260, "comment" : "Signature encoding contains incorrect types: r=n, s=nan", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551090142", "result" : "invalid" }, { "tcId" : 261, "comment" : "Signature encoding contains incorrect types: r=n, s=True", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551010101", "result" : "invalid" }, { "tcId" : 262, "comment" : "Signature encoding contains incorrect types: r=n, s=False", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551010100", "result" : "invalid" }, { "tcId" : 263, "comment" : "Signature encoding contains incorrect types: r=n, s=Null", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3025022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510500", "result" : "invalid" }, { "tcId" : 264, "comment" : "Signature encoding contains incorrect types: r=n, s=empyt UTF-8 string", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3025022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510c00", "result" : "invalid" }, { "tcId" : 265, "comment" : "Signature encoding contains incorrect types: r=n, s=\"0\"", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510c0130", "result" : "invalid" }, { "tcId" : 266, "comment" : "Signature encoding contains incorrect types: r=n, s=empty list", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3025022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325513000", "result" : "invalid" }, { "tcId" : 267, "comment" : "Signature encoding contains incorrect types: r=n, s=list containing 0", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3028022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325513003020100", "result" : "invalid" }, { "tcId" : 268, "comment" : "Signature encoding contains incorrect types: r=p, s=0.25", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3028022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff090380fe01", "result" : "invalid" }, { "tcId" : 269, "comment" : "Signature encoding contains incorrect types: r=p, s=nan", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff090142", "result" : "invalid" }, { "tcId" : 270, "comment" : "Signature encoding contains incorrect types: r=p, s=True", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff010101", "result" : "invalid" }, { "tcId" : 271, "comment" : "Signature encoding contains incorrect types: r=p, s=False", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff010100", "result" : "invalid" }, { "tcId" : 272, "comment" : "Signature encoding contains incorrect types: r=p, s=Null", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3025022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff0500", "result" : "invalid" }, { "tcId" : 273, "comment" : "Signature encoding contains incorrect types: r=p, s=empyt UTF-8 string", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3025022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff0c00", "result" : "invalid" }, { "tcId" : 274, "comment" : "Signature encoding contains incorrect types: r=p, s=\"0\"", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff0c0130", "result" : "invalid" }, { "tcId" : 275, "comment" : "Signature encoding contains incorrect types: r=p, s=empty list", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3025022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff3000", "result" : "invalid" }, { "tcId" : 276, "comment" : "Signature encoding contains incorrect types: r=p, s=list containing 0", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3028022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff3003020100", "result" : "invalid" }, { "tcId" : 277, "comment" : "Signature encoding contains incorrect types: r=0.25, s=0.25", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "300a090380fe01090380fe01", "result" : "invalid" }, { "tcId" : 278, "comment" : "Signature encoding contains incorrect types: r=nan, s=nan", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3006090142090142", "result" : "invalid" }, { "tcId" : 279, "comment" : "Signature encoding contains incorrect types: r=True, s=True", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3006010101010101", "result" : "invalid" }, { "tcId" : 280, "comment" : "Signature encoding contains incorrect types: r=False, s=False", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3006010100010100", "result" : "invalid" }, { "tcId" : 281, "comment" : "Signature encoding contains incorrect types: r=Null, s=Null", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "300405000500", "result" : "invalid" }, { "tcId" : 282, "comment" : "Signature encoding contains incorrect types: r=empyt UTF-8 string, s=empyt UTF-8 string", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30040c000c00", "result" : "invalid" }, { "tcId" : 283, "comment" : "Signature encoding contains incorrect types: r=\"0\", s=\"0\"", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30060c01300c0130", "result" : "invalid" }, { "tcId" : 284, "comment" : "Signature encoding contains incorrect types: r=empty list, s=empty list", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "300430003000", "result" : "invalid" }, { "tcId" : 285, "comment" : "Signature encoding contains incorrect types: r=list containing 0, s=list containing 0", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "300a30030201003003020100", "result" : "invalid" }, { "tcId" : 286, "comment" : "Signature encoding contains incorrect types: r=0.25, s=0", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3008090380fe01020100", "result" : "invalid" }, { "tcId" : 287, "comment" : "Signature encoding contains incorrect types: r=nan, s=0", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3006090142020100", "result" : "invalid" }, { "tcId" : 288, "comment" : "Signature encoding contains incorrect types: r=True, s=0", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3006010101020100", "result" : "invalid" }, { "tcId" : 289, "comment" : "Signature encoding contains incorrect types: r=False, s=0", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "3006010100020100", "result" : "invalid" }, { "tcId" : 290, "comment" : "Signature encoding contains incorrect types: r=Null, s=0", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30050500020100", "result" : "invalid" }, { "tcId" : 291, "comment" : "Signature encoding contains incorrect types: r=empyt UTF-8 string, s=0", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30050c00020100", "result" : "invalid" }, { "tcId" : 292, "comment" : "Signature encoding contains incorrect types: r=\"0\", s=0", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30060c0130020100", "result" : "invalid" }, { "tcId" : 293, "comment" : "Signature encoding contains incorrect types: r=empty list, s=0", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30053000020100", "result" : "invalid" }, { "tcId" : 294, "comment" : "Signature encoding contains incorrect types: r=list containing 0, s=0", "flags" : [ "InvalidTypesInSignature" ], "msg" : "313233343030", "sig" : "30083003020100020100", "result" : "invalid" }, { "tcId" : 295, "comment" : "Edge case for Shamir multiplication", "flags" : [ "EdgeCaseShamirMultiplication" ], "msg" : "313932313738", "sig" : "3044022064a1aab5000d0e804f3e2fc02bdee9be8ff312334e2ba16d11547c97711c898e022035836c261557c0fefc54e7528ad1f8484b94950f83a0a73c89aa7fe81df28876", "result" : "valid" }, { "tcId" : 296, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "31363530303637353631", "sig" : "30450220573d3802eafc96202bcfbd92caa733b0127f0c9deac678dd5fdcaaf9063ea697022100b73509cd86897cf8ffa089dfefcc9dbfede9a828bc51df4568f3269fe655e722", "result" : "valid" }, { "tcId" : 297, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "32383039333631353931", "sig" : "304502200fc04fefd4845177154a11d8de79fbc998e87d17509de2d90189005984e909d3022100eabbfc7736ee3a0bdda67dd6b9887e2513442f2616408b9f8cb4cbf767d9af99", "result" : "valid" }, { "tcId" : 298, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "313231333636353837", "sig" : "3045022100e0579c2e206b93fbe46f7601b1b8ad5a935937625c506e575a2b64db257a33a4022026631a30b9f998b0b73a32f5d849dc7ea7f8919c98bf20c804939d4d9f795826", "result" : "valid" }, { "tcId" : 299, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "31393635323435333939", "sig" : "304502203d500365ad4279173d2ad63d7d8a3e8e26b9eb081c9360f4e448400ab2d55799022100ce6af62e973144aa995726352d030b651c121378d22a2f4bac0b2ab46078903d", "result" : "valid" }, { "tcId" : 300, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "323035343733333935", "sig" : "3046022100887b232cac14eac23c368196364b40a94d07cb9d91b8895183f23dd218c313d0022100cb0bbbf45e0cc75c1386eba3e59ae15a304d120e7ecfae9a7bc3f4c81ef79626", "result" : "valid" }, { "tcId" : 301, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "32323236333030353738", "sig" : "3045022100d10bf8e195468fd8bfa37ea32ed8b158064fa58683b2400936dee35c926e660202202e4cba2ae878678e5d9066ae81c83ffe54140cf5bd80f0f05647f03304ef9569", "result" : "valid" }, { "tcId" : 302, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "35353736313930313833", "sig" : "3044022063886aaa8ccecd3d5dba5f482b1be5b67a5423ab1a79f719b0852ce81c68d8fc022049516a736a96c92a427089fce450db0371b2291b69e29ff5e719cbd5808c33ef", "result" : "valid" }, { "tcId" : 303, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "36393239393934393737", "sig" : "3046022100f73fb4fbf993d191aa1324435a2f773657caf8521159877ce941c0110d369b87022100f68cb0f4f108eb65670c577e32aec97f2f7520c901c11ae1ea0008803a1bd4d5", "result" : "valid" }, { "tcId" : 304, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "32343139303333343334", "sig" : "30440220590b982d546e9222a31b8775c14de1d57cd2ab9601caac596b257c55bd78056802207cdf0124cf9ade983e869dc02fc0e36a66e4c1ecc7a3eef55ec691a01a2b62a6", "result" : "valid" }, { "tcId" : 305, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "38343034303136323630", "sig" : "304502203d6f0d8d3b48e0ffe137ad89b06bc559333814966f49cf200ce754e31bf2df83022100fe3965804637a34d79c6d75f73a16c872b19dbe04f77f0b0e9d334f7144c0c92", "result" : "valid" }, { "tcId" : 306, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "323939383433333936", "sig" : "30450220137af1415aa3b38dc53635d4ad30836d2b8e4827d90b22ba103d1dd8c9e84d4c022100831f46f1b59fad90b741bb6c58c928939d44c58aac9f1df20b132e94f00d6910", "result" : "valid" }, { "tcId" : 307, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "33313834333734343135", "sig" : "3046022100f975570e4b1c91d2cfccd6be69c499cb554467573f57226b6e26fda003413e9d022100dc1c1867fc8ffbf2ecf4d57172b431e32d76cc8febef2f522d51185c99e72c6c", "result" : "valid" }, { "tcId" : 308, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "3130383632313035383639", "sig" : "30440220543c39ef430fe36be46ff207f06e4f8c05f55e77442d842765ae52186bf2bca802207aa5ae8c8ddefa1cbd0bf36e42359f18825844fe656d63a22b2f0069d45bb992", "result" : "valid" }, { "tcId" : 309, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "33353030303333393137", "sig" : "3044022026e10e8c8850cd75d481cb698c18d88475b7504fa837ad61245768fafdb938000220110c0dc246aa404582f280de1c2d9cfdd0970c4f19fe34ab3f85ae8e27c2b807", "result" : "valid" }, { "tcId" : 310, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "3130323039383532343831", "sig" : "3046022100f17be29f9f353b84bb5c53719f477c7b4d23e34553f3c7cb7323464a37c0b1540221008504b2fce3f834521a7cc4f87c4d4afd91c7fd092e1a17cb42322f76bdcb532b", "result" : "valid" }, { "tcId" : 311, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "32353432383438333133", "sig" : "3045022100ec8ddbb9648c5d41d782a777251cd99448576e3e595b129276e3d845d8568697022069e789028ad5ae7a7140c8ec66ee767fcea96d5669c6b63bef7498c3740bb241", "result" : "valid" }, { "tcId" : 312, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "323535363938303935", "sig" : "3046022100cf2e246f03aedfe41be5517714d6df971ccb05f7c469fe23c675ff98bf324b70022100b38670f682c0753ef95debd53d29f539ce29e45efa818c3ac4af851d8a1c4a33", "result" : "valid" }, { "tcId" : 313, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "32373334363931363630", "sig" : "3046022100d3cc2f36963d994690afa8d6a9923b546a0cb0c5aa38d8af27903b97c13f706202210097e58c53b2c9df6e7d6536f9dc7a504d4a0833050c7a8ff2d20fba044ed3725f", "result" : "valid" }, { "tcId" : 314, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "37393633383036363138", "sig" : "3045022100ac7f3cea5324cd483d2a9df2c9413cf3f7e56fea32bc6b82ec7f0078e9abfc910220165eb9fc6644734db8127b65e2e92649818304150d6e33b5867fd0f235e49635", "result" : "valid" }, { "tcId" : 315, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "363334333037323131", "sig" : "304402201f4426235b4bd7a8e27383e1517c62f0dfa95c0f562ab068c0627d79a6d064bd022066c8e3f0aeb3d660d9887b907ef8da67220c8e1c4e0a7e5a039afec8e86ff9b1", "result" : "valid" }, { "tcId" : 316, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "31353039393431353232", "sig" : "304502210081a3b09e2e8fdfa6ea9f8ce81250a16db7eb94567dd6482c0cb1787577bb01dd02207bc1e498ea75a31f439c73c369698f83d4bb8b45dc57a10938a9eef3b53be8c9", "result" : "valid" }, { "tcId" : 317, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "373932323430313639", "sig" : "30460221009be6922c80f4eb939cbf1151d84d139240049ae3b264c08c2c2c5d080c93aa0a0221008f6a1f821fef59e3f263d058b109e997e506488733e6c029a6733cbec4953083", "result" : "valid" }, { "tcId" : 318, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "36343835373332363232", "sig" : "3046022100c8893d4e0c2a6382b5be0ffcfabe115f946cd94c48394ecc854c7b129cfed2b5022100bb0963ba40a336e1c96b0106a9b66e1276bee0be69d0ec0a06d637dedf6cfb6c", "result" : "valid" }, { "tcId" : 319, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "34323030333139303235", "sig" : "304502203df071facd684814f46a4bd6dc41a0d3db09f0acd401dc5ade39cde5a46aad5602210097ed408c1714447ea01ebc7331120962c851672ac0c9b35af4efaf24139d17f3", "result" : "valid" }, { "tcId" : 320, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "31313031323032313732", "sig" : "304502204b536e696679845dce007b4858059117f12442e61ab2ee686ce0671911065dfc022100a85364193e2b4c38f32590b4f58b97e10b058ed6e28d024ad4a43c3826dc6f5d", "result" : "valid" }, { "tcId" : 321, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "31363830343631373331", "sig" : "304502206aebef9dbebe4f5745008f8435a1b21dd441ad1ccfa5e1131abf3c8fe0c5589a022100f32160a7e3d4995070f452dc9f23fb368088942f04cfe22f8473dd45d64582ba", "result" : "valid" }, { "tcId" : 322, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "3433333030373131", "sig" : "304602210080de974fa0b2f3a83831c63a92ddfca2c59fbee7dc3eb82cee382472e6945be60221008e86a325e53108bf01c708cee785a92b1efe151fa4f75567b3b7c1c52cf0b3d4", "result" : "valid" }, { "tcId" : 323, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "35343130383731383131", "sig" : "3045022100988ecc79d37e75726e94c302a5a12c1cfe49834259ad0d8c79d1fcb7a49fe46302201e4b6fcd3430992a0bf7f3c5318b22b2f720088e5e7bda58fd7cf773c5d77f58", "result" : "valid" }, { "tcId" : 324, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "34393935363839393432", "sig" : "304502200279e866ca9c66b57fed0193849bafa99cf560d96a6ba38436f714609922eb23022100ee4c40a66e002d6657dc564bdab220129744fb4f648b544e82dfbb767e65c064", "result" : "valid" }, { "tcId" : 325, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "31333535303737393735", "sig" : "304402205251c52efcb88c87974e3205c967ab7c97ed41876983b9a0de0c6b3bcd69c904022015e0ddc1050093675779f98e0823c158c70cdab8b5c57f7baff7b574ea3d750c", "result" : "valid" }, { "tcId" : 326, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "3637383237343235353934", "sig" : "304402205e1b216a11bbf43d3cc9d7d93e785cc8db351a6b54f2d945fa97ef64d3b4edcc02200129cdc7f0c91d2e497b8c19a2b991f3fad5106be2719294d17855d1360c5fc6", "result" : "valid" }, { "tcId" : 327, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "32333230353830363930", "sig" : "304402200df9728366a4adabc9c96f8cdced07bc598b469dc6d5e1aa6261580817cb97bc02200df32273587337376974e7bcc277ac7da660c9d3ca9e9cf54a83b4f8e1c678f3", "result" : "valid" }, { "tcId" : 328, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "31383536333035303638", "sig" : "3046022100a1303a895da85a0182360ec165655bb96ef8867319b23dc2bd3629106fe105c5022100f852417fb98c526424f0472c64ad086695f266a913a71bda286bc438aaf44b24", "result" : "valid" }, { "tcId" : 329, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "37303836313032363437", "sig" : "304402205324235887b2e2a96b8110aae3b489dc8b4221c0c46dcc773a8969237fe981aa0220499272a542b95cc6ac9ef078be0d91ecd7352120fd2b25ec7eff32da3e38a117", "result" : "valid" }, { "tcId" : 330, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "31383133383135343839", "sig" : "3045022100f97cbdb23a85a25f75f3920e355d98b20bd288c855c9cb8a131631c576d1edf7022068341b2a24524d43a401762d4ef83afe1ea83a1afb7e0f7f2aee32b8778ece51", "result" : "valid" }, { "tcId" : 331, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "31353133303032323331", "sig" : "304602210090cb5260458a3026f27f69fdca586592efae63ec0d602eec6a551c15c653a6b4022100c28ddfcd0688112f7e2b08fd24310992e08c1511b4d79870bc8d25e19abfd5d5", "result" : "valid" }, { "tcId" : 332, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "33393333383130313533", "sig" : "3045022036b3ef8a9ef512c512094e7f581627558d69d5ffabe34dcb2f35915ab052952c0221009f40395cee2a41a57a80ce02da1d2bf768a973414a60dadd5cffdc5f2ac50084", "result" : "valid" }, { "tcId" : 333, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "32333035363037343230", "sig" : "3046022100fe34fb4b80361468d52db63c0134e545e992f15fc6f33c619405a1a4127985d8022100d6945c661a91d9b971d1405176f41b621e0c85faeaf29051147096e53b6f2926", "result" : "valid" }, { "tcId" : 334, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "3633373635373930323234", "sig" : "304502202d3c8cc7833d857a9fe838d210ba0bb1ce39eb4abc274cbe87ee26eaffb3c22f022100ddfb2b549dbda50511813b4a6937a31c1ef793696bc0188918c67841ad949bfd", "result" : "valid" }, { "tcId" : 335, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "393139303435363730", "sig" : "304502205b26c1c1390b86245524b47a41a6aa02a3b4e7083bb897cea118ef57be04b7e9022100baeae0daee544f2a64c378b88cec24e885a9e961d25893ee5995dd786294352b", "result" : "valid" }, { "tcId" : 336, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "33343536303739363233", "sig" : "3045022079009b9d5fb816ff2905e4c722498cc3b0d1363d0f9f96a5eecc80a201e604d4022100a01df4da7df2e64f2dcdec96a651e0afb7425f796981ea8ba924f4f371e2e38a", "result" : "valid" }, { "tcId" : 337, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "32373837373735323437", "sig" : "30460221009e615d419921e6e1658801617a8ae90982f8ea5e968aadb5c066ae8d1746189c02210086d0289aa3298907e6f4bd60161417c943a80aef7c307a138084d6dc22a6459d", "result" : "valid" }, { "tcId" : 338, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "33333031393735303837", "sig" : "3045022100b9827c4706286c0785cd73837b4a402d94ade4434634b4f1ddf5fc1bc0e5f43802205d3ac05fbe39e1f1854051e301e6f6013d63d8a085aaf25c23bfc342be224f53", "result" : "valid" }, { "tcId" : 339, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "32353138323633323336", "sig" : "30440220535ee4234e5258b6acbda2b9d729c1a39a22b76283cbbc8fd34991a272e7d6cd02205abe3d641535360c3c171a0e979af479b8e8b60335f60f1727f069b17ee8163d", "result" : "valid" }, { "tcId" : 340, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "363637363730363435", "sig" : "304502205ace47dcd26d19587a434172d28d705ad4ed9bbea1adfe77ded0bf14e5985886022100c58c9a1e6fd2e141ff44700c2e53532c87416fe91ae205b846b9e8011d0fe266", "result" : "valid" }, { "tcId" : 341, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "31313733313630343337", "sig" : "30460221009c956330950c791bbc3d107251d69060e4fef1b981765843701826ca365f9ae1022100f552414d567095f578e63500e43c071ca05ed5a1cc19e309b0e5d69bad607d4f", "result" : "valid" }, { "tcId" : 342, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "36313831353839313035", "sig" : "3046022100afaa26ce555b2e064fdd2a855a53f26edb0b350603bfd1c52d8a997323dbd3d3022100fff256def012c301fd27feb5ad59b92be8256f7656f9326b13f20bcc66c809f9", "result" : "valid" }, { "tcId" : 343, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "32313233363236363536", "sig" : "3045022100a61c8900d5beb4183214277e3ebdf6927d32c7548654c0aa29e198d231a006780220703140faeea583b1c082e79f6e9aee8a441451c3e62b948c7a48f38d75a7ec7f", "result" : "valid" }, { "tcId" : 344, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "31303134343435353535", "sig" : "30460221009af787ef619df101e5dc9f5f842be65232d607d0d906f336416f66727f062936022100e82f566c0f27de224c4d3c108cb61cee43cb1ae1e381b31d9ef3daae76d68995", "result" : "valid" }, { "tcId" : 345, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "31383030393034353338", "sig" : "3046022100c8953659bf42f59b3e78f5aa2f775af4906300b47ae2d1423d31e42f3d644950022100990d8179708663f347767589b6adf0f4cf0867bdd693bd9c897e85ef0846dbca", "result" : "valid" }, { "tcId" : 346, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "353034313630343138", "sig" : "3044022068fad9947e3eab4d8d40c11882d11c2880fc902e4263598233129ef847d41cb802207eae5b72063b559c74cd2da77ca343e94a820dccc692d927a4c4f932d417a00e", "result" : "valid" }, { "tcId" : 347, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "35363834303939333836", "sig" : "3046022100d6a71988b8bde18da9a607a3f8df1b84b30a6cbba5ce224b061d1357f7deef28022100bee2b21872793d070fd833038684c0f32cd3d7e6af14052ced3398fb375ad950", "result" : "valid" }, { "tcId" : 348, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "37303931393134373137", "sig" : "304502204d5c0b2a4857683a70ef0ea67efb1bbfd9ef0a7ffce8c4a2eb01f87f423a2355022100868215166c2de94094e4e62b60f02c642a09079cf483185acb79af0cda5caccb", "result" : "valid" }, { "tcId" : 349, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "36383730353736323136", "sig" : "3045022100cc3072c0131a85e4dc60f0b8c08fec74273b49ef474b16ae570da90548348d04022040b11832aaa086527ee906e87259d3ed0d9329e01a3e0cbc5a27f19130384ebd", "result" : "valid" }, { "tcId" : 350, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "33353130383339363937", "sig" : "3045022005eab12895bbdd0391c6857afd7349a9ec2b6cc8a6a3f01437a887ed667266fb022100f09a124aa7adeca139b5d8674f4ca5c623330c45baadc15a4e5d1bf120e5c3e7", "result" : "valid" }, { "tcId" : 351, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "32343937383635313830", "sig" : "304502205a35b3f791597d0dd91b477bd86312edfae483dffb26ab84164376f8bda710d2022100bfeb6a441109bb9bbb2c0dfa0797fc753ffec2c2921f0b37575da2727b3a7310", "result" : "valid" }, { "tcId" : 352, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "3135323237383238323639", "sig" : "30440220134e483dc02c0e276daf7f6ffacc329aa95a729734580843f92166c31a27aebc02206866d389465e6372865ab9609c98fec3adea2cd3f88e7f236b3f77b3e938bebd", "result" : "valid" }, { "tcId" : 353, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "33363437363930313730", "sig" : "3045022100e6e622de9392cc7c57bc08d7c63bb4da5d977ec788c3af532d3bdc469ef7708702202e78c77fe8a5e440862931732790f842ee868db1aefd381a3b094a5f7f417257", "result" : "valid" }, { "tcId" : 354, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "3130323131353335373237", "sig" : "3046022100e551750a251d1a5a45cf6f8f29823ceefae8596e303dd1a76055bd9e22814cab022100ee8c118fd34688722bd1e105345eaee90c09bcbe9c974faa371a2e0f93f77fef", "result" : "valid" }, { "tcId" : 355, "comment" : "special case hash", "flags" : [ "SpecialCaseHash" ], "msg" : "34373430353737333639", "sig" : "3045022064e843fc479c64627faeab62bd5d6a8ca12778898e20dc083bac4ed2193f5f21022100cb611bee1382108c1bb9ec3584a631017a1bbb133c95b5ad8d6a9053a09c4c1d", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0480aa402fecc05b5636340343697323f2c9732d9ec0960b3173126bdbe0c9d19d8d7591ac5a169a973573b25510603719111aa742664d29cc216ea6f76a335ef9", "wx" : "0080aa402fecc05b5636340343697323f2c9732d9ec0960b3173126bdbe0c9d19d", "wy" : "008d7591ac5a169a973573b25510603719111aa742664d29cc216ea6f76a335ef9" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000480aa402fecc05b5636340343697323f2c9732d9ec0960b3173126bdbe0c9d19d8d7591ac5a169a973573b25510603719111aa742664d29cc216ea6f76a335ef9", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEgKpAL+zAW1Y2NANDaXMj8slzLZ7A\nlgsxcxJr2+DJ0Z2NdZGsWhaalzVzslUQYDcZERqnQmZNKcwhbqb3ajNe+Q==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 356, "comment" : "k*G has a large x-coordinate", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "303502104319055358e8617b0c46353d039cdaab022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e", "result" : "valid" }, { "tcId" : 357, "comment" : "r too large", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000001000000000000000000000000fffffffffffffffffffffffc022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e", "result" : "invalid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04e288c4d91b30c9f68444b5540fa7ece88cdbd3ee7156611d96439379e2dfd887d7ed7ab18028d5f933792e2143386de226af0c770267e0b07fc99694d3792d59", "wx" : "00e288c4d91b30c9f68444b5540fa7ece88cdbd3ee7156611d96439379e2dfd887", "wy" : "00d7ed7ab18028d5f933792e2143386de226af0c770267e0b07fc99694d3792d59" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004e288c4d91b30c9f68444b5540fa7ece88cdbd3ee7156611d96439379e2dfd887d7ed7ab18028d5f933792e2143386de226af0c770267e0b07fc99694d3792d59", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE4ojE2RswyfaERLVUD6fs6Izb0+5x\nVmEdlkOTeeLf2IfX7XqxgCjV+TN5LiFDOG3iJq8MdwJn4LB/yZaU03ktWQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 358, "comment" : "r,s are large", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254f022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04942228f377722ecd6a075cd0103b36e54b7278671e7bc923d6c83cfb3984ad972fbeb955ec6aa13ce61436b74e8d9ba0fc999c9c2c6456f37cbe5d9b065e58df", "wx" : "00942228f377722ecd6a075cd0103b36e54b7278671e7bc923d6c83cfb3984ad97", "wy" : "2fbeb955ec6aa13ce61436b74e8d9ba0fc999c9c2c6456f37cbe5d9b065e58df" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004942228f377722ecd6a075cd0103b36e54b7278671e7bc923d6c83cfb3984ad972fbeb955ec6aa13ce61436b74e8d9ba0fc999c9c2c6456f37cbe5d9b065e58df", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAElCIo83dyLs1qB1zQEDs25UtyeGce\ne8kj1sg8+zmErZcvvrlV7GqhPOYUNrdOjZug/JmcnCxkVvN8vl2bBl5Y3w==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 359, "comment" : "r and s^-1 have a large Hamming weight", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100909135bdb6799286170f5ead2de4f6511453fe50914f3df2de54a36383df8dd4", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0442388ba2dce4e130f7e1c1d4ca903c9be282ef601ec41eb69a8044d177a58eabe057ec74a483a233bb96a7ef7785dd8ce8c4278d182f59a1ec125453e9d7ca68", "wx" : "42388ba2dce4e130f7e1c1d4ca903c9be282ef601ec41eb69a8044d177a58eab", "wy" : "00e057ec74a483a233bb96a7ef7785dd8ce8c4278d182f59a1ec125453e9d7ca68" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000442388ba2dce4e130f7e1c1d4ca903c9be282ef601ec41eb69a8044d177a58eabe057ec74a483a233bb96a7ef7785dd8ce8c4278d182f59a1ec125453e9d7ca68", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEQjiLotzk4TD34cHUypA8m+KC72Ae\nxB62moBE0XeljqvgV+x0pIOiM7uWp+93hd2M6MQnjRgvWaHsElRT6dfKaA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 360, "comment" : "r and s^-1 have a large Hamming weight", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022027b4577ca009376f71303fd5dd227dcef5deb773ad5f5a84360644669ca249a5", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "048c28e9256f2199089299a8c95bcd2539e7120445df1a3602ebcab1268750461cd4da391c405cf4d10f03f205283ee60e88fb0d66865f1611eca7b3f068282961", "wx" : "008c28e9256f2199089299a8c95bcd2539e7120445df1a3602ebcab1268750461c", "wy" : "00d4da391c405cf4d10f03f205283ee60e88fb0d66865f1611eca7b3f068282961" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200048c28e9256f2199089299a8c95bcd2539e7120445df1a3602ebcab1268750461cd4da391c405cf4d10f03f205283ee60e88fb0d66865f1611eca7b3f068282961", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEjCjpJW8hmQiSmajJW80lOecSBEXf\nGjYC68qxJodQRhzU2jkcQFz00Q8D8gUoPuYOiPsNZoZfFhHsp7PwaCgpYQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 361, "comment" : "small r and s", "flags" : [ "SmallRandS", "ArithmeticError" ], "msg" : "313233343030", "sig" : "3006020105020101", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04f9016febe70b65d23d9cfc05e0f554c9dddcd4b92cf32d43dbeaaaa52005c382baf850673248086ce2e4ce2df6720db7363401a9d8be583e4274267920e3796a", "wx" : "00f9016febe70b65d23d9cfc05e0f554c9dddcd4b92cf32d43dbeaaaa52005c382", "wy" : "00baf850673248086ce2e4ce2df6720db7363401a9d8be583e4274267920e3796a" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004f9016febe70b65d23d9cfc05e0f554c9dddcd4b92cf32d43dbeaaaa52005c382baf850673248086ce2e4ce2df6720db7363401a9d8be583e4274267920e3796a", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE+QFv6+cLZdI9nPwF4PVUyd3c1Lks\n8y1D2+qqpSAFw4K6+FBnMkgIbOLkzi32cg23NjQBqdi+WD5CdCZ5ION5ag==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 362, "comment" : "small r and s", "flags" : [ "SmallRandS", "ArithmeticError" ], "msg" : "313233343030", "sig" : "3006020105020103", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "040923da921ba437a4771d58927dd2394fae88f883bedc709b2930ed249b37c77c8f9d7b19ed87ce1ecdd46e82371ae7c28768fd8af82c904e6d9cf5312d4c6832", "wx" : "0923da921ba437a4771d58927dd2394fae88f883bedc709b2930ed249b37c77c", "wy" : "008f9d7b19ed87ce1ecdd46e82371ae7c28768fd8af82c904e6d9cf5312d4c6832" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200040923da921ba437a4771d58927dd2394fae88f883bedc709b2930ed249b37c77c8f9d7b19ed87ce1ecdd46e82371ae7c28768fd8af82c904e6d9cf5312d4c6832", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAECSPakhukN6R3HViSfdI5T66I+IO+\n3HCbKTDtJJs3x3yPnXsZ7YfOHs3UboI3GufCh2j9ivgskE5tnPUxLUxoMg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 363, "comment" : "small r and s", "flags" : [ "SmallRandS", "ArithmeticError" ], "msg" : "313233343030", "sig" : "3006020105020105", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "041193105b0a487198b87933a0563cdca45100f9be6a0ba1d2f382c98363de6b9c0ff42999106dd5eedcde353ec5aba38738ce9ad72dcc6b9b2f6fdd007df4ab04", "wx" : "1193105b0a487198b87933a0563cdca45100f9be6a0ba1d2f382c98363de6b9c", "wy" : "0ff42999106dd5eedcde353ec5aba38738ce9ad72dcc6b9b2f6fdd007df4ab04" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200041193105b0a487198b87933a0563cdca45100f9be6a0ba1d2f382c98363de6b9c0ff42999106dd5eedcde353ec5aba38738ce9ad72dcc6b9b2f6fdd007df4ab04", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEEZMQWwpIcZi4eTOgVjzcpFEA+b5q\nC6HS84LJg2Pea5wP9CmZEG3V7tzeNT7Fq6OHOM6a1y3Ma5svb90AffSrBA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 364, "comment" : "small r and s", "flags" : [ "SmallRandS", "ArithmeticError" ], "msg" : "313233343030", "sig" : "3006020105020106", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04ac5f8445ada2cbd139e27eb8597ac1e45e7b20389ca6af714ce4840d9fb1b7ec83524d62c793430c9e49716c9d07c12e08d47a7a0315919c163d47c796f513d7", "wx" : "00ac5f8445ada2cbd139e27eb8597ac1e45e7b20389ca6af714ce4840d9fb1b7ec", "wy" : "0083524d62c793430c9e49716c9d07c12e08d47a7a0315919c163d47c796f513d7" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ac5f8445ada2cbd139e27eb8597ac1e45e7b20389ca6af714ce4840d9fb1b7ec83524d62c793430c9e49716c9d07c12e08d47a7a0315919c163d47c796f513d7", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAErF+ERa2iy9E54n64WXrB5F57IDic\npq9xTOSEDZ+xt+yDUk1ix5NDDJ5JcWydB8EuCNR6egMVkZwWPUfHlvUT1w==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 365, "comment" : "small r and s", "flags" : [ "SmallRandS", "ArithmeticError" ], "msg" : "313233343030", "sig" : "3006020106020101", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0447d3fa91711891c4b46bd24eb5c3156b6704ceda2188e5936e2491657946cf224a41652d81d9a4965713cb9f89bdc671a4ab52577c4a07f100daa079dc64496b", "wx" : "47d3fa91711891c4b46bd24eb5c3156b6704ceda2188e5936e2491657946cf22", "wy" : "4a41652d81d9a4965713cb9f89bdc671a4ab52577c4a07f100daa079dc64496b" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000447d3fa91711891c4b46bd24eb5c3156b6704ceda2188e5936e2491657946cf224a41652d81d9a4965713cb9f89bdc671a4ab52577c4a07f100daa079dc64496b", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAER9P6kXEYkcS0a9JOtcMVa2cEztoh\niOWTbiSRZXlGzyJKQWUtgdmkllcTy5+JvcZxpKtSV3xKB/EA2qB53GRJaw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 366, "comment" : "small r and s", "flags" : [ "SmallRandS", "ArithmeticError" ], "msg" : "313233343030", "sig" : "3006020106020103", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04f6633b5bcfdf24276d3eb2820fceee02965276908edc27fc44b0d6792e0808f6d24cfd5428cd8fdb131c7f35bca9a95fb965242125eac2371e8a42edb8240f19", "wx" : "00f6633b5bcfdf24276d3eb2820fceee02965276908edc27fc44b0d6792e0808f6", "wy" : "00d24cfd5428cd8fdb131c7f35bca9a95fb965242125eac2371e8a42edb8240f19" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004f6633b5bcfdf24276d3eb2820fceee02965276908edc27fc44b0d6792e0808f6d24cfd5428cd8fdb131c7f35bca9a95fb965242125eac2371e8a42edb8240f19", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE9mM7W8/fJCdtPrKCD87uApZSdpCO\n3Cf8RLDWeS4ICPbSTP1UKM2P2xMcfzW8qalfuWUkISXqwjceikLtuCQPGQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 367, "comment" : "small r and s", "flags" : [ "SmallRandS", "ArithmeticError" ], "msg" : "313233343030", "sig" : "3006020106020106", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04778f037c06940cc00862938db175b7cc8ab088f2f3e053194818859db44d823288bd5a57cbd5707546455d4865b3dd8ea8098e1e33b524010327ff7dfa4c4153", "wx" : "778f037c06940cc00862938db175b7cc8ab088f2f3e053194818859db44d8232", "wy" : "0088bd5a57cbd5707546455d4865b3dd8ea8098e1e33b524010327ff7dfa4c4153" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004778f037c06940cc00862938db175b7cc8ab088f2f3e053194818859db44d823288bd5a57cbd5707546455d4865b3dd8ea8098e1e33b524010327ff7dfa4c4153", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEd48DfAaUDMAIYpONsXW3zIqwiPLz\n4FMZSBiFnbRNgjKIvVpXy9VwdUZFXUhls92OqAmOHjO1JAEDJ/99+kxBUw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 368, "comment" : "small r and s", "flags" : [ "SmallRandS", "ArithmeticError" ], "msg" : "313233343030", "sig" : "3006020106020107", "result" : "valid" }, { "tcId" : 369, "comment" : "r is larger than n", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632557020107", "result" : "invalid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04fefff7fa3bd4b9c30194f24e858fff50d7e232848059ae74261b831d516b645a3bafbc4249b3612fa2e4e6e7297e3e3bc6d104bb6da180720f5724c847a5661f", "wx" : "00fefff7fa3bd4b9c30194f24e858fff50d7e232848059ae74261b831d516b645a", "wy" : "3bafbc4249b3612fa2e4e6e7297e3e3bc6d104bb6da180720f5724c847a5661f" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004fefff7fa3bd4b9c30194f24e858fff50d7e232848059ae74261b831d516b645a3bafbc4249b3612fa2e4e6e7297e3e3bc6d104bb6da180720f5724c847a5661f", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE/v/3+jvUucMBlPJOhY//UNfiMoSA\nWa50JhuDHVFrZFo7r7xCSbNhL6Lk5ucpfj47xtEEu22hgHIPVyTIR6VmHw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 370, "comment" : "s is larger than n", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "3026020106022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc75fbd8", "result" : "invalid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04bbba23278b30e37f2116381e947e0fd380824ffff4b2ae55893c1be2ff31239d560aea2726d4d786e7b4b59470e8dd793d6b69ebe3c5daa355d3e74e8a301b6b", "wx" : "00bbba23278b30e37f2116381e947e0fd380824ffff4b2ae55893c1be2ff31239d", "wy" : "560aea2726d4d786e7b4b59470e8dd793d6b69ebe3c5daa355d3e74e8a301b6b" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004bbba23278b30e37f2116381e947e0fd380824ffff4b2ae55893c1be2ff31239d560aea2726d4d786e7b4b59470e8dd793d6b69ebe3c5daa355d3e74e8a301b6b", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEu7ojJ4sw438hFjgelH4P04CCT//0\nsq5ViTwb4v8xI51WCuonJtTXhue0tZRw6N15PWtp6+PF2qNV0+dOijAbaw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 371, "comment" : "small r and s^-1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "3027020201000221008f1e3c7862c58b16bb76eddbb76eddbb516af4f63f2d74d76e0d28c9bb75ea88", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "048786ef868062f1ecb031a2b29ab45f81bf312ceaa30eae651114d153de4376b4515e6988fb089f8ce4f7b2b2a295b19c25e2b60a0110d910b188cfbd89c57375", "wx" : "008786ef868062f1ecb031a2b29ab45f81bf312ceaa30eae651114d153de4376b4", "wy" : "515e6988fb089f8ce4f7b2b2a295b19c25e2b60a0110d910b188cfbd89c57375" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200048786ef868062f1ecb031a2b29ab45f81bf312ceaa30eae651114d153de4376b4515e6988fb089f8ce4f7b2b2a295b19c25e2b60a0110d910b188cfbd89c57375", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEh4bvhoBi8eywMaKymrRfgb8xLOqj\nDq5lERTRU95DdrRRXmmI+wifjOT3srKilbGcJeK2CgEQ2RCxiM+9icVzdQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 372, "comment" : "smallish r and s^-1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "302c02072d9b4d347952d6022100ef3043e7329581dbb3974497710ab11505ee1c87ff907beebadd195a0ffe6d7a", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "048e0de85e60862fc570f9617a60ac70a2d629acbf28bddb19bd1582e75fd822f6f521b0e4f45624d754605288792c326c630d48c07a547fa64b35b76f36d57296", "wx" : "008e0de85e60862fc570f9617a60ac70a2d629acbf28bddb19bd1582e75fd822f6", "wy" : "00f521b0e4f45624d754605288792c326c630d48c07a547fa64b35b76f36d57296" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200048e0de85e60862fc570f9617a60ac70a2d629acbf28bddb19bd1582e75fd822f6f521b0e4f45624d754605288792c326c630d48c07a547fa64b35b76f36d57296", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEjg3oXmCGL8Vw+WF6YKxwotYprL8o\nvdsZvRWC51/YIvb1IbDk9FYk11RgUoh5LDJsYw1IwHpUf6ZLNbdvNtVylg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 373, "comment" : "100-bit r and small s^-1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "3032020d1033e67e37b32b445580bf4eff0221008b748b74000000008b748b748b748b7466e769ad4a16d3dcd87129b8e91d1b4d", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "042ccb8af503030de7c995cd1fbc0354f842f7edbdb5134158c6a367217f39f6aee4d5238b791d41b84e7fdfe0cc26c3c4786e23d1f4ba9839b1cdf89cd2845016", "wx" : "2ccb8af503030de7c995cd1fbc0354f842f7edbdb5134158c6a367217f39f6ae", "wy" : "00e4d5238b791d41b84e7fdfe0cc26c3c4786e23d1f4ba9839b1cdf89cd2845016" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042ccb8af503030de7c995cd1fbc0354f842f7edbdb5134158c6a367217f39f6aee4d5238b791d41b84e7fdfe0cc26c3c4786e23d1f4ba9839b1cdf89cd2845016", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELMuK9QMDDefJlc0fvANU+EL37b21\nE0FYxqNnIX859q7k1SOLeR1BuE5/3+DMJsPEeG4j0fS6mDmxzfic0oRQFg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 374, "comment" : "small r and 100 bit s^-1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "302702020100022100ef9f6ba4d97c09d03178fa20b4aaad83be3cf9cb824a879fec3270fc4b81ef5b", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04e312b9ee07e51111c50f97a0dd41d3d5bea73aa21e20cb13b966a30ec02d7350c91576df7716693a9b3c5fad5958e457890e62fc4521f4124d59d9eae7e810a4", "wx" : "00e312b9ee07e51111c50f97a0dd41d3d5bea73aa21e20cb13b966a30ec02d7350", "wy" : "00c91576df7716693a9b3c5fad5958e457890e62fc4521f4124d59d9eae7e810a4" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004e312b9ee07e51111c50f97a0dd41d3d5bea73aa21e20cb13b966a30ec02d7350c91576df7716693a9b3c5fad5958e457890e62fc4521f4124d59d9eae7e810a4", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE4xK57gflERHFD5eg3UHT1b6nOqIe\nIMsTuWajDsAtc1DJFXbfdxZpOps8X61ZWORXiQ5i/EUh9BJNWdnq5+gQpA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 375, "comment" : "100-bit r and s^-1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "3032020d062522bbd3ecbe7c39e93e7c25022100ef9f6ba4d97c09d03178fa20b4aaad83be3cf9cb824a879fec3270fc4b81ef5b", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04966f1bf3fba6edb3c3896dcd93eb0ec62041af573ec45599861f29a283fc00ff59ec50c610367f524af50419a40b2c2345a8c8a619b54302d6f9f5a407c94489", "wx" : "00966f1bf3fba6edb3c3896dcd93eb0ec62041af573ec45599861f29a283fc00ff", "wy" : "59ec50c610367f524af50419a40b2c2345a8c8a619b54302d6f9f5a407c94489" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004966f1bf3fba6edb3c3896dcd93eb0ec62041af573ec45599861f29a283fc00ff59ec50c610367f524af50419a40b2c2345a8c8a619b54302d6f9f5a407c94489", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAElm8b8/um7bPDiW3Nk+sOxiBBr1c+\nxFWZhh8pooP8AP9Z7FDGEDZ/Ukr1BBmkCywjRajIphm1QwLW+fWkB8lEiQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 376, "comment" : "r and s^-1 are close to n", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "3045022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6324d50220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04928450fd3c8811b2c3ece711f788a4147428c0c0610061a580d5a8db735753216277925433e19d3e93ab3faaf5ea135b0260ea91da0dfade8aefd52a70c7bb2b", "wx" : "00928450fd3c8811b2c3ece711f788a4147428c0c0610061a580d5a8db73575321", "wy" : "6277925433e19d3e93ab3faaf5ea135b0260ea91da0dfade8aefd52a70c7bb2b" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004928450fd3c8811b2c3ece711f788a4147428c0c0610061a580d5a8db735753216277925433e19d3e93ab3faaf5ea135b0260ea91da0dfade8aefd52a70c7bb2b", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEkoRQ/TyIEbLD7OcR94ikFHQowMBh\nAGGlgNWo23NXUyFid5JUM+GdPpOrP6r16hNbAmDqkdoN+t6K79UqcMe7Kw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 377, "comment" : "r and s are 64-bit integer", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "30160209009c44febf31c3594f020900839ed28247c2b06b", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0466fc4ea58d88b0f1b0970422610b86ff106e81fe751c81a49e36c467268727137c9e8243316d1e14cb1b9482d78574db571aa8ae5ccc879eee6d63f203150798", "wx" : "66fc4ea58d88b0f1b0970422610b86ff106e81fe751c81a49e36c46726872713", "wy" : "7c9e8243316d1e14cb1b9482d78574db571aa8ae5ccc879eee6d63f203150798" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000466fc4ea58d88b0f1b0970422610b86ff106e81fe751c81a49e36c467268727137c9e8243316d1e14cb1b9482d78574db571aa8ae5ccc879eee6d63f203150798", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEZvxOpY2IsPGwlwQiYQuG/xBugf51\nHIGknjbEZyaHJxN8noJDMW0eFMsblILXhXTbVxqorlzMh57ubWPyAxUHmA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 378, "comment" : "r and s are 100-bit integer", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "301e020d09df8b682430beef6f5fd7c7cd020d0fd0a62e13778f4222a0d61c8a", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "046da41cc2ee26bf3033be11bbb22cdd93acb702375bb1c8efc6e45a90cedb5fc205bbee060e2a3ba61b50fa0d5a396356c623fd45ce3f32193b4abf4e806e23b1", "wx" : "6da41cc2ee26bf3033be11bbb22cdd93acb702375bb1c8efc6e45a90cedb5fc2", "wy" : "05bbee060e2a3ba61b50fa0d5a396356c623fd45ce3f32193b4abf4e806e23b1" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046da41cc2ee26bf3033be11bbb22cdd93acb702375bb1c8efc6e45a90cedb5fc205bbee060e2a3ba61b50fa0d5a396356c623fd45ce3f32193b4abf4e806e23b1", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEbaQcwu4mvzAzvhG7sizdk6y3Ajdb\nscjvxuRakM7bX8IFu+4GDio7phtQ+g1aOWNWxiP9Rc4/Mhk7Sr9OgG4jsQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 379, "comment" : "r and s are 128-bit integer", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "30260211008a598e563a89f526c32ebec8de26367c02110084f633e2042630e99dd0f1e16f7a04bf", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "041502c335a346560b15ca8a8124acd729cb425850e7e4aaacd6b489cd828800ab003b22fef3fb9bdbc1954fec0b0a4d62725b89b740685506abd0b642cfecb7cf", "wx" : "1502c335a346560b15ca8a8124acd729cb425850e7e4aaacd6b489cd828800ab", "wy" : "3b22fef3fb9bdbc1954fec0b0a4d62725b89b740685506abd0b642cfecb7cf" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200041502c335a346560b15ca8a8124acd729cb425850e7e4aaacd6b489cd828800ab003b22fef3fb9bdbc1954fec0b0a4d62725b89b740685506abd0b642cfecb7cf", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEFQLDNaNGVgsVyoqBJKzXKctCWFDn\n5Kqs1rSJzYKIAKsAOyL+8/ub28GVT+wLCk1icluJt0BoVQar0LZCz+y3zw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 380, "comment" : "r and s are 160-bit integer", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "302e021500aa6eeb5823f7fa31b466bb473797f0d0314c0bdf021500e2977c479e6d25703cebbc6bd561938cc9d1bfb9", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0485f3c669f111a54f40c2dd528e129b6b4e0c0c4f09b4502d09171114fb3d7639deb8ee9ef31deaa4feb0a21d73db43a6de5499e4ffcaca0d8dcb0c753815e98a", "wx" : "0085f3c669f111a54f40c2dd528e129b6b4e0c0c4f09b4502d09171114fb3d7639", "wy" : "00deb8ee9ef31deaa4feb0a21d73db43a6de5499e4ffcaca0d8dcb0c753815e98a" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000485f3c669f111a54f40c2dd528e129b6b4e0c0c4f09b4502d09171114fb3d7639deb8ee9ef31deaa4feb0a21d73db43a6de5499e4ffcaca0d8dcb0c753815e98a", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhfPGafERpU9Awt1SjhKba04MDE8J\ntFAtCRcRFPs9djneuO6e8x3qpP6woh1z20Om3lSZ5P/Kyg2Nywx1OBXpig==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 381, "comment" : "s == 1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "30250220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70020101", "result" : "valid" }, { "tcId" : 382, "comment" : "s == 0", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "30250220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70020100", "result" : "invalid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04d1436f72104502786ef4b2a716190a2f477fa8202347fd14b6810a17c302d8a8fcdc68dba4bfbb5ca6c08e218ba77d1c9fdd142d098ce79543902474fb809786", "wx" : "00d1436f72104502786ef4b2a716190a2f477fa8202347fd14b6810a17c302d8a8", "wy" : "00fcdc68dba4bfbb5ca6c08e218ba77d1c9fdd142d098ce79543902474fb809786" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d1436f72104502786ef4b2a716190a2f477fa8202347fd14b6810a17c302d8a8fcdc68dba4bfbb5ca6c08e218ba77d1c9fdd142d098ce79543902474fb809786", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE0UNvchBFAnhu9LKnFhkKL0d/qCAj\nR/0UtoEKF8MC2Kj83GjbpL+7XKbAjiGLp30cn90ULQmM55VDkCR0+4CXhg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 383, "comment" : "edge case modular inverse", "flags" : [ "ModularInverse", "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022002f676969f451a8ccafa4c4f09791810e6d632dbd60b1d5540f3284fbe1889b0", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04b2fd81b934effea36f2fc6489633588cf09ab022d057fd1b44066eec1f60e4b8d5505fbf9f2840d04c6b6b6726ed066fe218dd0a53f28818510ad95d31244867", "wx" : "00b2fd81b934effea36f2fc6489633588cf09ab022d057fd1b44066eec1f60e4b8", "wy" : "00d5505fbf9f2840d04c6b6b6726ed066fe218dd0a53f28818510ad95d31244867" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004b2fd81b934effea36f2fc6489633588cf09ab022d057fd1b44066eec1f60e4b8d5505fbf9f2840d04c6b6b6726ed066fe218dd0a53f28818510ad95d31244867", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEsv2BuTTv/qNvL8ZIljNYjPCasCLQ\nV/0bRAZu7B9g5LjVUF+/nyhA0Exra2cm7QZv4hjdClPyiBhRCtldMSRIZw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 384, "comment" : "edge case modular inverse", "flags" : [ "ModularInverse", "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002204e260962e33362ef0046126d2d5a4edc6947ab20e19b8ec19cf79e5908b6e628", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04ed00874bc3d3d6eee601b49b0b202f7d8639f20b7f079e6bb209254788d4554657bf1988aa37e110201223ad8def27d277500ea0d36dd2c80599204c4ddb944a", "wx" : "00ed00874bc3d3d6eee601b49b0b202f7d8639f20b7f079e6bb209254788d45546", "wy" : "57bf1988aa37e110201223ad8def27d277500ea0d36dd2c80599204c4ddb944a" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ed00874bc3d3d6eee601b49b0b202f7d8639f20b7f079e6bb209254788d4554657bf1988aa37e110201223ad8def27d277500ea0d36dd2c80599204c4ddb944a", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE7QCHS8PT1u7mAbSbCyAvfYY58gt/\nB55rsgklR4jUVUZXvxmIqjfhECASI62N7yfSd1AOoNNt0sgFmSBMTduUSg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 385, "comment" : "edge case modular inverse", "flags" : [ "ModularInverse", "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220077ed0d8f20f697d8fc591ac64dd5219c7932122b4f9b9ec6441e44a0092cf21", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04e180e24f135ca6d9a6d837526e3bc848ec3d15efb02c2098cefdecf28f1d5575b8e7a020a477ad621b06365b21ef998ccf96a9d48292c1c5c5193108bc97d58b", "wx" : "00e180e24f135ca6d9a6d837526e3bc848ec3d15efb02c2098cefdecf28f1d5575", "wy" : "00b8e7a020a477ad621b06365b21ef998ccf96a9d48292c1c5c5193108bc97d58b" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004e180e24f135ca6d9a6d837526e3bc848ec3d15efb02c2098cefdecf28f1d5575b8e7a020a477ad621b06365b21ef998ccf96a9d48292c1c5c5193108bc97d58b", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE4YDiTxNcptmm2DdSbjvISOw9Fe+w\nLCCYzv3s8o8dVXW456AgpHetYhsGNlsh75mMz5ap1IKSwcXFGTEIvJfViw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 386, "comment" : "edge case modular inverse", "flags" : [ "ModularInverse", "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002203e0292a67e181c6c0105ee35e956e78e9bdd033c6e71ae57884039a245e4175f", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0476b702070b19c4d93f745af81ffd94c457ac1e2c15eb86e4030e6e218728091582ae06bd7779bfe13919d46493b3d0e8527710c661d1d79c7cb2d9b606beb651", "wx" : "76b702070b19c4d93f745af81ffd94c457ac1e2c15eb86e4030e6e2187280915", "wy" : "0082ae06bd7779bfe13919d46493b3d0e8527710c661d1d79c7cb2d9b606beb651" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000476b702070b19c4d93f745af81ffd94c457ac1e2c15eb86e4030e6e218728091582ae06bd7779bfe13919d46493b3d0e8527710c661d1d79c7cb2d9b606beb651", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdrcCBwsZxNk/dFr4H/2UxFesHiwV\n64bkAw5uIYcoCRWCrga9d3m/4TkZ1GSTs9DoUncQxmHR15x8stm2Br62UQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 387, "comment" : "edge case modular inverse", "flags" : [ "ModularInverse", "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022013d22b06d6b8f5d97e0c64962b4a3bae30f668ca6217ef5b35d799f159e23ebe", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04d449d43ccdbcea81de66fcd73e24db350a209dbcf5595a7abb03578ec1fd5bc17d80bbe9e82cf614a4a352ca6e95a6c99ed427dabe618ee49ff8ade53aec284f", "wx" : "00d449d43ccdbcea81de66fcd73e24db350a209dbcf5595a7abb03578ec1fd5bc1", "wy" : "7d80bbe9e82cf614a4a352ca6e95a6c99ed427dabe618ee49ff8ade53aec284f" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d449d43ccdbcea81de66fcd73e24db350a209dbcf5595a7abb03578ec1fd5bc17d80bbe9e82cf614a4a352ca6e95a6c99ed427dabe618ee49ff8ade53aec284f", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1EnUPM286oHeZvzXPiTbNQognbz1\nWVp6uwNXjsH9W8F9gLvp6Cz2FKSjUspulabJntQn2r5hjuSf+K3lOuwoTw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 388, "comment" : "edge case modular inverse", "flags" : [ "ModularInverse", "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002204523ce342e4994bb8968bf6613f60c06c86111f15a3a389309e72cd447d5dd99", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04933b0700ca5cf5172b9988ac7b89cd92a3a7e0f8c1f8a19f843ba7ac837e9f5188f6ffac3d5a24196e1e38632880326e1ed8c99cd4bf7efb36d2f3ef0ad4964c", "wx" : "00933b0700ca5cf5172b9988ac7b89cd92a3a7e0f8c1f8a19f843ba7ac837e9f51", "wy" : "0088f6ffac3d5a24196e1e38632880326e1ed8c99cd4bf7efb36d2f3ef0ad4964c" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004933b0700ca5cf5172b9988ac7b89cd92a3a7e0f8c1f8a19f843ba7ac837e9f5188f6ffac3d5a24196e1e38632880326e1ed8c99cd4bf7efb36d2f3ef0ad4964c", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEkzsHAMpc9RcrmYise4nNkqOn4PjB\n+KGfhDunrIN+n1GI9v+sPVokGW4eOGMogDJuHtjJnNS/fvs20vPvCtSWTA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 389, "comment" : "edge case modular inverse", "flags" : [ "ModularInverse", "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022037d765be3c9c78189ad30edb5097a4db670de11686d01420e37039d4677f4809", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "046676f2e5d9e299061d526a551f6e3278d63d4e59c376204b4f5f2ec956c00360e48887adaa46002c2d4fe04fb94837e35596d1d88f2100ea7803c701c5b155de", "wx" : "6676f2e5d9e299061d526a551f6e3278d63d4e59c376204b4f5f2ec956c00360", "wy" : "00e48887adaa46002c2d4fe04fb94837e35596d1d88f2100ea7803c701c5b155de" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046676f2e5d9e299061d526a551f6e3278d63d4e59c376204b4f5f2ec956c00360e48887adaa46002c2d4fe04fb94837e35596d1d88f2100ea7803c701c5b155de", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEZnby5dnimQYdUmpVH24yeNY9TlnD\ndiBLT18uyVbAA2DkiIetqkYALC1P4E+5SDfjVZbR2I8hAOp4A8cBxbFV3g==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 390, "comment" : "edge case modular inverse", "flags" : [ "ModularInverse", "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022044237823b54e0c74c2bf5f759d9ac5f8cb897d537ffa92effd4f0bb6c9acd860", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04e346defbb509b988fd69ce51b228dcb463db8ab5155e873d9dd2d3a1b0a8423aca0c71efaf978239a6801be58307a8e636dcff2bead0c5acb551dfeed63646f6", "wx" : "00e346defbb509b988fd69ce51b228dcb463db8ab5155e873d9dd2d3a1b0a8423a", "wy" : "00ca0c71efaf978239a6801be58307a8e636dcff2bead0c5acb551dfeed63646f6" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004e346defbb509b988fd69ce51b228dcb463db8ab5155e873d9dd2d3a1b0a8423aca0c71efaf978239a6801be58307a8e636dcff2bead0c5acb551dfeed63646f6", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE40be+7UJuYj9ac5RsijctGPbirUV\nXoc9ndLTobCoQjrKDHHvr5eCOaaAG+WDB6jmNtz/K+rQxay1Ud/u1jZG9g==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 391, "comment" : "edge case modular inverse", "flags" : [ "ModularInverse", "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220266d30a485385906054ca86d46f5f2b17e7f4646a3092092ad92877126538111", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "049206236515e97c83c9a03bfc32a5ec06d059869cdfe31a1c6e7719b789878cb8d1f9919cd81a289283a7fa9f3aa0b8df04b6be7eb5965f6dc940fe26d3690bc6", "wx" : "009206236515e97c83c9a03bfc32a5ec06d059869cdfe31a1c6e7719b789878cb8", "wy" : "00d1f9919cd81a289283a7fa9f3aa0b8df04b6be7eb5965f6dc940fe26d3690bc6" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200049206236515e97c83c9a03bfc32a5ec06d059869cdfe31a1c6e7719b789878cb8d1f9919cd81a289283a7fa9f3aa0b8df04b6be7eb5965f6dc940fe26d3690bc6", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEkgYjZRXpfIPJoDv8MqXsBtBZhpzf\n4xocbncZt4mHjLjR+ZGc2BookoOn+p86oLjfBLa+frWWX23JQP4m02kLxg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 392, "comment" : "edge case modular inverse", "flags" : [ "ModularInverse", "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220538c7b3798e84d0ce90340165806348971ed44db8f0c674f5f215968390f92ee", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "049cc29f1e9d8c858557d3da0e1c94055b15a46dcf22b47cda88f260b0c14c8e5d67e3cb5b3f7f8fc6972ee99295510d57fe6aecda9ee2a3ee34f68c4064ef39a9", "wx" : "009cc29f1e9d8c858557d3da0e1c94055b15a46dcf22b47cda88f260b0c14c8e5d", "wy" : "67e3cb5b3f7f8fc6972ee99295510d57fe6aecda9ee2a3ee34f68c4064ef39a9" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200049cc29f1e9d8c858557d3da0e1c94055b15a46dcf22b47cda88f260b0c14c8e5d67e3cb5b3f7f8fc6972ee99295510d57fe6aecda9ee2a3ee34f68c4064ef39a9", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEnMKfHp2MhYVX09oOHJQFWxWkbc8i\ntHzaiPJgsMFMjl1n48tbP3+Pxpcu6ZKVUQ1X/mrs2p7io+409oxAZO85qQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 393, "comment" : "edge case modular inverse", "flags" : [ "ModularInverse", "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002206fef0ef15d1688e15e704c4e6bb8bb7f40d52d3af5c661bb78c4ed9b408699b3", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04c4e7e0d2f10508db24452a9853f7632be18405236429b70804e7e57695cd46b94fe7847e5954a0949848689da3195fda3b88196c48333ccd9a928c03ea6e43e3", "wx" : "00c4e7e0d2f10508db24452a9853f7632be18405236429b70804e7e57695cd46b9", "wy" : "4fe7847e5954a0949848689da3195fda3b88196c48333ccd9a928c03ea6e43e3" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004c4e7e0d2f10508db24452a9853f7632be18405236429b70804e7e57695cd46b94fe7847e5954a0949848689da3195fda3b88196c48333ccd9a928c03ea6e43e3", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAExOfg0vEFCNskRSqYU/djK+GEBSNk\nKbcIBOfldpXNRrlP54R+WVSglJhIaJ2jGV/aO4gZbEgzPM2akowD6m5D4w==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 394, "comment" : "edge case modular inverse", "flags" : [ "ModularInverse", "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002206f44275e9aeb1331efcb8d58f35c0252791427e403ad84daad51d247cc2a64c6", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "049dcc4b4de3c00f391d2df52671015d068ac4f14669b46365b91bc62ce633c828cf17901bd9650f1927a606ed2180eaed55bfdcbc283b69bab04c91f65496668b", "wx" : "009dcc4b4de3c00f391d2df52671015d068ac4f14669b46365b91bc62ce633c828", "wy" : "00cf17901bd9650f1927a606ed2180eaed55bfdcbc283b69bab04c91f65496668b" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200049dcc4b4de3c00f391d2df52671015d068ac4f14669b46365b91bc62ce633c828cf17901bd9650f1927a606ed2180eaed55bfdcbc283b69bab04c91f65496668b", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEncxLTePADzkdLfUmcQFdBorE8UZp\ntGNluRvGLOYzyCjPF5Ab2WUPGSemBu0hgOrtVb/cvCg7abqwTJH2VJZmiw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 395, "comment" : "edge case modular inverse", "flags" : [ "ModularInverse", "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022021323755b103d2f9da6ab83eccab9ad8598bcf625652f10e7a3eeee3c3945fb3", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04fa1ddd8921edc2f9b083fc9b465be35d00d7d2d102f5e0d0ab54562fcc13b44acb96737718987ca2839e82f8fec255fca63fbea82512329c301422107aeb7e37", "wx" : "00fa1ddd8921edc2f9b083fc9b465be35d00d7d2d102f5e0d0ab54562fcc13b44a", "wy" : "00cb96737718987ca2839e82f8fec255fca63fbea82512329c301422107aeb7e37" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004fa1ddd8921edc2f9b083fc9b465be35d00d7d2d102f5e0d0ab54562fcc13b44acb96737718987ca2839e82f8fec255fca63fbea82512329c301422107aeb7e37", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE+h3diSHtwvmwg/ybRlvjXQDX0tEC\n9eDQq1RWL8wTtErLlnN3GJh8ooOegvj+wlX8pj++qCUSMpwwFCIQeut+Nw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 396, "comment" : "edge case modular inverse", "flags" : [ "ModularInverse", "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002206c50acfe76de1289e7a5edb240f1c2a7879db6873d5d931f3c6ac467a6eac171", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0401df759ade33c7fd2e89d44a53652ce618d37c7398797eac58cea6f8bbdbb2c7029a40b8ca2fe04011e51ac52e9f2f04ef3fbf5e9833382d260917a7c2e956f8", "wx" : "01df759ade33c7fd2e89d44a53652ce618d37c7398797eac58cea6f8bbdbb2c7", "wy" : "029a40b8ca2fe04011e51ac52e9f2f04ef3fbf5e9833382d260917a7c2e956f8" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000401df759ade33c7fd2e89d44a53652ce618d37c7398797eac58cea6f8bbdbb2c7029a40b8ca2fe04011e51ac52e9f2f04ef3fbf5e9833382d260917a7c2e956f8", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAd91mt4zx/0uidRKU2Us5hjTfHOY\neX6sWM6m+LvbsscCmkC4yi/gQBHlGsUuny8E7z+/XpgzOC0mCRenwulW+A==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 397, "comment" : "edge case modular inverse", "flags" : [ "ModularInverse", "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220755b7fffb0b17ad57dca50fcefb7fe297b029df25e5ccb5069e8e70c2742c2a6", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0494b4433fc6d8ba85b3c5c3fd72419df96902070908e202ac79c835ee4e09c9af0bd2d3733503bce042d08927072e9bef4bde04a34625c876ef37d1830effc062", "wx" : "0094b4433fc6d8ba85b3c5c3fd72419df96902070908e202ac79c835ee4e09c9af", "wy" : "0bd2d3733503bce042d08927072e9bef4bde04a34625c876ef37d1830effc062" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000494b4433fc6d8ba85b3c5c3fd72419df96902070908e202ac79c835ee4e09c9af0bd2d3733503bce042d08927072e9bef4bde04a34625c876ef37d1830effc062", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAElLRDP8bYuoWzxcP9ckGd+WkCBwkI\n4gKsecg17k4Jya8L0tNzNQO84ELQiScHLpvvS94Eo0YlyHbvN9GDDv/AYg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 398, "comment" : "point at infinity during verify", "flags" : [ "PointDuplication", "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a80220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", "result" : "invalid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "048522b8a66e066baac1bfe1459894e007d6ab127658dbd7259df59e276e07dc9ae6682162a5d135569e4aaab60770cb4125ef863945580ccf5018a6f4a078567c", "wx" : "008522b8a66e066baac1bfe1459894e007d6ab127658dbd7259df59e276e07dc9a", "wy" : "00e6682162a5d135569e4aaab60770cb4125ef863945580ccf5018a6f4a078567c" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200048522b8a66e066baac1bfe1459894e007d6ab127658dbd7259df59e276e07dc9ae6682162a5d135569e4aaab60770cb4125ef863945580ccf5018a6f4a078567c", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhSK4pm4Ga6rBv+FFmJTgB9arEnZY\n29clnfWeJ24H3JrmaCFipdE1Vp5KqrYHcMtBJe+GOUVYDM9QGKb0oHhWfA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 399, "comment" : "edge case for signature malleability", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a902207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a8", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04072208c3f2b1305a54f016d52679e8767d2b53a2823578886c2d804978f0463009776b2fc90d8855914babffe5a74216543d9b18713ca5975b2526865e6a95a3", "wx" : "072208c3f2b1305a54f016d52679e8767d2b53a2823578886c2d804978f04630", "wy" : "09776b2fc90d8855914babffe5a74216543d9b18713ca5975b2526865e6a95a3" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004072208c3f2b1305a54f016d52679e8767d2b53a2823578886c2d804978f0463009776b2fc90d8855914babffe5a74216543d9b18713ca5975b2526865e6a95a3", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEByIIw/KxMFpU8BbVJnnodn0rU6KC\nNXiIbC2ASXjwRjAJd2svyQ2IVZFLq//lp0IWVD2bGHE8pZdbJSaGXmqVow==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 400, "comment" : "edge case for signature malleability", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a902207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a9", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "043200e3cbd64867c52d2479b57897ce37d1b55a36e1dfd9d33d20c6a89efe64e599b63f61eb4b88550321b42f456d3f9a53b9da4167fb6bd36940265dc4dbe6e5", "wx" : "3200e3cbd64867c52d2479b57897ce37d1b55a36e1dfd9d33d20c6a89efe64e5", "wy" : "0099b63f61eb4b88550321b42f456d3f9a53b9da4167fb6bd36940265dc4dbe6e5" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043200e3cbd64867c52d2479b57897ce37d1b55a36e1dfd9d33d20c6a89efe64e599b63f61eb4b88550321b42f456d3f9a53b9da4167fb6bd36940265dc4dbe6e5", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEMgDjy9ZIZ8UtJHm1eJfON9G1Wjbh\n39nTPSDGqJ7+ZOWZtj9h60uIVQMhtC9FbT+aU7naQWf7a9NpQCZdxNvm5Q==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 401, "comment" : "u1 == 1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "30450220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022100c492aebe9f1b702c6747fbd016604d49ad6beb2c57a29c0587bb76a07c988b1a", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "043128c9feedcb5f314712759f6b0fc0a4a491337aca70904a0f1d26731789dccdab9a1d838546ab88d6e80d7138a0b91a58ed417cd6224b769c39ace524de17f3", "wx" : "3128c9feedcb5f314712759f6b0fc0a4a491337aca70904a0f1d26731789dccd", "wy" : "00ab9a1d838546ab88d6e80d7138a0b91a58ed417cd6224b769c39ace524de17f3" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043128c9feedcb5f314712759f6b0fc0a4a491337aca70904a0f1d26731789dccdab9a1d838546ab88d6e80d7138a0b91a58ed417cd6224b769c39ace524de17f3", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEMSjJ/u3LXzFHEnWfaw/ApKSRM3rK\ncJBKDx0mcxeJ3M2rmh2DhUariNboDXE4oLkaWO1BfNYiS3acOazlJN4X8w==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 402, "comment" : "u1 == n - 1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002203b6d514060e48fd498b8042fe99fb2b60f7b0f814f75027f6bfe54227fca9a37", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04eccf890f1150a8f98755c5409cd4301af586cb9fc26ee9cbddb8bda771d2e38c92caeded268ab979f2e3f1b11f7d7565c48a183c6c240049838bf5638367f04e", "wx" : "00eccf890f1150a8f98755c5409cd4301af586cb9fc26ee9cbddb8bda771d2e38c", "wy" : "0092caeded268ab979f2e3f1b11f7d7565c48a183c6c240049838bf5638367f04e" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004eccf890f1150a8f98755c5409cd4301af586cb9fc26ee9cbddb8bda771d2e38c92caeded268ab979f2e3f1b11f7d7565c48a183c6c240049838bf5638367f04e", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE7M+JDxFQqPmHVcVAnNQwGvWGy5/C\nbunL3bi9p3HS44ySyu3tJoq5efLj8bEffXVlxIoYPGwkAEmDi/Vjg2fwTg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 403, "comment" : "u2 == 1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0411f07e986129acbc79c2ba2790049798019423965f17d067a047329ea55f39c2a3317a8eac68266fe953cd4420f578d835f354a6bb80d26c248e0caaef0e70f5", "wx" : "11f07e986129acbc79c2ba2790049798019423965f17d067a047329ea55f39c2", "wy" : "00a3317a8eac68266fe953cd4420f578d835f354a6bb80d26c248e0caaef0e70f5" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000411f07e986129acbc79c2ba2790049798019423965f17d067a047329ea55f39c2a3317a8eac68266fe953cd4420f578d835f354a6bb80d26c248e0caaef0e70f5", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEEfB+mGEprLx5wronkASXmAGUI5Zf\nF9BnoEcynqVfOcKjMXqOrGgmb+lTzUQg9XjYNfNUpruA0mwkjgyq7w5w9Q==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 404, "comment" : "u2 == n - 1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "30450220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022100aaaaaaaa00000000aaaaaaaaaaaaaaaa7def51c91a0fbf034d26872ca84218e1", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "049f38b7ead03c33b95d2d388dfbfd92313c88acc5316120789aa3d73496f05035f0f7f11b5b8d49e33a598e489e8ba78844d3dd3216f6988077cf39e852c56ca9", "wx" : "009f38b7ead03c33b95d2d388dfbfd92313c88acc5316120789aa3d73496f05035", "wy" : "00f0f7f11b5b8d49e33a598e489e8ba78844d3dd3216f6988077cf39e852c56ca9" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200049f38b7ead03c33b95d2d388dfbfd92313c88acc5316120789aa3d73496f05035f0f7f11b5b8d49e33a598e489e8ba78844d3dd3216f6988077cf39e852c56ca9", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEnzi36tA8M7ldLTiN+/2SMTyIrMUx\nYSB4mqPXNJbwUDXw9/EbW41J4zpZjkiei6eIRNPdMhb2mIB3zznoUsVsqQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 405, "comment" : "edge case for u1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02210096db8f948a5e7ab9cd17fe9ab22019c32370f748aa3e13837e7c6b212853e579", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "042aac975d4ea9a517d0bb37ffdf988a07768e539fde70eec4bc69a175a7e2f8b4f93e5e0ec60e4566a6242d10d52ef4738ffdca1e06e34c027897317799d4f0a0", "wx" : "2aac975d4ea9a517d0bb37ffdf988a07768e539fde70eec4bc69a175a7e2f8b4", "wy" : "00f93e5e0ec60e4566a6242d10d52ef4738ffdca1e06e34c027897317799d4f0a0" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042aac975d4ea9a517d0bb37ffdf988a07768e539fde70eec4bc69a175a7e2f8b4f93e5e0ec60e4566a6242d10d52ef4738ffdca1e06e34c027897317799d4f0a0", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKqyXXU6ppRfQuzf/35iKB3aOU5/e\ncO7EvGmhdafi+LT5Pl4Oxg5FZqYkLRDVLvRzj/3KHgbjTAJ4lzF3mdTwoA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 406, "comment" : "edge case for u1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100b9afffc538997210047b91c2171d4371d8414168fa65df82084bc6e99191f6f6", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04a59b48d715b404a36f1aa9d06f1f9758272dd6345eecb2b71234560f306341ebbf31f984d698b3020a4698689682d6e09909b00778e91b843bc610e4005dd5b1", "wx" : "00a59b48d715b404a36f1aa9d06f1f9758272dd6345eecb2b71234560f306341eb", "wy" : "00bf31f984d698b3020a4698689682d6e09909b00778e91b843bc610e4005dd5b1" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a59b48d715b404a36f1aa9d06f1f9758272dd6345eecb2b71234560f306341ebbf31f984d698b3020a4698689682d6e09909b00778e91b843bc610e4005dd5b1", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEpZtI1xW0BKNvGqnQbx+XWCct1jRe\n7LK3EjRWDzBjQeu/MfmE1pizAgpGmGiWgtbgmQmwB3jpG4Q7xhDkAF3VsQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 407, "comment" : "edge case for u1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02210090930b057feb7b1ac374bd0f335f81aa2f3645f7662c755f49ca974368441b69", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04cacd412bd3253bedaec70bba645a28c30aa11509f6b4e0d4b2d8a124fbd69cbab7f4bced081ba4526960139ad135546bc848385108d5ac60abfcdde1e6a775f3", "wx" : "00cacd412bd3253bedaec70bba645a28c30aa11509f6b4e0d4b2d8a124fbd69cba", "wy" : "00b7f4bced081ba4526960139ad135546bc848385108d5ac60abfcdde1e6a775f3" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004cacd412bd3253bedaec70bba645a28c30aa11509f6b4e0d4b2d8a124fbd69cbab7f4bced081ba4526960139ad135546bc848385108d5ac60abfcdde1e6a775f3", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEys1BK9MlO+2uxwu6ZFoowwqhFQn2\ntODUstihJPvWnLq39LztCBukUmlgE5rRNVRryEg4UQjVrGCr/N3h5qd18w==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 408, "comment" : "edge case for u1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02200c0008634ec5f295eca75eaabbaa8acd9592d5bd3ad27c9ce7d58506d33f0e20", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04388ef518153318f91249beff7074c29179baee05f0a7fa1598ecf2a705ea1e972c2521856b409a92dbe479128f3ce64637c2e97b7657ea75c9f749af9f0f19b4", "wx" : "388ef518153318f91249beff7074c29179baee05f0a7fa1598ecf2a705ea1e97", "wy" : "2c2521856b409a92dbe479128f3ce64637c2e97b7657ea75c9f749af9f0f19b4" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004388ef518153318f91249beff7074c29179baee05f0a7fa1598ecf2a705ea1e972c2521856b409a92dbe479128f3ce64637c2e97b7657ea75c9f749af9f0f19b4", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEOI71GBUzGPkSSb7/cHTCkXm67gXw\np/oVmOzypwXqHpcsJSGFa0CaktvkeRKPPOZGN8Lpe3ZX6nXJ90mvnw8ZtA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 409, "comment" : "edge case for u1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220008635ac5f295e0a75eaabbaa8acd98b801fd16fd612eac68cf85af6a6860340", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0456adbe448f1f8b0848914558e8a8428abb397a999731a0c9129f2fbc43660a2ebedd96d3adaa2615a4d4a839396165ba29be09b20ca6745deb2dd61dc47db371", "wx" : "56adbe448f1f8b0848914558e8a8428abb397a999731a0c9129f2fbc43660a2e", "wy" : "00bedd96d3adaa2615a4d4a839396165ba29be09b20ca6745deb2dd61dc47db371" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000456adbe448f1f8b0848914558e8a8428abb397a999731a0c9129f2fbc43660a2ebedd96d3adaa2615a4d4a839396165ba29be09b20ca6745deb2dd61dc47db371", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEVq2+RI8fiwhIkUVY6KhCirs5epmX\nMaDJEp8vvENmCi6+3ZbTraomFaTUqDk5YWW6Kb4JsgymdF3rLdYdxH2zcQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 410, "comment" : "edge case for u1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220010c6b58be52bc14ebd557755159b317003fa2dfac25d58d19f0b5ed4d0c0680", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04005859fa17c768d8fec405c03eef7900f4cec18465fb2c1a4e487f84cdef0d80e679d919dcd9adf3d0147010d39efd2261957ba472727197fafdd212a3c1bfbd", "wx" : "5859fa17c768d8fec405c03eef7900f4cec18465fb2c1a4e487f84cdef0d80", "wy" : "00e679d919dcd9adf3d0147010d39efd2261957ba472727197fafdd212a3c1bfbd" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004005859fa17c768d8fec405c03eef7900f4cec18465fb2c1a4e487f84cdef0d80e679d919dcd9adf3d0147010d39efd2261957ba472727197fafdd212a3c1bfbd", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAFhZ+hfHaNj+xAXAPu95APTOwYRl\n+ywaTkh/hM3vDYDmedkZ3Nmt89AUcBDTnv0iYZV7pHJycZf6/dISo8G/vQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 411, "comment" : "edge case for u1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02205ac5faf8e0a75647bbaa8acd98b8042fd1d502ce51525a7da03ae715807e09ad", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04923dd72f2f2dc53bb584faaae7da31b0bbfba3d6ba6d9b9c6584637a98f478e99bdaccb26de66c33a527aad5aa71c4bd24a968618ff326ee12d97cf08aeea1e0", "wx" : "00923dd72f2f2dc53bb584faaae7da31b0bbfba3d6ba6d9b9c6584637a98f478e9", "wy" : "009bdaccb26de66c33a527aad5aa71c4bd24a968618ff326ee12d97cf08aeea1e0" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004923dd72f2f2dc53bb584faaae7da31b0bbfba3d6ba6d9b9c6584637a98f478e99bdaccb26de66c33a527aad5aa71c4bd24a968618ff326ee12d97cf08aeea1e0", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEkj3XLy8txTu1hPqq59oxsLv7o9a6\nbZucZYRjepj0eOmb2syybeZsM6UnqtWqccS9JKloYY/zJu4S2Xzwiu6h4A==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 412, "comment" : "edge case for u1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220035b0908d82e0187b817beaecebd9d229d6888474ee0d0b1115bd4c11462877c", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04406f518f36ae6037096bd70b69a92f0458053c675daddb1f77a6432128c5483bebd37f55481e485981477aa0b9b8731142d2f5277a6bf2ee54a84d9d0f41460f", "wx" : "406f518f36ae6037096bd70b69a92f0458053c675daddb1f77a6432128c5483b", "wy" : "00ebd37f55481e485981477aa0b9b8731142d2f5277a6bf2ee54a84d9d0f41460f" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004406f518f36ae6037096bd70b69a92f0458053c675daddb1f77a6432128c5483bebd37f55481e485981477aa0b9b8731142d2f5277a6bf2ee54a84d9d0f41460f", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEQG9RjzauYDcJa9cLaakvBFgFPGdd\nrdsfd6ZDISjFSDvr039VSB5IWYFHeqC5uHMRQtL1J3pr8u5UqE2dD0FGDw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 413, "comment" : "edge case for u1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100d75071a37229c087eb7d99bd549663d2a677c8e1d228a650e84df8929250d770", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04ce23ce3b1569a86085f0d9b02a9b799f3cb1906eb225b81b710e0e50dcac1b96382fb39b3ba1c949f97725175ef1238d0040574354b65364e4893ecf177e75b7", "wx" : "00ce23ce3b1569a86085f0d9b02a9b799f3cb1906eb225b81b710e0e50dcac1b96", "wy" : "382fb39b3ba1c949f97725175ef1238d0040574354b65364e4893ecf177e75b7" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ce23ce3b1569a86085f0d9b02a9b799f3cb1906eb225b81b710e0e50dcac1b96382fb39b3ba1c949f97725175ef1238d0040574354b65364e4893ecf177e75b7", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEziPOOxVpqGCF8NmwKpt5nzyxkG6y\nJbgbcQ4OUNysG5Y4L7ObO6HJSfl3JRde8SONAEBXQ1S2U2TkiT7PF351tw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 414, "comment" : "edge case for u1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100843eaa5f86ebc121f89f6e036c1db1560420d9e010142adddd01591ad076e6d1", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0497906ede1e4b6072ab4e9f7446119bca4611b51540311fcbcabd97e156650835647c2f78f185de8068027b023589d401afcd6fb21741d16eba8308cf3467067b", "wx" : "0097906ede1e4b6072ab4e9f7446119bca4611b51540311fcbcabd97e156650835", "wy" : "647c2f78f185de8068027b023589d401afcd6fb21741d16eba8308cf3467067b" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000497906ede1e4b6072ab4e9f7446119bca4611b51540311fcbcabd97e156650835647c2f78f185de8068027b023589d401afcd6fb21741d16eba8308cf3467067b", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEl5Bu3h5LYHKrTp90RhGbykYRtRVA\nMR/Lyr2X4VZlCDVkfC948YXegGgCewI1idQBr81vshdB0W66gwjPNGcGew==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 415, "comment" : "edge case for u1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220349238353ad0c2a3997400b2a6eff31e4cbb01b27e6cc580ba9eafd0ea079fec", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04b9213308d6ea7f623dba3cc9a8803257112cffd375877eaffc2e41d3355fb13dbe53cc14397c4d76e0f316fd05da16f4056347b0028d4cc8aa0b96e069b5689b", "wx" : "00b9213308d6ea7f623dba3cc9a8803257112cffd375877eaffc2e41d3355fb13d", "wy" : "00be53cc14397c4d76e0f316fd05da16f4056347b0028d4cc8aa0b96e069b5689b" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004b9213308d6ea7f623dba3cc9a8803257112cffd375877eaffc2e41d3355fb13dbe53cc14397c4d76e0f316fd05da16f4056347b0028d4cc8aa0b96e069b5689b", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEuSEzCNbqf2I9ujzJqIAyVxEs/9N1\nh36v/C5B0zVfsT2+U8wUOXxNduDzFv0F2hb0BWNHsAKNTMiqC5bgabVomw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 416, "comment" : "edge case for u1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02206924706a75a1854732e801654ddfe63c99760364fcd98b01753d5fa1d40f3fd8", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04feb099a11bedea9f45b4921d92040a1c2149b5638dea1a30f0f5885bdf3d2682118a15936171f4de9bb5b88c6b9336e23feea35f8a6524ce9a8c3832fcb57977", "wx" : "00feb099a11bedea9f45b4921d92040a1c2149b5638dea1a30f0f5885bdf3d2682", "wy" : "118a15936171f4de9bb5b88c6b9336e23feea35f8a6524ce9a8c3832fcb57977" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004feb099a11bedea9f45b4921d92040a1c2149b5638dea1a30f0f5885bdf3d2682118a15936171f4de9bb5b88c6b9336e23feea35f8a6524ce9a8c3832fcb57977", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE/rCZoRvt6p9FtJIdkgQKHCFJtWON\n6how8PWIW989JoIRihWTYXH03pu1uIxrkzbiP+6jX4plJM6ajDgy/LV5dw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 417, "comment" : "edge case for u1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0221009db6a89fb07247eacc5c0217f4cfd95ae63105177b4650822fdc0f72be16dfc4", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04a18edb6797e588ec2aae8e4b5b7ff4138db882a08dd8b56c3e30199cc368aaa8e574e7c879232dc2cb70ca92b390922e323898ae836580eb1741928f6d8af4ad", "wx" : "00a18edb6797e588ec2aae8e4b5b7ff4138db882a08dd8b56c3e30199cc368aaa8", "wy" : "00e574e7c879232dc2cb70ca92b390922e323898ae836580eb1741928f6d8af4ad" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a18edb6797e588ec2aae8e4b5b7ff4138db882a08dd8b56c3e30199cc368aaa8e574e7c879232dc2cb70ca92b390922e323898ae836580eb1741928f6d8af4ad", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEoY7bZ5fliOwqro5LW3/0E424gqCN\n2LVsPjAZnMNoqqjldOfIeSMtwstwypKzkJIuMjiYroNlgOsXQZKPbYr0rQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 418, "comment" : "edge case for u1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100c84985823ff5bd8de1ba5e8799afc0d4f60ea05286a209f21ec231033253a05d", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "045387c3bbab6cc319a27fd377fb2cb16d0b038cfcc073cdd10f97d565a1171a50353c5ada2b690b52c57d687f93d3e6d7eafcc6657955dff166f90ede2f5df044", "wx" : "5387c3bbab6cc319a27fd377fb2cb16d0b038cfcc073cdd10f97d565a1171a50", "wy" : "353c5ada2b690b52c57d687f93d3e6d7eafcc6657955dff166f90ede2f5df044" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200045387c3bbab6cc319a27fd377fb2cb16d0b038cfcc073cdd10f97d565a1171a50353c5ada2b690b52c57d687f93d3e6d7eafcc6657955dff166f90ede2f5df044", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEU4fDu6tswxmif9N3+yyxbQsDjPzA\nc83RD5fVZaEXGlA1PFraK2kLUsV9aH+T0+bX6vzGZXlV3/Fm+Q7eL13wRA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 419, "comment" : "edge case for u2", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02207fffffffaaaaaaaaffffffffffffffffe9a2538f37b28a2c513dee40fecbb71a", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04a3574aad25e1b1b7cbded82daafedf8ec02e2d0c9141e953bdf8297e8746f35d68a34ce65e234b2c9f81c8d4d12b8b22bed7619b4b0d4e4203a43990a804d1b4", "wx" : "00a3574aad25e1b1b7cbded82daafedf8ec02e2d0c9141e953bdf8297e8746f35d", "wy" : "68a34ce65e234b2c9f81c8d4d12b8b22bed7619b4b0d4e4203a43990a804d1b4" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a3574aad25e1b1b7cbded82daafedf8ec02e2d0c9141e953bdf8297e8746f35d68a34ce65e234b2c9f81c8d4d12b8b22bed7619b4b0d4e4203a43990a804d1b4", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEo1dKrSXhsbfL3tgtqv7fjsAuLQyR\nQelTvfgpfodG811oo0zmXiNLLJ+ByNTRK4sivtdhm0sNTkIDpDmQqATRtA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 420, "comment" : "edge case for u2", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100b62f26b5f2a2b26f6de86d42ad8a13da3ab3cccd0459b201de009e526adf21f2", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04dcd5f397b56380849dc5615cd5f7fd7857c377ac6f3ab09994b0e52e368c7e3953cdca456fcecace8471d45691ade3e48665fda2fb7d5cc5d20323719c140721", "wx" : "00dcd5f397b56380849dc5615cd5f7fd7857c377ac6f3ab09994b0e52e368c7e39", "wy" : "53cdca456fcecace8471d45691ade3e48665fda2fb7d5cc5d20323719c140721" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004dcd5f397b56380849dc5615cd5f7fd7857c377ac6f3ab09994b0e52e368c7e3953cdca456fcecace8471d45691ade3e48665fda2fb7d5cc5d20323719c140721", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE3NXzl7VjgISdxWFc1ff9eFfDd6xv\nOrCZlLDlLjaMfjlTzcpFb87KzoRx1FaRrePkhmX9ovt9XMXSAyNxnBQHIQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 421, "comment" : "edge case for u2", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bb1d9ac949dd748cd02bbbe749bd351cd57b38bb61403d700686aa7b4c90851e", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "043316bc192feeeb74c730fe14e77e298272be65f081070c124fb62750aeb8cfb45b3dd557fd49d3d375d3decdcea473c19d53df1f2e7654278c62971362cebbf2", "wx" : "3316bc192feeeb74c730fe14e77e298272be65f081070c124fb62750aeb8cfb4", "wy" : "5b3dd557fd49d3d375d3decdcea473c19d53df1f2e7654278c62971362cebbf2" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043316bc192feeeb74c730fe14e77e298272be65f081070c124fb62750aeb8cfb45b3dd557fd49d3d375d3decdcea473c19d53df1f2e7654278c62971362cebbf2", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEMxa8GS/u63THMP4U534pgnK+ZfCB\nBwwST7YnUK64z7RbPdVX/UnT03XT3s3OpHPBnVPfHy52VCeMYpcTYs678g==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 422, "comment" : "edge case for u2", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022066755a00638cdaec1c732513ca0234ece52545dac11f816e818f725b4f60aaf2", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04e266a9996cdc9363033956320d55aa719295278fa51deda8db8765654f5a73e51230dd0cc8e9963e0ff0245ee55f0658be49512c3101ef828e5cade44933ed43", "wx" : "00e266a9996cdc9363033956320d55aa719295278fa51deda8db8765654f5a73e5", "wy" : "1230dd0cc8e9963e0ff0245ee55f0658be49512c3101ef828e5cade44933ed43" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004e266a9996cdc9363033956320d55aa719295278fa51deda8db8765654f5a73e51230dd0cc8e9963e0ff0245ee55f0658be49512c3101ef828e5cade44933ed43", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE4mapmWzck2MDOVYyDVWqcZKVJ4+l\nHe2o24dlZU9ac+USMN0MyOmWPg/wJF7lXwZYvklRLDEB74KOXK3kSTPtQw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 423, "comment" : "edge case for u2", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022055a00c9fcdaebb6032513ca0234ecfffe98ebe492fdf02e48ca48e982beb3669", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "041de456fe701cfebbf5778685218f42b3c4f43bec698a49121d816dff6af2842f78e670c4a37680b25576af2e4a3744a6deb0039e59701a28deb618a84263ab73", "wx" : "1de456fe701cfebbf5778685218f42b3c4f43bec698a49121d816dff6af2842f", "wy" : "78e670c4a37680b25576af2e4a3744a6deb0039e59701a28deb618a84263ab73" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200041de456fe701cfebbf5778685218f42b3c4f43bec698a49121d816dff6af2842f78e670c4a37680b25576af2e4a3744a6deb0039e59701a28deb618a84263ab73", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEHeRW/nAc/rv1d4aFIY9Cs8T0O+xp\nikkSHYFt/2ryhC945nDEo3aAslV2ry5KN0Sm3rADnllwGijethioQmOrcw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 424, "comment" : "edge case for u2", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100ab40193f9b5d76c064a27940469d9fffd31d7c925fbe05c919491d3057d66cd2", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04d32573716e87ea3d5a589469ce2d8a3adf39c7bd6e1451fe2c162495f1b9df1b31728933d476953d89c268454d35a3fff5119091c13871f6eefe973063b5a8cb", "wx" : "00d32573716e87ea3d5a589469ce2d8a3adf39c7bd6e1451fe2c162495f1b9df1b", "wy" : "31728933d476953d89c268454d35a3fff5119091c13871f6eefe973063b5a8cb" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d32573716e87ea3d5a589469ce2d8a3adf39c7bd6e1451fe2c162495f1b9df1b31728933d476953d89c268454d35a3fff5119091c13871f6eefe973063b5a8cb", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE0yVzcW6H6j1aWJRpzi2KOt85x71u\nFFH+LBYklfG53xsxcokz1HaVPYnCaEVNNaP/9RGQkcE4cfbu/pcwY7Woyw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 425, "comment" : "edge case for u2", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100ca0234ebb5fdcb13ca0234ecffffffffcb0dadbbc7f549f8a26b4408d0dc8600", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "043736b4a0709df5bbda08b173821814ecbc5cf29909f6558aeb8e22e3b8e6ac47f4d6147d622ef01641dce650d461e136f0479accba757dee40c9a7364c2c33fd", "wx" : "3736b4a0709df5bbda08b173821814ecbc5cf29909f6558aeb8e22e3b8e6ac47", "wy" : "00f4d6147d622ef01641dce650d461e136f0479accba757dee40c9a7364c2c33fd" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043736b4a0709df5bbda08b173821814ecbc5cf29909f6558aeb8e22e3b8e6ac47f4d6147d622ef01641dce650d461e136f0479accba757dee40c9a7364c2c33fd", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAENza0oHCd9bvaCLFzghgU7Lxc8pkJ\n9lWK644i47jmrEf01hR9Yi7wFkHc5lDUYeE28EeazLp1fe5Ayac2TCwz/Q==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 426, "comment" : "edge case for u2", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bfffffff3ea3677e082b9310572620ae19933a9e65b285598711c77298815ad3", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0479994932416036d58474e5e9adbdf1601634cab943069f16c8b6384efe572eecfdb5b053bc75a00ddd9a16218b861fcf099cc0f693624aeb8d7e2662f6ddde25", "wx" : "79994932416036d58474e5e9adbdf1601634cab943069f16c8b6384efe572eec", "wy" : "00fdb5b053bc75a00ddd9a16218b861fcf099cc0f693624aeb8d7e2662f6ddde25" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000479994932416036d58474e5e9adbdf1601634cab943069f16c8b6384efe572eecfdb5b053bc75a00ddd9a16218b861fcf099cc0f693624aeb8d7e2662f6ddde25", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEeZlJMkFgNtWEdOXprb3xYBY0yrlD\nBp8WyLY4Tv5XLuz9tbBTvHWgDd2aFiGLhh/PCZzA9pNiSuuNfiZi9t3eJQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 427, "comment" : "edge case for u2", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220266666663bbbbbbbe6666666666666665b37902e023fab7c8f055d86e5cc41f4", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0478ba1007e3efa1e14403ab46f95595b0ea847362cb83e7e4ddafe3c063b1f2c5ed45490c3ee543da6ae6714b37645e6f7f41e3745718e559dcbbcfe931782388", "wx" : "78ba1007e3efa1e14403ab46f95595b0ea847362cb83e7e4ddafe3c063b1f2c5", "wy" : "00ed45490c3ee543da6ae6714b37645e6f7f41e3745718e559dcbbcfe931782388" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000478ba1007e3efa1e14403ab46f95595b0ea847362cb83e7e4ddafe3c063b1f2c5ed45490c3ee543da6ae6714b37645e6f7f41e3745718e559dcbbcfe931782388", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEeLoQB+PvoeFEA6tG+VWVsOqEc2LL\ng+fk3a/jwGOx8sXtRUkMPuVD2mrmcUs3ZF5vf0HjdFcY5Vncu8/pMXgjiA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 428, "comment" : "edge case for u2", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bfffffff36db6db7a492492492492492146c573f4c6dfc8d08a443e258970b09", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04a8db2d8e2ff0f5b9ed5481a08430772ef01a0336f574234901fd452cbdf5501d8a7e063fe1354bb07a4aba30cf0730171154a0f5a3a9d0e4639f55795d177b4d", "wx" : "00a8db2d8e2ff0f5b9ed5481a08430772ef01a0336f574234901fd452cbdf5501d", "wy" : "008a7e063fe1354bb07a4aba30cf0730171154a0f5a3a9d0e4639f55795d177b4d" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a8db2d8e2ff0f5b9ed5481a08430772ef01a0336f574234901fd452cbdf5501d8a7e063fe1354bb07a4aba30cf0730171154a0f5a3a9d0e4639f55795d177b4d", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEqNstji/w9bntVIGghDB3LvAaAzb1\ndCNJAf1FLL31UB2KfgY/4TVLsHpKujDPBzAXEVSg9aOp0ORjn1V5XRd7TQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 429, "comment" : "edge case for u2", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bfffffff2aaaaaab7fffffffffffffffc815d0e60b3e596ecb1ad3a27cfd49c4", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0495bf9be5f3e08967d367c8a1f3c0b21724bfeaa5827e5aa7ea55aa72b78cd51070de9a84b5878377f18844c2d1530515392f08aa3aa38fa2013656657772082e", "wx" : "0095bf9be5f3e08967d367c8a1f3c0b21724bfeaa5827e5aa7ea55aa72b78cd510", "wy" : "70de9a84b5878377f18844c2d1530515392f08aa3aa38fa2013656657772082e" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000495bf9be5f3e08967d367c8a1f3c0b21724bfeaa5827e5aa7ea55aa72b78cd51070de9a84b5878377f18844c2d1530515392f08aa3aa38fa2013656657772082e", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAElb+b5fPgiWfTZ8ih88CyFyS/6qWC\nflqn6lWqcreM1RBw3pqEtYeDd/GIRMLRUwUVOS8Iqjqjj6IBNlZld3IILg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 430, "comment" : "edge case for u2", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02207fffffff55555555ffffffffffffffffd344a71e6f651458a27bdc81fd976e37", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0475f61a72acfa982eb31d4f5a8d48579dbddf2fde5ece8dcba308f1610e6a5893db367c2c64c4d852ed5ef79d2c2eb8a0c67e10c252f08069b3e8948624414e19", "wx" : "75f61a72acfa982eb31d4f5a8d48579dbddf2fde5ece8dcba308f1610e6a5893", "wy" : "00db367c2c64c4d852ed5ef79d2c2eb8a0c67e10c252f08069b3e8948624414e19" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000475f61a72acfa982eb31d4f5a8d48579dbddf2fde5ece8dcba308f1610e6a5893db367c2c64c4d852ed5ef79d2c2eb8a0c67e10c252f08069b3e8948624414e19", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdfYacqz6mC6zHU9ajUhXnb3fL95e\nzo3LowjxYQ5qWJPbNnwsZMTYUu1e950sLrigxn4QwlLwgGmz6JSGJEFOGQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 431, "comment" : "edge case for u2", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02203fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192aa", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "048c5699fcd720144372ab4ca3eef5a888e8eba355cd4a84f5bc18a8afbf904e57ff894bc357fb58574b0750196bef944a8770d52754821e37c24310e37e439211", "wx" : "008c5699fcd720144372ab4ca3eef5a888e8eba355cd4a84f5bc18a8afbf904e57", "wy" : "00ff894bc357fb58574b0750196bef944a8770d52754821e37c24310e37e439211" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200048c5699fcd720144372ab4ca3eef5a888e8eba355cd4a84f5bc18a8afbf904e57ff894bc357fb58574b0750196bef944a8770d52754821e37c24310e37e439211", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEjFaZ/NcgFENyq0yj7vWoiOjro1XN\nSoT1vBior7+QTlf/iUvDV/tYV0sHUBlr75RKh3DVJ1SCHjfCQxDjfkOSEQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 432, "comment" : "edge case for u2", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02205d8ecd64a4eeba466815ddf3a4de9a8e6abd9c5db0a01eb80343553da648428f", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04a937dd02502a336aca32910bbdf3095cdd5680d1c738c5ae15c544a181c9cdb4b04dbf815047b36a94be85ba16fe6dd9f5842d0ead70dbfbf619487aa40c159b", "wx" : "00a937dd02502a336aca32910bbdf3095cdd5680d1c738c5ae15c544a181c9cdb4", "wy" : "00b04dbf815047b36a94be85ba16fe6dd9f5842d0ead70dbfbf619487aa40c159b" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a937dd02502a336aca32910bbdf3095cdd5680d1c738c5ae15c544a181c9cdb4b04dbf815047b36a94be85ba16fe6dd9f5842d0ead70dbfbf619487aa40c159b", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEqTfdAlAqM2rKMpELvfMJXN1WgNHH\nOMWuFcVEoYHJzbSwTb+BUEezapS+hboW/m3Z9YQtDq1w2/v2GUh6pAwVmw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 433, "comment" : "point duplication during verification", "flags" : [ "PointDuplication" ], "msg" : "313233343030", "sig" : "304502206f2347cab7dd76858fe0555ac3bc99048c4aacafdfb6bcbe05ea6c42c4934569022100c9fb251a707b7ec34f1205ee1409d68498340392082b3092cb672e0f48d02410", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04a937dd02502a336aca32910bbdf3095cdd5680d1c738c5ae15c544a181c9cdb44fb2407dafb84c966b417a45e90192260a7bd2f2528f240409e6b7855bf3ea64", "wx" : "00a937dd02502a336aca32910bbdf3095cdd5680d1c738c5ae15c544a181c9cdb4", "wy" : "4fb2407dafb84c966b417a45e90192260a7bd2f2528f240409e6b7855bf3ea64" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004a937dd02502a336aca32910bbdf3095cdd5680d1c738c5ae15c544a181c9cdb44fb2407dafb84c966b417a45e90192260a7bd2f2528f240409e6b7855bf3ea64", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEqTfdAlAqM2rKMpELvfMJXN1WgNHH\nOMWuFcVEoYHJzbRPskB9r7hMlmtBekXpAZImCnvS8lKPJAQJ5reFW/PqZA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 434, "comment" : "duplication bug", "flags" : [ "PointDuplication" ], "msg" : "313233343030", "sig" : "304502206f2347cab7dd76858fe0555ac3bc99048c4aacafdfb6bcbe05ea6c42c4934569022100c9fb251a707b7ec34f1205ee1409d68498340392082b3092cb672e0f48d02410", "result" : "invalid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04cef317f85f51ac0bfefbda9e8f9a7ae3137bf927fdc05a927898b35dd084318993e1f846559b28419bd5382d124b05ba7139cca633d10679685800f0460f6922", "wx" : "00cef317f85f51ac0bfefbda9e8f9a7ae3137bf927fdc05a927898b35dd0843189", "wy" : "0093e1f846559b28419bd5382d124b05ba7139cca633d10679685800f0460f6922" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004cef317f85f51ac0bfefbda9e8f9a7ae3137bf927fdc05a927898b35dd084318993e1f846559b28419bd5382d124b05ba7139cca633d10679685800f0460f6922", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEzvMX+F9RrAv++9qej5p64xN7+Sf9\nwFqSeJizXdCEMYmT4fhGVZsoQZvVOC0SSwW6cTnMpjPRBnloWADwRg9pIg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 435, "comment" : "point with x-coordinate 0", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "30250201010220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", "result" : "invalid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04d484ae6304c0dd2991d6a3c180881fb1701b3fc8fd52c53b8c76e872ae8151b12327d26f43ef2c9a0800ad412d162088029d0e86407f01f548d70ffdffb1c422", "wx" : "00d484ae6304c0dd2991d6a3c180881fb1701b3fc8fd52c53b8c76e872ae8151b1", "wy" : "2327d26f43ef2c9a0800ad412d162088029d0e86407f01f548d70ffdffb1c422" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004d484ae6304c0dd2991d6a3c180881fb1701b3fc8fd52c53b8c76e872ae8151b12327d26f43ef2c9a0800ad412d162088029d0e86407f01f548d70ffdffb1c422", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1ISuYwTA3SmR1qPBgIgfsXAbP8j9\nUsU7jHbocq6BUbEjJ9JvQ+8smggArUEtFiCIAp0OhkB/AfVI1w/9/7HEIg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 436, "comment" : "point with x-coordinate 0", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "3045022101000000000000000000000000000000000000000000000000000000000000000002203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aa9", "result" : "invalid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "048292fb09a4f55d8ec8ab9e628d4866d31837a73d901e085385c3b779e7c2f9a10323a3d1644375507b573ff85625ce520af0938efe7a28a70025eb5f818ad267", "wx" : "008292fb09a4f55d8ec8ab9e628d4866d31837a73d901e085385c3b779e7c2f9a1", "wy" : "0323a3d1644375507b573ff85625ce520af0938efe7a28a70025eb5f818ad267" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200048292fb09a4f55d8ec8ab9e628d4866d31837a73d901e085385c3b779e7c2f9a10323a3d1644375507b573ff85625ce520af0938efe7a28a70025eb5f818ad267", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEgpL7CaT1XY7Iq55ijUhm0xg3pz2Q\nHghThcO3eefC+aEDI6PRZEN1UHtXP/hWJc5SCvCTjv56KKcAJetfgYrSZw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 437, "comment" : "comparison with point at infinity ", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aa9", "result" : "invalid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04582703adccd6532e47464bde455445551c60a522d3211c8f67a7f72a1018a7de4d24729384dedc8c04d182dd424a40a5b86ec1623b2f62bfea826cd1823c48c7", "wx" : "582703adccd6532e47464bde455445551c60a522d3211c8f67a7f72a1018a7de", "wy" : "4d24729384dedc8c04d182dd424a40a5b86ec1623b2f62bfea826cd1823c48c7" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004582703adccd6532e47464bde455445551c60a522d3211c8f67a7f72a1018a7de4d24729384dedc8c04d182dd424a40a5b86ec1623b2f62bfea826cd1823c48c7", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWCcDrczWUy5HRkveRVRFVRxgpSLT\nIRyPZ6f3KhAYp95NJHKThN7cjATRgt1CSkCluG7BYjsvYr/qgmzRgjxIxw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 438, "comment" : "extreme value for k and edgecase s", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc476699780220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "047fce264b264aa43e3164584d3fd127ce39aefa35cd581a2584deb1dd4ae61eff44a33a73370aeee7312e8aaf8f9d2324c24c409b721593279ff7ce566997dd63", "wx" : "7fce264b264aa43e3164584d3fd127ce39aefa35cd581a2584deb1dd4ae61eff", "wy" : "44a33a73370aeee7312e8aaf8f9d2324c24c409b721593279ff7ce566997dd63" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200047fce264b264aa43e3164584d3fd127ce39aefa35cd581a2584deb1dd4ae61eff44a33a73370aeee7312e8aaf8f9d2324c24c409b721593279ff7ce566997dd63", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEf84mSyZKpD4xZFhNP9Enzjmu+jXN\nWBolhN6x3UrmHv9EozpzNwru5zEuiq+PnSMkwkxAm3IVkyef985WaZfdYw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 439, "comment" : "extreme value for k and s^-1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022100b6db6db6249249254924924924924924625bd7a09bec4ca81bcdd9f8fd6b63cc", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "044197f0dcbdd5d3530a4cfcad8ddeed4b5813e592233c7d090d0502983a4ecf3c6f200fd46d47f2efa875322fbf35ba7e882bed8f85119a27276a4a2f366b588d", "wx" : "4197f0dcbdd5d3530a4cfcad8ddeed4b5813e592233c7d090d0502983a4ecf3c", "wy" : "6f200fd46d47f2efa875322fbf35ba7e882bed8f85119a27276a4a2f366b588d" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044197f0dcbdd5d3530a4cfcad8ddeed4b5813e592233c7d090d0502983a4ecf3c6f200fd46d47f2efa875322fbf35ba7e882bed8f85119a27276a4a2f366b588d", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEQZfw3L3V01MKTPytjd7tS1gT5ZIj\nPH0JDQUCmDpOzzxvIA/UbUfy76h1Mi+/Nbp+iCvtj4URmicnakovNmtYjQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 440, "comment" : "extreme value for k and s^-1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022100cccccccc00000000cccccccccccccccc971f2ef152794b9d8fc7d568c9e8eaa7", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04f1b9afdd753bdffc04ff3e33c2c65915a9f7bedbfdd3279f947f35b4a14d2d9eadb8418a4df57af97986ce43174bf198c7e091c4eaa9b9a666aa0894a3bb6d9c", "wx" : "00f1b9afdd753bdffc04ff3e33c2c65915a9f7bedbfdd3279f947f35b4a14d2d9e", "wy" : "00adb8418a4df57af97986ce43174bf198c7e091c4eaa9b9a666aa0894a3bb6d9c" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004f1b9afdd753bdffc04ff3e33c2c65915a9f7bedbfdd3279f947f35b4a14d2d9eadb8418a4df57af97986ce43174bf198c7e091c4eaa9b9a666aa0894a3bb6d9c", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE8bmv3XU73/wE/z4zwsZZFan3vtv9\n0yeflH81tKFNLZ6tuEGKTfV6+XmGzkMXS/GYx+CRxOqpuaZmqgiUo7ttnA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 441, "comment" : "extreme value for k and s^-1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc4766997802203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aaa", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04735ac9c0d6a5e90058d59582f0183d73f123ca72a53ea699a4f266a1a70e79cbef48d0c0589798e8e1d3ee8649382e392fc2fdfa04e3a741feabd1f4ebcd6a06", "wx" : "735ac9c0d6a5e90058d59582f0183d73f123ca72a53ea699a4f266a1a70e79cb", "wy" : "00ef48d0c0589798e8e1d3ee8649382e392fc2fdfa04e3a741feabd1f4ebcd6a06" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004735ac9c0d6a5e90058d59582f0183d73f123ca72a53ea699a4f266a1a70e79cbef48d0c0589798e8e1d3ee8649382e392fc2fdfa04e3a741feabd1f4ebcd6a06", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEc1rJwNal6QBY1ZWC8Bg9c/EjynKl\nPqaZpPJmoacOecvvSNDAWJeY6OHT7oZJOC45L8L9+gTjp0H+q9H0681qBg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 442, "comment" : "extreme value for k and s^-1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022049249248db6db6dbb6db6db6db6db6db5a8b230d0b2b51dcd7ebf0c9fef7c185", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04ccc6d468b340729d2170760c1733eee7d02b2e55cf43f9b08bfc9e5b7010d7c3b1efb87665c83c0a53548e67d3d93f785cb8fae8ae1205165ee4bf74b8f7ee03", "wx" : "00ccc6d468b340729d2170760c1733eee7d02b2e55cf43f9b08bfc9e5b7010d7c3", "wy" : "00b1efb87665c83c0a53548e67d3d93f785cb8fae8ae1205165ee4bf74b8f7ee03" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004ccc6d468b340729d2170760c1733eee7d02b2e55cf43f9b08bfc9e5b7010d7c3b1efb87665c83c0a53548e67d3d93f785cb8fae8ae1205165ee4bf74b8f7ee03", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEzMbUaLNAcp0hcHYMFzPu59ArLlXP\nQ/mwi/yeW3AQ18Ox77h2Zcg8ClNUjmfT2T94XLj66K4SBRZe5L90uPfuAw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 443, "comment" : "extreme value for k", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022016a4502e2781e11ac82cbc9d1edd8c981584d13e18411e2f6e0478c34416e3bb", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04eb92bf0eb559c3e3b575dfeab22e6eb862cb42118341937e3ced1ee63b26f8a5c04c1d41c600a0e50bb27de04a6d055e7b107ca22a35413df36d0c2e1e4a43b5", "wx" : "00eb92bf0eb559c3e3b575dfeab22e6eb862cb42118341937e3ced1ee63b26f8a5", "wy" : "00c04c1d41c600a0e50bb27de04a6d055e7b107ca22a35413df36d0c2e1e4a43b5" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004eb92bf0eb559c3e3b575dfeab22e6eb862cb42118341937e3ced1ee63b26f8a5c04c1d41c600a0e50bb27de04a6d055e7b107ca22a35413df36d0c2e1e4a43b5", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE65K/DrVZw+O1dd/qsi5uuGLLQhGD\nQZN+PO0e5jsm+KXATB1BxgCg5QuyfeBKbQVeexB8oio1QT3zbQwuHkpDtQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 444, "comment" : "extreme value for k and edgecase s", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2960220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "049520013f0f6bdca90b5e22ed60f036c5de75c917248209be2334393f1dd571d2d720b58632682f05e00f63208d2de939b5b4d5642cc84c69f9f4b20d396f1e70", "wx" : "009520013f0f6bdca90b5e22ed60f036c5de75c917248209be2334393f1dd571d2", "wy" : "00d720b58632682f05e00f63208d2de939b5b4d5642cc84c69f9f4b20d396f1e70" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200049520013f0f6bdca90b5e22ed60f036c5de75c917248209be2334393f1dd571d2d720b58632682f05e00f63208d2de939b5b4d5642cc84c69f9f4b20d396f1e70", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAElSABPw9r3KkLXiLtYPA2xd51yRck\nggm+IzQ5Px3VcdLXILWGMmgvBeAPYyCNLek5tbTVZCzITGn59LINOW8ecA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 445, "comment" : "extreme value for k and s^-1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022100b6db6db6249249254924924924924924625bd7a09bec4ca81bcdd9f8fd6b63cc", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0489e153bf43db025658eb24071a17bd0574a203576b0adbf8f1b0a6adbd43caa86aeaf5928b2200721c7b0009948837aa0e7ca973e0e0d195b50292840ba5d292", "wx" : "0089e153bf43db025658eb24071a17bd0574a203576b0adbf8f1b0a6adbd43caa8", "wy" : "6aeaf5928b2200721c7b0009948837aa0e7ca973e0e0d195b50292840ba5d292" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000489e153bf43db025658eb24071a17bd0574a203576b0adbf8f1b0a6adbd43caa86aeaf5928b2200721c7b0009948837aa0e7ca973e0e0d195b50292840ba5d292", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEieFTv0PbAlZY6yQHGhe9BXSiA1dr\nCtv48bCmrb1Dyqhq6vWSiyIAchx7AAmUiDeqDnypc+Dg0ZW1ApKEC6XSkg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 446, "comment" : "extreme value for k and s^-1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304502206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022100cccccccc00000000cccccccccccccccc971f2ef152794b9d8fc7d568c9e8eaa7", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "046202b2eab3a2cb8353d300b9de81743f860c494f45a24eac4dbeb84e43893c7b7cacb33f0fb5c88faaf7d5a92e43c808d527f9db4ee1b56efcc0913a57db9264", "wx" : "6202b2eab3a2cb8353d300b9de81743f860c494f45a24eac4dbeb84e43893c7b", "wy" : "7cacb33f0fb5c88faaf7d5a92e43c808d527f9db4ee1b56efcc0913a57db9264" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046202b2eab3a2cb8353d300b9de81743f860c494f45a24eac4dbeb84e43893c7b7cacb33f0fb5c88faaf7d5a92e43c808d527f9db4ee1b56efcc0913a57db9264", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYgKy6rOiy4NT0wC53oF0P4YMSU9F\nok6sTb64TkOJPHt8rLM/D7XIj6r31akuQ8gI1Sf5207htW78wJE6V9uSZA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 447, "comment" : "extreme value for k and s^-1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c29602203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aaa", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "046a32bb2bd2dd36fb05e6981c19a50ec39d8fcdd288d08679a5cefbfe6b291886e4cd6f74cadbb7e983b2aa4ad8e56204d7f8773e219b303cad5bed3d383ca21c", "wx" : "6a32bb2bd2dd36fb05e6981c19a50ec39d8fcdd288d08679a5cefbfe6b291886", "wy" : "00e4cd6f74cadbb7e983b2aa4ad8e56204d7f8773e219b303cad5bed3d383ca21c" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046a32bb2bd2dd36fb05e6981c19a50ec39d8fcdd288d08679a5cefbfe6b291886e4cd6f74cadbb7e983b2aa4ad8e56204d7f8773e219b303cad5bed3d383ca21c", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEajK7K9LdNvsF5pgcGaUOw52PzdKI\n0IZ5pc77/mspGIbkzW90ytu36YOyqkrY5WIE1/h3PiGbMDytW+09ODyiHA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 448, "comment" : "extreme value for k and s^-1", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022049249248db6db6dbb6db6db6db6db6db5a8b230d0b2b51dcd7ebf0c9fef7c185", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04703825a68948eab7246c5b5ad76ce4532764f39c7ca195488064d2c9995d3aaf2dcd99647b10ad10d7da4cc398090c33eedd9b921dfb8b9d8eed5ad46fc5fe27", "wx" : "703825a68948eab7246c5b5ad76ce4532764f39c7ca195488064d2c9995d3aaf", "wy" : "2dcd99647b10ad10d7da4cc398090c33eedd9b921dfb8b9d8eed5ad46fc5fe27" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004703825a68948eab7246c5b5ad76ce4532764f39c7ca195488064d2c9995d3aaf2dcd99647b10ad10d7da4cc398090c33eedd9b921dfb8b9d8eed5ad46fc5fe27", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEcDglpolI6rckbFta12zkUydk85x8\noZVIgGTSyZldOq8tzZlkexCtENfaTMOYCQwz7t2bkh37i52O7VrUb8X+Jw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 449, "comment" : "extreme value for k", "flags" : [ "ArithmeticError" ], "msg" : "313233343030", "sig" : "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022016a4502e2781e11ac82cbc9d1edd8c981584d13e18411e2f6e0478c34416e3bb", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5", "wx" : "6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296", "wy" : "4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2964fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaxfR8uEsQkf4vOblY6RA8ncDfYEt\n6zOg9KE5RdiYwpZP40Li/hp/m47n60p8D54WK84zV2sxXs7LtkBoN79R9Q==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 450, "comment" : "public key shares x-coordinate with generator", "flags" : [ "PointDuplication" ], "msg" : "313233343030", "sig" : "3045022100c492aebe9f1b702c6747fbd016604d49ad6beb2c57a29c0587bb76a07c988b1a0220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2", "result" : "invalid" }, { "tcId" : 451, "comment" : "public key shares x-coordinate with generator", "flags" : [ "PointDuplication" ], "msg" : "313233343030", "sig" : "304402203b6d514060e48fd498b8042fe99fb2b60f7b0f814f75027f6bfe54227fca9a370220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2", "result" : "invalid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296b01cbd1c01e58065711814b583f061e9d431cca994cea1313449bf97c840ae0a", "wx" : "6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296", "wy" : "00b01cbd1c01e58065711814b583f061e9d431cca994cea1313449bf97c840ae0a" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296b01cbd1c01e58065711814b583f061e9d431cca994cea1313449bf97c840ae0a", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaxfR8uEsQkf4vOblY6RA8ncDfYEt\n6zOg9KE5RdiYwpawHL0cAeWAZXEYFLWD8GHp1DHMqZTOoTE0Sb+XyECuCg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 452, "comment" : "public key shares x-coordinate with generator", "flags" : [ "PointDuplication" ], "msg" : "313233343030", "sig" : "3045022100c492aebe9f1b702c6747fbd016604d49ad6beb2c57a29c0587bb76a07c988b1a0220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2", "result" : "invalid" }, { "tcId" : 453, "comment" : "public key shares x-coordinate with generator", "flags" : [ "PointDuplication" ], "msg" : "313233343030", "sig" : "304402203b6d514060e48fd498b8042fe99fb2b60f7b0f814f75027f6bfe54227fca9a370220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2", "result" : "invalid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "044f337ccfd67726a805e4f1600ae2849df3807eca117380239fbd816900000000ed9dea124cc8c396416411e988c30f427eb504af43a3146cd5df7ea60666d685", "wx" : "4f337ccfd67726a805e4f1600ae2849df3807eca117380239fbd816900000000", "wy" : "00ed9dea124cc8c396416411e988c30f427eb504af43a3146cd5df7ea60666d685" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200044f337ccfd67726a805e4f1600ae2849df3807eca117380239fbd816900000000ed9dea124cc8c396416411e988c30f427eb504af43a3146cd5df7ea60666d685", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAETzN8z9Z3JqgF5PFgCuKEnfOAfsoR\nc4Ajn72BaQAAAADtneoSTMjDlkFkEemIww9CfrUEr0OjFGzV336mBmbWhQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 454, "comment" : "x-coordinate of the public key has many trailing 0's", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "304402202c10d91d1318f5b27afcc32e6bc738a5abbc9a71aea5b1652f00a563196758c502207443772064442e792677d28fbd81fc6e233418c833f3edec76d8987e8c70f71b", "result" : "valid" }, { "tcId" : 455, "comment" : "x-coordinate of the public key has many trailing 0's", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3045022100b6519ac2e174a07f9a7ad134a32e983e9db2c7bfbb8925e8834b64bc807c7394022007588b28feb8ec6a490556bcce24daf7dfca578e9427e27ba64ed53f3eb87e66", "result" : "valid" }, { "tcId" : 456, "comment" : "x-coordinate of the public key has many trailing 0's", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "30450220160aad2908a5ab926d6f087c767df631b8a9414992e9da0ab21c48a4ee8941dc022100a0fd0c20d2f9fbe0ed3b824f794ad98d4753a355894906b299a196bc778f5fcd", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "043cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f49726500493584fa174d791c72bf2ce3880a8960dd2a7c7a1338a82f85a9e59cdbde80000000", "wx" : "3cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f497265004935", "wy" : "0084fa174d791c72bf2ce3880a8960dd2a7c7a1338a82f85a9e59cdbde80000000" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f49726500493584fa174d791c72bf2ce3880a8960dd2a7c7a1338a82f85a9e59cdbde80000000", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPPA9YU2JOc/UmaB4c/rCgWGPBrj/\nh+gBXD9JcmUASTWE+hdNeRxyvyzjiAqJYN0qfHoTOKgvhanlnNvegAAAAA==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 457, "comment" : "y-coordinate of the public key has many trailing 0's", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3046022100d4b02085c37240f5075a3cfa0b2b8faeeab1d1dae834af23d884e82c144269e8022100edd3885946a815684b73779540d878b336462dec7b4e6e9637f90bca32edcb7f", "result" : "valid" }, { "tcId" : 458, "comment" : "y-coordinate of the public key has many trailing 0's", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3044022057c49615238d2651220b32773d6a795a0d85a1f2015b6852c4368e4c252885b002201ed3750d6bb0bcdc221ca7432f1adc4e1c30d95811adb8c9afa91e968647e995", "result" : "valid" }, { "tcId" : 459, "comment" : "y-coordinate of the public key has many trailing 0's", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3044022016c3732fb886181503295862c9d1c41d98dbe806744e17e801277cefcbe1063702206d21bc51afac3590ea30ed7d0bc100361ed4fd64ce6955d9a8ca81a65f1a74da", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "043cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f4972650049357b05e8b186e38d41d31c77f5769f22d58385ecc857d07a561a6324217fffffff", "wx" : "3cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f497265004935", "wy" : "7b05e8b186e38d41d31c77f5769f22d58385ecc857d07a561a6324217fffffff" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200043cf03d614d8939cfd499a07873fac281618f06b8ff87e8015c3f4972650049357b05e8b186e38d41d31c77f5769f22d58385ecc857d07a561a6324217fffffff", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPPA9YU2JOc/UmaB4c/rCgWGPBrj/\nh+gBXD9JcmUASTV7BeixhuONQdMcd/V2nyLVg4XsyFfQelYaYyQhf////w==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 460, "comment" : "y-coordinate of the public key has many trailing 1's", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "30440220217365c910f46179ff1aac36a2bc7d1ffd13c0f30235c00170eb347c258b7aeb02207dead36f49b320068586d9e920e563ff932abad07257bb8b194dadf06347bb8c", "result" : "valid" }, { "tcId" : 461, "comment" : "y-coordinate of the public key has many trailing 1's", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3046022100adbba2e045068c7f1c668757640cc716fd08ead03a2602223bd96518a265bc16022100d22fe3c19843582a84f4dfb2e18f0f9eee238b36f46f0ab3606566a689f43796", "result" : "valid" }, { "tcId" : 462, "comment" : "y-coordinate of the public key has many trailing 1's", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3044022056d7bd4a82e206572e215f86616056c28a0ca8169a9781e7baa1d36ddba151a002207874778612563a82baec17ffc8f88fc6e26228d1f5bb73e726c3e87343c3a42b", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "042829c31faa2e400e344ed94bca3fcd0545956ebcfe8ad0f6dfa5ff8effffffffa01aafaf000e52585855afa7676ade284113099052df57e7eb3bd37ebeb9222e", "wx" : "2829c31faa2e400e344ed94bca3fcd0545956ebcfe8ad0f6dfa5ff8effffffff", "wy" : "00a01aafaf000e52585855afa7676ade284113099052df57e7eb3bd37ebeb9222e" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042829c31faa2e400e344ed94bca3fcd0545956ebcfe8ad0f6dfa5ff8effffffffa01aafaf000e52585855afa7676ade284113099052df57e7eb3bd37ebeb9222e", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKCnDH6ouQA40TtlLyj/NBUWVbrz+\nitD236X/jv////+gGq+vAA5SWFhVr6dnat4oQRMJkFLfV+frO9N+vrkiLg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 463, "comment" : "x-coordinate of the public key has many trailing 1's", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "304402204534b67d3114f5604d51e78e68d4ba8c575c4779762c7e8368215047fb6851bc022063804b6c662db804aefd294223f632a56c89c94b91965f7e3ed26eaf36183466", "result" : "valid" }, { "tcId" : 464, "comment" : "x-coordinate of the public key has many trailing 1's", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3045022042f81d9bff49ce6e1622227260c2c357dd1d132dcdf4b5edc02d164a4eaacff2022100df96e1f1b914db001167d6658c2452c942f3d71cd1e13f7abbfbb44bc0655dbe", "result" : "valid" }, { "tcId" : 465, "comment" : "x-coordinate of the public key has many trailing 1's", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3045022100afbe80b9a303c0e67ba9901edd454d525abd4ef50fad218ac7b1434dc6308abb022067a50b422e3f77ee16d96428749a6d2e2f04faeab714683ecc0e25deb150f2bf", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04fffffff948081e6a0458dd8f9e738f2665ff9059ad6aac0708318c4ca9a7a4f55a8abcba2dda8474311ee54149b973cae0c0fb89557ad0bf78e6529a1663bd73", "wx" : "00fffffff948081e6a0458dd8f9e738f2665ff9059ad6aac0708318c4ca9a7a4f5", "wy" : "5a8abcba2dda8474311ee54149b973cae0c0fb89557ad0bf78e6529a1663bd73" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004fffffff948081e6a0458dd8f9e738f2665ff9059ad6aac0708318c4ca9a7a4f55a8abcba2dda8474311ee54149b973cae0c0fb89557ad0bf78e6529a1663bd73", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE////+UgIHmoEWN2PnnOPJmX/kFmt\naqwHCDGMTKmnpPVairy6LdqEdDEe5UFJuXPK4MD7iVV60L945lKaFmO9cw==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 466, "comment" : "x-coordinate of the public key is large", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3045022100bb9806f4096fa9d06be01a289d93f9a0f4fee7c4f7f50e2f836587a3afab801a022019b0b15dfcd85c9d43f7ace71c58663b952ae969fe6726fd8b8bff0f9ccadb60", "result" : "valid" }, { "tcId" : 467, "comment" : "x-coordinate of the public key is large", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3046022100dac916d79043130d8b8d923a8b340653c965c1ce1728f8f72565b3fa4a580a60022100acbae898b2547d4df49619aa6c138a9b854544c7f3b898ffd2c83aa4e39bbe80", "result" : "valid" }, { "tcId" : 468, "comment" : "x-coordinate of the public key is large", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3044022017582bf39fcffad8d57969b5b06d76b867b6d8a1dc0be5cff16d005b86d56af7022027d3761f9f4a00663aa61ce61f72940a843480df726ee2e6330e497f086f0f76", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "0400000003fa15f963949d5f03a6f5c7f86f9e0015eeb23aebbff1173937ba748e1099872070e8e87c555fa13659cca5d7fadcfcb0023ea889548ca48af2ba7e71", "wx" : "03fa15f963949d5f03a6f5c7f86f9e0015eeb23aebbff1173937ba748e", "wy" : "1099872070e8e87c555fa13659cca5d7fadcfcb0023ea889548ca48af2ba7e71" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000400000003fa15f963949d5f03a6f5c7f86f9e0015eeb23aebbff1173937ba748e1099872070e8e87c555fa13659cca5d7fadcfcb0023ea889548ca48af2ba7e71", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAAAAA/oV+WOUnV8DpvXH+G+eABXu\nsjrrv/EXOTe6dI4QmYcgcOjofFVfoTZZzKXX+tz8sAI+qIlUjKSK8rp+cQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 469, "comment" : "x-coordinate of the public key is small", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "304402207838c7ff7e15ceb28f00410587268ca3d5b07e3f6fcedabc13d40b57ae43f0ef022019d54c6cb2d5855d7c9e598eb32e59a2e1501177dd7a75336d448fa5c0d35fe2", "result" : "valid" }, { "tcId" : 470, "comment" : "x-coordinate of the public key is small", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3046022100a53a14621b47203fe350cad85a9b82c853c77cccaaef590e66e1d57b402d4e47022100cf21e459bf867058a3095ae24967a42b2af778f64c95634a53b394cfb53d90b6", "result" : "valid" }, { "tcId" : 471, "comment" : "x-coordinate of the public key is small", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "304502203df2e4c6224849ac7edf9227319a8f3bceaa9b78deff7911553c146d046d9e6c022100a394ed9d3ef9b531b0e135f2cb6ea9ba45b22a822fabf540d9d5e66cd67b7e2f", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015000000001352bb4a0fa2ea4cceb9ab63dd684ade5a1127bcf300a698a7193bc2", "wx" : "00bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015", "wy" : "1352bb4a0fa2ea4cceb9ab63dd684ade5a1127bcf300a698a7193bc2" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015000000001352bb4a0fa2ea4cceb9ab63dd684ade5a1127bcf300a698a7193bc2", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEvLspFMefBF6qbsu8YSgWs75dLWeW\ncH2BJen4UcGK8BUAAAAAE1K7Sg+i6kzOuatj3WhK3loRJ7zzAKaYpxk7wg==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 472, "comment" : "y-coordinate of the public key is small", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3046022100beb8a1946a7fc09e7ddc33a80ac0eefc8507eaa13d48c57fbb0e57dbdbba419d022100dd3f6c4e55e33c35223eb65b302aac9964c0e67489a751389770d7166a79af57", "result" : "valid" }, { "tcId" : 473, "comment" : "y-coordinate of the public key is small", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3046022100bf7a42006886db71c687274665059f6d37da02b2f8b693ebef351d1115605b05022100cdbe4c298d08e96ce8452fe339a001a8c5ed67b352affb14691c63729b1f0d4f", "result" : "valid" }, { "tcId" : 474, "comment" : "y-coordinate of the public key is small", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "304502210096639ac1d503ed693e0baa1a8e851220e06abfafc99e69faee923dd861b4b6d2022075d27edf39af188efc663afbf753401f738b77bce3f09c2ac2c3d60b2ee7c091", "result" : "valid" } ] }, { "type" : "EcdsaVerify", "publicKey" : { "type" : "EcPublicKey", "curve" : "secp256r1", "keySize" : 256, "uncompressed" : "04bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015fffffffeecad44b6f05d15b33146549c2297b522a5eed8430cff596758e6c43d", "wx" : "00bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015", "wy" : "00fffffffeecad44b6f05d15b33146549c2297b522a5eed8430cff596758e6c43d" }, "publicKeyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004bcbb2914c79f045eaa6ecbbc612816b3be5d2d6796707d8125e9f851c18af015fffffffeecad44b6f05d15b33146549c2297b522a5eed8430cff596758e6c43d", "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEvLspFMefBF6qbsu8YSgWs75dLWeW\ncH2BJen4UcGK8BX////+7K1EtvBdFbMxRlScIpe1IqXu2EMM/1lnWObEPQ==\n-----END PUBLIC KEY-----\n", "sha" : "SHAKE128", "tests" : [ { "tcId" : 475, "comment" : "y-coordinate of the public key is large", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3046022100858b6763304e52f76be647c81de77658cd68ec794b91b1ef61bf35f5a2fda5df022100d198c4ac2dd035f04b876d0825a2ad97e59211ec9d977d7f0a68612a57c09d3f", "result" : "valid" }, { "tcId" : 476, "comment" : "y-coordinate of the public key is large", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3046022100a87b8ebf282492b3941990dd865d30752ceadaf5fa18b79b9362eddcf900476e022100b038bd552cf8ed50a3832222603890cf0fa18b460f660105eb625598e9b4f6f1", "result" : "valid" }, { "tcId" : 477, "comment" : "y-coordinate of the public key is large", "flags" : [ "EdgeCasePublicKey" ], "msg" : "4d657373616765", "sig" : "3046022100c2647c6784b38cc7050b6f85b4c96ba98f8bcaa4c2d77061470e2e49647d0c6d022100e9ba6ff9ed3c26bb4614a5d5d74fbd8d567ed15f02005d704fe861e8ef5f88f9", "result" : "valid" } ] } ] }