| { |
| "algorithm": "ECDSA", |
| "schema": "ecdsa_verify_schema_v1.json", |
| "numberOfTests": 474, |
| "header": [ |
| "Test vectors of type EcdsaVerify are meant for the verification", |
| "of ASN encoded ECDSA signatures." |
| ], |
| "notes": { |
| "ArithmeticError": { |
| "bugType": "EDGE_CASE", |
| "description": "Some implementations of ECDSA have arithmetic errors that occur when intermediate results have extreme values. This test vector has been constructed to test such occurrences.", |
| "cves": [ |
| "CVE-2017-18146" |
| ] |
| }, |
| "BerEncodedSignature": { |
| "bugType": "BER_ENCODING", |
| "description": "ECDSA signatures are usually DER encoded. This signature contains valid values for r and s, but it uses alternative BER encoding.", |
| "effect": "Accepting alternative BER encodings may be benign in some cases, or be an issue if protocol requires signature malleability.", |
| "cves": [ |
| "CVE-2020-14966", |
| "CVE-2020-13822", |
| "CVE-2019-14859", |
| "CVE-2016-1000342" |
| ] |
| }, |
| "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 knowing the message to sign.", |
| "cves": [ |
| "CVE-2022-21449", |
| "CVE-2021-43572", |
| "CVE-2022-24884" |
| ] |
| }, |
| "InvalidTypesInSignature": { |
| "bugType": "AUTH_BYPASS", |
| "description": "The signature contains invalid types. Dynamic typed languages sometime coerce such values of different types into integers. If an implementation is careless and has additional bugs, such as not checking integer boundaries then it may be possible that such signatures are accepted.", |
| "effect": "Accepting such signatures can have the effect that an adversary can forge signatures without even knowing the message to sign.", |
| "cves": [ |
| "CVE-2022-21449" |
| ] |
| }, |
| "MissingZero": { |
| "bugType": "LEGACY", |
| "description": "Some implementations of ECDSA and DSA incorrectly encode r and s by not including leading zeros in the ASN encoding of integers when necessary. Hence, some implementations (e.g. jdk) allow signatures with incorrect ASN encodings assuming that the signature is otherwise valid.", |
| "effect": "While signatures are more malleable if such signatures are accepted, this typically leads to no vulnerability, since a badly encoded signature can be reencoded correctly." |
| }, |
| "ModifiedInteger": { |
| "bugType": "CAN_OF_WORMS", |
| "description": "The test vector contains an r and s that has been modified. The goal is to check for arithmetic errors.", |
| "effect": "Without further analysis it is unclear if the modification can be used to forge signatures." |
| }, |
| "ModifiedSignature": { |
| "bugType": "CAN_OF_WORMS", |
| "description": "The test vector contains an invalid signature that was generated from a valid signature by modifying it.", |
| "effect": "Without further analysis it is unclear if the modification can be used to forge signatures." |
| }, |
| "ModularInverse": { |
| "bugType": "EDGE_CASE", |
| "description": "The test vectors contains a signature where computing the modular inverse of s hits an edge case.", |
| "effect": "While the signature in this test vector is constructed and similar cases are unlikely to occur, it is important to determine if the underlying arithmetic error can be used to forge signatures.", |
| "cves": [ |
| "CVE-2019-0865" |
| ] |
| }, |
| "PointDuplication": { |
| "bugType": "EDGE_CASE", |
| "description": "Some implementations of ECDSA do not handle duplication and points at infinity correctly. This is a test vector that has been specially crafted to check for such an omission.", |
| "cves": [ |
| "2020-12607", |
| "CVE-2015-2730" |
| ] |
| }, |
| "RangeCheck": { |
| "bugType": "CAN_OF_WORMS", |
| "description": "The test vector contains an r and s that has been modified. By adding or subtracting the order of the group (or other values) the test vector checks whether signature verification verifies the range of r and s.", |
| "effect": "Without further analysis it is unclear if the modification can be used to forge signatures." |
| }, |
| "SmallRandS": { |
| "bugType": "EDGE_CASE", |
| "description": "The test vectors contains a signature where both r and s are small integers. Some libraries cannot verify such signatures.", |
| "effect": "While the signature in this test vector is constructed and similar cases are unlikely to occur, it is important to determine if the underlying arithmetic error can be used to forge signatures.", |
| "cves": [ |
| "2020-13895" |
| ] |
| }, |
| "SpecialCaseHash": { |
| "bugType": "EDGE_CASE", |
| "description": "The test vector contains a signature where the hash of the message is a special case, e.g., contains a long run of 0 or 1 bits." |
| }, |
| "ValidSignature": { |
| "bugType": "BASIC", |
| "description": "The test vector contains a valid signature that was generated pseudorandomly. Such signatures should not fail to verify unless some of the parameters (e.g. curve or hash function) are not supported." |
| } |
| }, |
| "testGroups": [ |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "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": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 1, |
| "comment": "pseudorandom signature", |
| "flags": [ |
| "ValidSignature" |
| ], |
| "msg": "", |
| "sig": "3045022100b292a619339f6e567a305c951c0dcbcc42d16e47f219f9e98e76e09d8770b34a02200177e60492c5a8242f76f07bfe3661bde59ec2a17ce5bd2dab2abebdf89a62e2", |
| "result": "valid" |
| }, |
| { |
| "tcId": 2, |
| "comment": "pseudorandom signature", |
| "flags": [ |
| "ValidSignature" |
| ], |
| "msg": "4d7367", |
| "sig": "30450220530bd6b0c9af2d69ba897f6b5fb59695cfbf33afe66dbadcf5b8d2a2a6538e23022100d85e489cb7a161fd55ededcedbf4cc0c0987e3e3f0f242cae934c72caa3f43e9", |
| "result": "valid" |
| }, |
| { |
| "tcId": 3, |
| "comment": "pseudorandom signature", |
| "flags": [ |
| "ValidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3046022100a8ea150cb80125d7381c4c1f1da8e9de2711f9917060406a73d7904519e51388022100f3ab9fa68bd47973a73b2d40480c2ba50c22c9d76ec217257288293285449b86", |
| "result": "valid" |
| }, |
| { |
| "tcId": 4, |
| "comment": "pseudorandom signature", |
| "flags": [ |
| "ValidSignature" |
| ], |
| "msg": "0000000000000000000000000000000000000000", |
| "sig": "3045022100986e65933ef2ed4ee5aada139f52b70539aaf63f00a91f29c69178490d57fb7102203dafedfb8da6189d372308cbf1489bbbdabf0c0217d1c0ff0f701aaa7a694b9c", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "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": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 5, |
| "comment": "signature malleability", |
| "flags": [ |
| "ValidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1802204cd60b855d442f5b3c7b11eb6c4e0ae7525fe710fab9aa7c77a67f79e6fadd76", |
| "result": "valid" |
| }, |
| { |
| "tcId": 6, |
| "comment": "Legacy: ASN encoding of s misses leading 0", |
| "flags": [ |
| "MissingZero" |
| ], |
| "msg": "313233343030", |
| "sig": "304402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180220b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 7, |
| "comment": "valid", |
| "flags": [ |
| "ValidSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "valid" |
| }, |
| { |
| "tcId": 8, |
| "comment": "length of sequence [r, s] uses long form encoding", |
| "flags": [ |
| "BerEncodedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30814502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 9, |
| "comment": "length of sequence [r, s] contains a leading 0", |
| "flags": [ |
| "BerEncodedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3082004502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 10, |
| "comment": "length of sequence [r, s] uses 70 instead of 69", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304602202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 11, |
| "comment": "length of sequence [r, s] uses 68 instead of 69", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 12, |
| "comment": "uint32 overflow in length of sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3085010000004502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 13, |
| "comment": "uint64 overflow in length of sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "308901000000000000004502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 14, |
| "comment": "length of sequence [r, s] = 2**31 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30847fffffff02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 15, |
| "comment": "length of sequence [r, s] = 2**31", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30848000000002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 16, |
| "comment": "length of sequence [r, s] = 2**32 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3084ffffffff02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 17, |
| "comment": "length of sequence [r, s] = 2**40 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3085ffffffffff02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 18, |
| "comment": "length of sequence [r, s] = 2**64 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3088ffffffffffffffff02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 19, |
| "comment": "incorrect length of sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30ff02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 20, |
| "comment": "replaced sequence [r, s] by an indefinite length tag without termination", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "308002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "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": "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 24, |
| "comment": "prepending 0's to sequence [r, s]", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3047000002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 25, |
| "comment": "appending unused 0's to sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 26, |
| "comment": "appending null value to sequence [r, s]", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 27, |
| "comment": "prepending garbage to sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304a498177304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 28, |
| "comment": "prepending garbage to sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30492500304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 29, |
| "comment": "appending garbage to sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3047304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0004deadbeef", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 30, |
| "comment": "including undefined tags", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304daa00bb00cd00304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 31, |
| "comment": "including undefined tags", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304d2228aa00bb00cd0002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 32, |
| "comment": "including undefined tags", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304d02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e182229aa00bb00cd00022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "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": "304baa02aabb304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 35, |
| "comment": "using composition with indefinite length for sequence [r, s]", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3080304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 36, |
| "comment": "using composition with wrong tag for sequence [r, s]", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3080314502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000", |
| "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": "2e4502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 39, |
| "comment": "changing tag value of sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "2f4502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 40, |
| "comment": "changing tag value of sequence [r, s]", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "314502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 41, |
| "comment": "changing tag value of sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "324502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 42, |
| "comment": "changing tag value of sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "ff4502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "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": "30493001023044202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 45, |
| "comment": "truncated sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 46, |
| "comment": "truncated sequence [r, s]", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3044202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 47, |
| "comment": "sequence [r, s] of size 4166 to check for overflows", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3082104602202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 48, |
| "comment": "indefinite length", |
| "flags": [ |
| "BerEncodedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "308002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 49, |
| "comment": "indefinite length with truncated delimiter", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "308002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db00", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 50, |
| "comment": "indefinite length with additional element", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "308002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db05000000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 51, |
| "comment": "indefinite length with truncated element", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "308002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db060811220000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 52, |
| "comment": "indefinite length with garbage", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "308002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000fe02beef", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 53, |
| "comment": "indefinite length with nonempty EOC", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "308002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0002beef", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 54, |
| "comment": "prepend empty sequence", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3047300002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 55, |
| "comment": "append empty sequence", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db3000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 56, |
| "comment": "append zero", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304802202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 57, |
| "comment": "append garbage with high tag number", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304802202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847dbbf7f00", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 58, |
| "comment": "append null with explicit tag", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304902202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847dba0020500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 59, |
| "comment": "append null with implicit tag", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847dba000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 60, |
| "comment": "sequence of sequence", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3047304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 61, |
| "comment": "truncated sequence: removed last 1 elements", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302202202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 62, |
| "comment": "repeating element in sequence", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "306802202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 63, |
| "comment": "flipped bit 0 in r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30432ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e19022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 64, |
| "comment": "flipped bit 32 in r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30432ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af8bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 65, |
| "comment": "flipped bit 48 in r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30432ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cd6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 66, |
| "comment": "flipped bit 64 in r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30432ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee858b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 67, |
| "comment": "length of r uses long form encoding", |
| "flags": [ |
| "BerEncodedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30460281202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 68, |
| "comment": "length of r contains a leading 0", |
| "flags": [ |
| "BerEncodedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3047028200202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 69, |
| "comment": "length of r uses 33 instead of 32", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304502212ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 70, |
| "comment": "length of r uses 31 instead of 32", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3045021f2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 71, |
| "comment": "uint32 overflow in length of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304a028501000000202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 72, |
| "comment": "uint64 overflow in length of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304e02890100000000000000202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 73, |
| "comment": "length of r = 2**31 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304902847fffffff2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 74, |
| "comment": "length of r = 2**31", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30490284800000002ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 75, |
| "comment": "length of r = 2**32 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30490284ffffffff2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 76, |
| "comment": "length of r = 2**40 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304a0285ffffffffff2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 77, |
| "comment": "length of r = 2**64 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304d0288ffffffffffffffff2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 78, |
| "comment": "incorrect length of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304502ff2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 79, |
| "comment": "replaced r by an indefinite length tag without termination", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304502802ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 80, |
| "comment": "removing r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3023022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 81, |
| "comment": "lonely integer tag", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302402022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 82, |
| "comment": "lonely integer tag", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302302202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1802", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 83, |
| "comment": "appending 0's to r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304702222ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180000022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 84, |
| "comment": "prepending 0's to r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3047022200002ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 85, |
| "comment": "appending unused 0's to r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180000022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 86, |
| "comment": "appending null value to r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304702222ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180500022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 87, |
| "comment": "prepending garbage to r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304a222549817702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 88, |
| "comment": "prepending garbage to r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30492224250002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 89, |
| "comment": "appending garbage to r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304d222202202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180004deadbeef022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 90, |
| "comment": "truncated length of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30250281022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 91, |
| "comment": "including undefined tags to r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304b2226aa02aabb02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 92, |
| "comment": "using composition with indefinite length for r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3049228002202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180000022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 93, |
| "comment": "using composition with wrong tag for r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3049228003202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180000022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 94, |
| "comment": "Replacing r with NULL", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30250500022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 95, |
| "comment": "changing tag value of r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304500202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 96, |
| "comment": "changing tag value of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304501202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 97, |
| "comment": "changing tag value of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304503202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 98, |
| "comment": "changing tag value of r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304504202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 99, |
| "comment": "changing tag value of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3045ff202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 100, |
| "comment": "dropping value of r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "30250200022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 101, |
| "comment": "using composition for r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "3049222402012b021fa3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 102, |
| "comment": "modifying first byte of r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3045022029a3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 103, |
| "comment": "modifying last byte of r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e98022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 104, |
| "comment": "truncated r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3044021f2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 105, |
| "comment": "truncated r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3044021fa3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 106, |
| "comment": "r of size 4129 to check for overflows", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30821048028210212ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 107, |
| "comment": "leading ff in r", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "30460221ff2ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 108, |
| "comment": "replaced r by infinity", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3026090180022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 109, |
| "comment": "replacing r with zero", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3026020100022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 110, |
| "comment": "flipped bit 0 in s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304302202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1800b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847da", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 111, |
| "comment": "flipped bit 32 in s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304302202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1800b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b48156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 112, |
| "comment": "flipped bit 48 in s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304302202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1800b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c124b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 113, |
| "comment": "flipped bit 64 in s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304302202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1800b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4097c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 114, |
| "comment": "length of s uses long form encoding", |
| "flags": [ |
| "BerEncodedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304602202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1802812100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 115, |
| "comment": "length of s contains a leading 0", |
| "flags": [ |
| "BerEncodedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180282002100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 116, |
| "comment": "length of s uses 34 instead of 33", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022200b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 117, |
| "comment": "length of s uses 32 instead of 33", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022000b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 118, |
| "comment": "uint32 overflow in length of s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304a02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180285010000002100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 119, |
| "comment": "uint64 overflow in length of s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304e02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18028901000000000000002100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 120, |
| "comment": "length of s = 2**31 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304902202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1802847fffffff00b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 121, |
| "comment": "length of s = 2**31", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304902202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1802848000000000b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 122, |
| "comment": "length of s = 2**32 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304902202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180284ffffffff00b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 123, |
| "comment": "length of s = 2**40 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304a02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180285ffffffffff00b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 124, |
| "comment": "length of s = 2**64 - 1", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304d02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180288ffffffffffffffff00b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 125, |
| "comment": "incorrect length of s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1802ff00b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 126, |
| "comment": "replaced s by an indefinite length tag without termination", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18028000b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 127, |
| "comment": "appending 0's to s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022300b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 128, |
| "comment": "prepending 0's to s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180223000000b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 129, |
| "comment": "appending null value to s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304702202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022300b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 130, |
| "comment": "prepending garbage to s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304a02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e182226498177022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 131, |
| "comment": "prepending garbage to s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304902202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1822252500022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 132, |
| "comment": "appending garbage to s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304d02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e182223022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0004deadbeef", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 133, |
| "comment": "truncated length of s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180281", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 134, |
| "comment": "including undefined tags to s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304b02202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e182227aa02aabb022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 135, |
| "comment": "using composition with indefinite length for s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304902202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e182280022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 136, |
| "comment": "using composition with wrong tag for s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304902202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e182280032100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 137, |
| "comment": "Replacing s with NULL", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180500", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 138, |
| "comment": "changing tag value of s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18002100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 139, |
| "comment": "changing tag value of s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18012100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 140, |
| "comment": "changing tag value of s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18032100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 141, |
| "comment": "changing tag value of s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18042100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 142, |
| "comment": "changing tag value of s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18ff2100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 143, |
| "comment": "dropping value of s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "302402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180200", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 144, |
| "comment": "using composition for s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "313233343030", |
| "sig": "304902202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e1822250201000220b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 145, |
| "comment": "modifying first byte of s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022102b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 146, |
| "comment": "modifying last byte of s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b491568475b", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 147, |
| "comment": "truncated s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304402202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022000b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 148, |
| "comment": "s of size 4130 to check for overflows", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "3082104802202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180282102200b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 149, |
| "comment": "leading ff in s", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "304602202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e180222ff00b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 150, |
| "comment": "replaced s by infinity", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18090180", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 151, |
| "comment": "replacing s with zero", |
| "flags": [ |
| "ModifiedSignature" |
| ], |
| "msg": "313233343030", |
| "sig": "302502202ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18020100", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 152, |
| "comment": "replaced r by r + n", |
| "flags": [ |
| "RangeCheck" |
| ], |
| "msg": "313233343030", |
| "sig": "30460221012ba3a8bd6b94d5ed80a6d9d1190a436ebccc0833490686deac8635bcb9bf5369022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 153, |
| "comment": "replaced r by r - n", |
| "flags": [ |
| "RangeCheck" |
| ], |
| "msg": "313233343030", |
| "sig": "30460221ff2ba3a8bf6b94d5eb80a6d9d1190a436f42fe12d7fad749d4c512a036c0f908c7022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 154, |
| "comment": "replaced r by r + 256 * n", |
| "flags": [ |
| "RangeCheck" |
| ], |
| "msg": "313233343030", |
| "sig": "3047022201002ba3a7be6b94d6ec80a6d9d1190a432be6dfbb2cb98d6d4d72972df620817f18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 155, |
| "comment": "replaced r by -r", |
| "flags": [ |
| "ModifiedInteger" |
| ], |
| "msg": "313233343030", |
| "sig": "30450220d45c5741946b2a137f59262ee6f5bc91001af27a5e1117a64733950642a3d1e8022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 156, |
| "comment": "replaced r by n - r", |
| "flags": [ |
| "ModifiedInteger" |
| ], |
| "msg": "313233343030", |
| "sig": "3046022100d45c5740946b2a147f59262ee6f5bc90bd01ed280528b62b3aed5fc93f06f739022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 157, |
| "comment": "replaced r by -n - r", |
| "flags": [ |
| "ModifiedInteger" |
| ], |
| "msg": "313233343030", |
| "sig": "30460221fed45c5742946b2a127f59262ee6f5bc914333f7ccb6f979215379ca434640ac97022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 158, |
| "comment": "replaced r by r + 2**256", |
| "flags": [ |
| "IntegerOverflow" |
| ], |
| "msg": "313233343030", |
| "sig": "30460221012ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 159, |
| "comment": "replaced r by r + 2**320", |
| "flags": [ |
| "IntegerOverflow" |
| ], |
| "msg": "313233343030", |
| "sig": "304e02290100000000000000002ba3a8be6b94d5ec80a6d9d1190a436effe50d85a1eee859b8cc6af9bd5c2e18022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 160, |
| "comment": "replaced s by s + n", |
| "flags": [ |
| "RangeCheck" |
| ], |
| "msg": "313233343030", |
| "sig": "3046022101b329f478a2bbd0a6c384ee1493b1f518276e0e4a5375928d6fcd160c11cb6d2c022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 161, |
| "comment": "replaced s by s - n", |
| "flags": [ |
| "RangeCheck" |
| ], |
| "msg": "313233343030", |
| "sig": "30450220b329f47aa2bbd0a4c384ee1493b1f518ada018ef05465583885980861905228a022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 162, |
| "comment": "replaced s by s + 256 * n", |
| "flags": [ |
| "RangeCheck" |
| ], |
| "msg": "313233343030", |
| "sig": "304702220100b329f379a2bbd1a5c384ee1493b1f4d55181c143c3fc78fc35de0e45788d98db022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 163, |
| "comment": "replaced s by -s", |
| "flags": [ |
| "ModifiedInteger" |
| ], |
| "msg": "313233343030", |
| "sig": "30460221ff4cd60b865d442f5a3c7b11eb6c4e0ae79578ec6353a20bf783ecb4b6ea97b825022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 164, |
| "comment": "replaced s by -n - s", |
| "flags": [ |
| "ModifiedInteger" |
| ], |
| "msg": "313233343030", |
| "sig": "30460221fe4cd60b875d442f593c7b11eb6c4e0ae7d891f1b5ac8a6d729032e9f3ee3492d4022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 165, |
| "comment": "replaced s by s + 2**256", |
| "flags": [ |
| "IntegerOverflow" |
| ], |
| "msg": "313233343030", |
| "sig": "3046022101b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 166, |
| "comment": "replaced s by s - 2**256", |
| "flags": [ |
| "IntegerOverflow" |
| ], |
| "msg": "313233343030", |
| "sig": "30450220b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 167, |
| "comment": "replaced s by s + 2**320", |
| "flags": [ |
| "IntegerOverflow" |
| ], |
| "msg": "313233343030", |
| "sig": "304e0229010000000000000000b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db022100b329f479a2bbd0a5c384ee1493b1f5186a87139cac5df4087c134b49156847db", |
| "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": "3639383139", |
| "sig": "3044022064a1aab5000d0e804f3e2fc02bdee9be8ff312334e2ba16d11547c97711c898e02206af015971cc30be6d1a206d4e013e0997772a2f91d73286ffd683b9bb2cf4f1b", |
| "result": "valid" |
| }, |
| { |
| "tcId": 296, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "343236343739373234", |
| "sig": "3044022016aea964a2f6506d6f78c81c91fc7e8bded7d397738448de1e19a0ec580bf2660220252cd762130c6667cfe8b7bc47d27d78391e8e80c578d1cd38c3ff033be928e9", |
| "result": "valid" |
| }, |
| { |
| "tcId": 297, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "37313338363834383931", |
| "sig": "30450221009cc98be2347d469bf476dfc26b9b733df2d26d6ef524af917c665baccb23c8820220093496459effe2d8d70727b82462f61d0ec1b7847929d10ea631dacb16b56c32", |
| "result": "valid" |
| }, |
| { |
| "tcId": 298, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "3130333539333331363638", |
| "sig": "3044022073b3c90ecd390028058164524dde892703dce3dea0d53fa8093999f07ab8aa4302202f67b0b8e20636695bb7d8bf0a651c802ed25a395387b5f4188c0c4075c88634", |
| "result": "valid" |
| }, |
| { |
| "tcId": 299, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33393439343031323135", |
| "sig": "3046022100bfab3098252847b328fadf2f89b95c851a7f0eb390763378f37e90119d5ba3dd022100bdd64e234e832b1067c2d058ccb44d978195ccebb65c2aaf1e2da9b8b4987e3b", |
| "result": "valid" |
| }, |
| { |
| "tcId": 300, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31333434323933303739", |
| "sig": "30440220204a9784074b246d8bf8bf04a4ceb1c1f1c9aaab168b1596d17093c5cd21d2cd022051cce41670636783dc06a759c8847868a406c2506fe17975582fe648d1d88b52", |
| "result": "valid" |
| }, |
| { |
| "tcId": 301, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33373036323131373132", |
| "sig": "3046022100ed66dc34f551ac82f63d4aa4f81fe2cb0031a91d1314f835027bca0f1ceeaa0302210099ca123aa09b13cd194a422e18d5fda167623c3f6e5d4d6abb8953d67c0c48c7", |
| "result": "valid" |
| }, |
| { |
| "tcId": 302, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "333433363838373132", |
| "sig": "30450220060b700bef665c68899d44f2356a578d126b062023ccc3c056bf0f60a237012b0221008d186c027832965f4fcc78a3366ca95dedbb410cbef3f26d6be5d581c11d3610", |
| "result": "valid" |
| }, |
| { |
| "tcId": 303, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31333531353330333730", |
| "sig": "30460221009f6adfe8d5eb5b2c24d7aa7934b6cf29c93ea76cd313c9132bb0c8e38c96831d022100b26a9c9e40e55ee0890c944cf271756c906a33e66b5bd15e051593883b5e9902", |
| "result": "valid" |
| }, |
| { |
| "tcId": 304, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "36353533323033313236", |
| "sig": "3045022100a1af03ca91677b673ad2f33615e56174a1abf6da168cebfa8868f4ba273f16b7022020aa73ffe48afa6435cd258b173d0c2377d69022e7d098d75caf24c8c5e06b1c", |
| "result": "valid" |
| }, |
| { |
| "tcId": 305, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31353634333436363033", |
| "sig": "3045022100fdc70602766f8eed11a6c99a71c973d5659355507b843da6e327a28c11893db902203df5349688a085b137b1eacf456a9e9e0f6d15ec0078ca60a7f83f2b10d21350", |
| "result": "valid" |
| }, |
| { |
| "tcId": 306, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "34343239353339313137", |
| "sig": "3046022100b516a314f2fce530d6537f6a6c49966c23456f63c643cf8e0dc738f7b876e675022100d39ffd033c92b6d717dd536fbc5efdf1967c4bd80954479ba66b0120cd16fff2", |
| "result": "valid" |
| }, |
| { |
| "tcId": 307, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "3130393533323631333531", |
| "sig": "304402203b2cbf046eac45842ecb7984d475831582717bebb6492fd0a485c101e29ff0a802204c9b7b47a98b0f82de512bc9313aaf51701099cac5f76e68c8595fc1c1d99258", |
| "result": "valid" |
| }, |
| { |
| "tcId": 308, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "35393837333530303431", |
| "sig": "3044022030c87d35e636f540841f14af54e2f9edd79d0312cfa1ab656c3fb15bfde48dcf022047c15a5a82d24b75c85a692bd6ecafeb71409ede23efd08e0db9abf6340677ed", |
| "result": "valid" |
| }, |
| { |
| "tcId": 309, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33343633303036383738", |
| "sig": "3044022038686ff0fda2cef6bc43b58cfe6647b9e2e8176d168dec3c68ff262113760f520220067ec3b651f422669601662167fa8717e976e2db5e6a4cf7c2ddabb3fde9d67d", |
| "result": "valid" |
| }, |
| { |
| "tcId": 310, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "39383137333230323837", |
| "sig": "3044022044a3e23bf314f2b344fc25c7f2de8b6af3e17d27f5ee844b225985ab6e2775cf02202d48e223205e98041ddc87be532abed584f0411f5729500493c9cc3f4dd15e86", |
| "result": "valid" |
| }, |
| { |
| "tcId": 311, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33323232303431303436", |
| "sig": "304402202ded5b7ec8e90e7bf11f967a3d95110c41b99db3b5aa8d330eb9d638781688e902207d5792c53628155e1bfc46fb1a67e3088de049c328ae1f44ec69238a009808f9", |
| "result": "valid" |
| }, |
| { |
| "tcId": 312, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "36363636333037313034", |
| "sig": "3046022100bdae7bcb580bf335efd3bc3d31870f923eaccafcd40ec2f605976f15137d8b8f022100f6dfa12f19e525270b0106eecfe257499f373a4fb318994f24838122ce7ec3c7", |
| "result": "valid" |
| }, |
| { |
| "tcId": 313, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31303335393531383938", |
| "sig": "3045022050f9c4f0cd6940e162720957ffff513799209b78596956d21ece251c2401f1c6022100d7033a0a787d338e889defaaabb106b95a4355e411a59c32aa5167dfab244726", |
| "result": "valid" |
| }, |
| { |
| "tcId": 314, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31383436353937313935", |
| "sig": "3045022100f612820687604fa01906066a378d67540982e29575d019aabe90924ead5c860d02203f9367702dd7dd4f75ea98afd20e328a1a99f4857b316525328230ce294b0fef", |
| "result": "valid" |
| }, |
| { |
| "tcId": 315, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33313336303436313839", |
| "sig": "30460221009505e407657d6e8bc93db5da7aa6f5081f61980c1949f56b0f2f507da5782a7a022100c60d31904e3669738ffbeccab6c3656c08e0ed5cb92b3cfa5e7f71784f9c5021", |
| "result": "valid" |
| }, |
| { |
| "tcId": 316, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "32363633373834323534", |
| "sig": "3046022100bbd16fbbb656b6d0d83e6a7787cd691b08735aed371732723e1c68a40404517d0221009d8e35dba96028b7787d91315be675877d2d097be5e8ee34560e3e7fd25c0f00", |
| "result": "valid" |
| }, |
| { |
| "tcId": 317, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31363532313030353234", |
| "sig": "304402202ec9760122db98fd06ea76848d35a6da442d2ceef7559a30cf57c61e92df327e02207ab271da90859479701fccf86e462ee3393fb6814c27b760c4963625c0a19878", |
| "result": "valid" |
| }, |
| { |
| "tcId": 318, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "35373438303831363936", |
| "sig": "3044022054e76b7683b6650baa6a7fc49b1c51eed9ba9dd463221f7a4f1005a89fe00c5902202ea076886c773eb937ec1cc8374b7915cfd11b1c1ae1166152f2f7806a31c8fd", |
| "result": "valid" |
| }, |
| { |
| "tcId": 319, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "36333433393133343638", |
| "sig": "304402205291deaf24659ffbbce6e3c26f6021097a74abdbb69be4fb10419c0c496c9466022065d6fcf336d27cc7cdb982bb4e4ecef5827f84742f29f10abf83469270a03dc3", |
| "result": "valid" |
| }, |
| { |
| "tcId": 320, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31353431313033353938", |
| "sig": "30450220207a3241812d75d947419dc58efb05e8003b33fc17eb50f9d15166a88479f107022100cdee749f2e492b213ce80b32d0574f62f1c5d70793cf55e382d5caadf7592767", |
| "result": "valid" |
| }, |
| { |
| "tcId": 321, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "3130343738353830313238", |
| "sig": "304502206554e49f82a855204328ac94913bf01bbe84437a355a0a37c0dee3cf81aa7728022100aea00de2507ddaf5c94e1e126980d3df16250a2eaebc8be486effe7f22b4f929", |
| "result": "valid" |
| }, |
| { |
| "tcId": 322, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "3130353336323835353638", |
| "sig": "3046022100a54c5062648339d2bff06f71c88216c26c6e19b4d80a8c602990ac82707efdfc022100e99bbe7fcfafae3e69fd016777517aa01056317f467ad09aff09be73c9731b0d", |
| "result": "valid" |
| }, |
| { |
| "tcId": 323, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "393533393034313035", |
| "sig": "3045022100975bd7157a8d363b309f1f444012b1a1d23096593133e71b4ca8b059cff37eaf02207faa7a28b1c822baa241793f2abc930bd4c69840fe090f2aacc46786bf919622", |
| "result": "valid" |
| }, |
| { |
| "tcId": 324, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "393738383438303339", |
| "sig": "304402205694a6f84b8f875c276afd2ebcfe4d61de9ec90305afb1357b95b3e0da43885e02200dffad9ffd0b757d8051dec02ebdf70d8ee2dc5c7870c0823b6ccc7c679cbaa4", |
| "result": "valid" |
| }, |
| { |
| "tcId": 325, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33363130363732343432", |
| "sig": "3045022100a0c30e8026fdb2b4b4968a27d16a6d08f7098f1a98d21620d7454ba9790f1ba602205e470453a8a399f15baf463f9deceb53acc5ca64459149688bd2760c65424339", |
| "result": "valid" |
| }, |
| { |
| "tcId": 326, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31303534323430373035", |
| "sig": "30440220614ea84acf736527dd73602cd4bb4eea1dfebebd5ad8aca52aa0228cf7b99a880220737cc85f5f2d2f60d1b8183f3ed490e4de14368e96a9482c2a4dd193195c902f", |
| "result": "valid" |
| }, |
| { |
| "tcId": 327, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "35313734343438313937", |
| "sig": "3045022100bead6734ebe44b810d3fb2ea00b1732945377338febfd439a8d74dfbd0f942fa02206bb18eae36616a7d3cad35919fd21a8af4bbe7a10f73b3e036a46b103ef56e2a", |
| "result": "valid" |
| }, |
| { |
| "tcId": 328, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31393637353631323531", |
| "sig": "30440220499625479e161dacd4db9d9ce64854c98d922cbf212703e9654fae182df9bad2022042c177cf37b8193a0131108d97819edd9439936028864ac195b64fca76d9d693", |
| "result": "valid" |
| }, |
| { |
| "tcId": 329, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33343437323533333433", |
| "sig": "3045022008f16b8093a8fb4d66a2c8065b541b3d31e3bfe694f6b89c50fb1aaa6ff6c9b20221009d6455e2d5d1779748573b611cb95d4a21f967410399b39b535ba3e5af81ca2e", |
| "result": "valid" |
| }, |
| { |
| "tcId": 330, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "333638323634333138", |
| "sig": "3046022100be26231b6191658a19dd72ddb99ed8f8c579b6938d19bce8eed8dc2b338cb5f8022100e1d9a32ee56cffed37f0f22b2dcb57d5c943c14f79694a03b9c5e96952575c89", |
| "result": "valid" |
| }, |
| { |
| "tcId": 331, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33323631313938363038", |
| "sig": "3045022015e76880898316b16204ac920a02d58045f36a229d4aa4f812638c455abe0443022100e74d357d3fcb5c8c5337bd6aba4178b455ca10e226e13f9638196506a1939123", |
| "result": "valid" |
| }, |
| { |
| "tcId": 332, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "39363738373831303934", |
| "sig": "30440220352ecb53f8df2c503a45f9846fc28d1d31e6307d3ddbffc1132315cc07f16dad02201348dfa9c482c558e1d05c5242ca1c39436726ecd28258b1899792887dd0a3c6", |
| "result": "valid" |
| }, |
| { |
| "tcId": 333, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "34393538383233383233", |
| "sig": "304402204a40801a7e606ba78a0da9882ab23c7677b8642349ed3d652c5bfa5f2a9558fb02203a49b64848d682ef7f605f2832f7384bdc24ed2925825bf8ea77dc5981725782", |
| "result": "valid" |
| }, |
| { |
| "tcId": 334, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "383234363337383337", |
| "sig": "3045022100eacc5e1a8304a74d2be412b078924b3bb3511bac855c05c9e5e9e44df3d61e9602207451cd8e18d6ed1885dd827714847f96ec4bb0ed4c36ce9808db8f714204f6d1", |
| "result": "valid" |
| }, |
| { |
| "tcId": 335, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "3131303230383333373736", |
| "sig": "304502202f7a5e9e5771d424f30f67fdab61e8ce4f8cd1214882adb65f7de94c31577052022100ac4e69808345809b44acb0b2bd889175fb75dd050c5a449ab9528f8f78daa10c", |
| "result": "valid" |
| }, |
| { |
| "tcId": 336, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "313333383731363438", |
| "sig": "3045022100ffcda40f792ce4d93e7e0f0e95e1a2147dddd7f6487621c30a03d710b3300219022079938b55f8a17f7ed7ba9ade8f2065a1fa77618f0b67add8d58c422c2453a49a", |
| "result": "valid" |
| }, |
| { |
| "tcId": 337, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "333232313434313632", |
| "sig": "304602210081f2359c4faba6b53d3e8c8c3fcc16a948350f7ab3a588b28c17603a431e39a8022100cd6f6a5cc3b55ead0ff695d06c6860b509e46d99fccefb9f7f9e101857f74300", |
| "result": "valid" |
| }, |
| { |
| "tcId": 338, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "3130363836363535353436", |
| "sig": "3045022100dfc8bf520445cbb8ee1596fb073ea283ea130251a6fdffa5c3f5f2aaf75ca8080220048e33efce147c9dd92823640e338e68bfd7d0dc7a4905b3a7ac711e577e90e7", |
| "result": "valid" |
| }, |
| { |
| "tcId": 339, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "3632313535323436", |
| "sig": "3046022100ad019f74c6941d20efda70b46c53db166503a0e393e932f688227688ba6a576202210093320eb7ca0710255346bdbb3102cdcf7964ef2e0988e712bc05efe16c199345", |
| "result": "valid" |
| }, |
| { |
| "tcId": 340, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "37303330383138373734", |
| "sig": "3046022100ac8096842e8add68c34e78ce11dd71e4b54316bd3ebf7fffdeb7bd5a3ebc1883022100f5ca2f4f23d674502d4caf85d187215d36e3ce9f0ce219709f21a3aac003b7a8", |
| "result": "valid" |
| }, |
| { |
| "tcId": 341, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "35393234353233373434", |
| "sig": "30440220677b2d3a59b18a5ff939b70ea002250889ddcd7b7b9d776854b4943693fb92f702206b4ba856ade7677bf30307b21f3ccda35d2f63aee81efd0bab6972cc0795db55", |
| "result": "valid" |
| }, |
| { |
| "tcId": 342, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31343935353836363231", |
| "sig": "30450220479e1ded14bcaed0379ba8e1b73d3115d84d31d4b7c30e1f05e1fc0d5957cfb0022100918f79e35b3d89487cf634a4f05b2e0c30857ca879f97c771e877027355b2443", |
| "result": "valid" |
| }, |
| { |
| "tcId": 343, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "34303035333134343036", |
| "sig": "3044022043dfccd0edb9e280d9a58f01164d55c3d711e14b12ac5cf3b64840ead512a0a302201dbe33fa8ba84533cd5c4934365b3442ca1174899b78ef9a3199f49584389772", |
| "result": "valid" |
| }, |
| { |
| "tcId": 344, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "33303936343537353132", |
| "sig": "304402205b09ab637bd4caf0f4c7c7e4bca592fea20e9087c259d26a38bb4085f0bbff11022045b7eb467b6748af618e9d80d6fdcd6aa24964e5a13f885bca8101de08eb0d75", |
| "result": "valid" |
| }, |
| { |
| "tcId": 345, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "32373834303235363230", |
| "sig": "304502205e9b1c5a028070df5728c5c8af9b74e0667afa570a6cfa0114a5039ed15ee06f022100b1360907e2d9785ead362bb8d7bd661b6c29eeffd3c5037744edaeb9ad990c20", |
| "result": "valid" |
| }, |
| { |
| "tcId": 346, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "32363138373837343138", |
| "sig": "304502200671a0a85c2b72d54a2fb0990e34538b4890050f5a5712f6d1a7a5fb8578f32e022100db1846bab6b7361479ab9c3285ca41291808f27fd5bd4fdac720e5854713694c", |
| "result": "valid" |
| }, |
| { |
| "tcId": 347, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "31363432363235323632", |
| "sig": "304402207673f8526748446477dbbb0590a45492c5d7d69859d301abbaedb35b2095103a02203dc70ddf9c6b524d886bed9e6af02e0e4dec0d417a414fed3807ef4422913d7c", |
| "result": "valid" |
| }, |
| { |
| "tcId": 348, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "36383234313839343336", |
| "sig": "304402207f085441070ecd2bb21285089ebb1aa6450d1a06c36d3ff39dfd657a796d12b50220249712012029870a2459d18d47da9aa492a5e6cb4b2d8dafa9e4c5c54a2b9a8b", |
| "result": "valid" |
| }, |
| { |
| "tcId": 349, |
| "comment": "special case hash", |
| "flags": [ |
| "SpecialCaseHash" |
| ], |
| "msg": "343834323435343235", |
| "sig": "3046022100914c67fb61dd1e27c867398ea7322d5ab76df04bc5aa6683a8e0f30a5d287348022100fa07474031481dda4953e3ac1959ee8cea7e66ec412b38d6c96d28f6d37304ea", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "040ad99500288d466940031d72a9f5445a4d43784640855bf0a69874d2de5fe103c5011e6ef2c42dcd50d5d3d29f99ae6eba2c80c9244f4c5422f0979ff0c3ba5e", |
| "wx": "0ad99500288d466940031d72a9f5445a4d43784640855bf0a69874d2de5fe103", |
| "wy": "00c5011e6ef2c42dcd50d5d3d29f99ae6eba2c80c9244f4c5422f0979ff0c3ba5e" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200040ad99500288d466940031d72a9f5445a4d43784640855bf0a69874d2de5fe103c5011e6ef2c42dcd50d5d3d29f99ae6eba2c80c9244f4c5422f0979ff0c3ba5e", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAECtmVACiNRmlAAx1yqfVEWk1DeEZA\nhVvwpph00t5f4QPFAR5u8sQtzVDV09Kfma5uuiyAySRPTFQi8Jef8MO6Xg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 350, |
| "comment": "k*G has a large x-coordinate", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "303502104319055358e8617b0c46353d039cdaab022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e", |
| "result": "valid" |
| }, |
| { |
| "tcId": 351, |
| "comment": "r too large", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3046022100ffffffff00000001000000000000000000000000fffffffffffffffffffffffc022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04ab05fd9d0de26b9ce6f4819652d9fc69193d0aa398f0fba8013e09c58220455419235271228c786759095d12b75af0692dd4103f19f6a8c32f49435a1e9b8d45", |
| "wx": "00ab05fd9d0de26b9ce6f4819652d9fc69193d0aa398f0fba8013e09c582204554", |
| "wy": "19235271228c786759095d12b75af0692dd4103f19f6a8c32f49435a1e9b8d45" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004ab05fd9d0de26b9ce6f4819652d9fc69193d0aa398f0fba8013e09c58220455419235271228c786759095d12b75af0692dd4103f19f6a8c32f49435a1e9b8d45", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEqwX9nQ3ia5zm9IGWUtn8aRk9CqOY\n8PuoAT4JxYIgRVQZI1JxIox4Z1kJXRK3WvBpLdQQPxn2qMMvSUNaHpuNRQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 352, |
| "comment": "r,s are large", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254f022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "0480984f39a1ff38a86a68aa4201b6be5dfbfecf876219710b07badf6fdd4c6c5611feb97390d9826e7a06dfb41871c940d74415ed3cac2089f1445019bb55ed95", |
| "wx": "0080984f39a1ff38a86a68aa4201b6be5dfbfecf876219710b07badf6fdd4c6c56", |
| "wy": "11feb97390d9826e7a06dfb41871c940d74415ed3cac2089f1445019bb55ed95" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d0301070342000480984f39a1ff38a86a68aa4201b6be5dfbfecf876219710b07badf6fdd4c6c5611feb97390d9826e7a06dfb41871c940d74415ed3cac2089f1445019bb55ed95", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEgJhPOaH/OKhqaKpCAba+Xfv+z4di\nGXELB7rfb91MbFYR/rlzkNmCbnoG37QYcclA10QV7TysIInxRFAZu1XtlQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 353, |
| "comment": "r and s^-1 have a large Hamming weight", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100909135bdb6799286170f5ead2de4f6511453fe50914f3df2de54a36383df8dd4", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "044201b4272944201c3294f5baa9a3232b6dd687495fcc19a70a95bc602b4f7c0595c37eba9ee8171c1bb5ac6feaf753bc36f463e3aef16629572c0c0a8fb0800e", |
| "wx": "4201b4272944201c3294f5baa9a3232b6dd687495fcc19a70a95bc602b4f7c05", |
| "wy": "0095c37eba9ee8171c1bb5ac6feaf753bc36f463e3aef16629572c0c0a8fb0800e" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200044201b4272944201c3294f5baa9a3232b6dd687495fcc19a70a95bc602b4f7c0595c37eba9ee8171c1bb5ac6feaf753bc36f463e3aef16629572c0c0a8fb0800e", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEQgG0JylEIBwylPW6qaMjK23Wh0lf\nzBmnCpW8YCtPfAWVw366nugXHBu1rG/q91O8NvRj467xZilXLAwKj7CADg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 354, |
| "comment": "r and s^-1 have a large Hamming weight", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022027b4577ca009376f71303fd5dd227dcef5deb773ad5f5a84360644669ca249a5", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04a71af64de5126a4a4e02b7922d66ce9415ce88a4c9d25514d91082c8725ac9575d47723c8fbe580bb369fec9c2665d8e30a435b9932645482e7c9f11e872296b", |
| "wx": "00a71af64de5126a4a4e02b7922d66ce9415ce88a4c9d25514d91082c8725ac957", |
| "wy": "5d47723c8fbe580bb369fec9c2665d8e30a435b9932645482e7c9f11e872296b" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004a71af64de5126a4a4e02b7922d66ce9415ce88a4c9d25514d91082c8725ac9575d47723c8fbe580bb369fec9c2665d8e30a435b9932645482e7c9f11e872296b", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEpxr2TeUSakpOAreSLWbOlBXOiKTJ\n0lUU2RCCyHJayVddR3I8j75YC7Np/snCZl2OMKQ1uZMmRUgufJ8R6HIpaw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 355, |
| "comment": "small r and s", |
| "flags": [ |
| "SmallRandS", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020105020101", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "046627cec4f0731ea23fc2931f90ebe5b7572f597d20df08fc2b31ee8ef16b15726170ed77d8d0a14fc5c9c3c4c9be7f0d3ee18f709bb275eaf2073e258fe694a5", |
| "wx": "6627cec4f0731ea23fc2931f90ebe5b7572f597d20df08fc2b31ee8ef16b1572", |
| "wy": "6170ed77d8d0a14fc5c9c3c4c9be7f0d3ee18f709bb275eaf2073e258fe694a5" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200046627cec4f0731ea23fc2931f90ebe5b7572f597d20df08fc2b31ee8ef16b15726170ed77d8d0a14fc5c9c3c4c9be7f0d3ee18f709bb275eaf2073e258fe694a5", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEZifOxPBzHqI/wpMfkOvlt1cvWX0g\n3wj8KzHujvFrFXJhcO132NChT8XJw8TJvn8NPuGPcJuyderyBz4lj+aUpQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 356, |
| "comment": "small r and s", |
| "flags": [ |
| "SmallRandS", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020105020103", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "045a7c8825e85691cce1f5e7544c54e73f14afc010cb731343262ca7ec5a77f5bfef6edf62a4497c1bd7b147fb6c3d22af3c39bfce95f30e13a16d3d7b2812f813", |
| "wx": "5a7c8825e85691cce1f5e7544c54e73f14afc010cb731343262ca7ec5a77f5bf", |
| "wy": "00ef6edf62a4497c1bd7b147fb6c3d22af3c39bfce95f30e13a16d3d7b2812f813" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200045a7c8825e85691cce1f5e7544c54e73f14afc010cb731343262ca7ec5a77f5bfef6edf62a4497c1bd7b147fb6c3d22af3c39bfce95f30e13a16d3d7b2812f813", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWnyIJehWkczh9edUTFTnPxSvwBDL\ncxNDJiyn7Fp39b/vbt9ipEl8G9exR/tsPSKvPDm/zpXzDhOhbT17KBL4Ew==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 357, |
| "comment": "small r and s", |
| "flags": [ |
| "SmallRandS", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020105020105", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04cbe0c29132cd738364fedd603152990c048e5e2fff996d883fa6caca7978c73770af6a8ce44cb41224b2603606f4c04d188e80bff7cc31ad5189d4ab0d70e8c1", |
| "wx": "00cbe0c29132cd738364fedd603152990c048e5e2fff996d883fa6caca7978c737", |
| "wy": "70af6a8ce44cb41224b2603606f4c04d188e80bff7cc31ad5189d4ab0d70e8c1" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004cbe0c29132cd738364fedd603152990c048e5e2fff996d883fa6caca7978c73770af6a8ce44cb41224b2603606f4c04d188e80bff7cc31ad5189d4ab0d70e8c1", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEy+DCkTLNc4Nk/t1gMVKZDASOXi//\nmW2IP6bKynl4xzdwr2qM5Ey0EiSyYDYG9MBNGI6Av/fMMa1RidSrDXDowQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 358, |
| "comment": "small r and s", |
| "flags": [ |
| "SmallRandS", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020105020106", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "042ef747671c97d9c7f9cb2f6a30d678c3d84757ba241ef7183d51a29f52d87c2ea8fb2ea635b761baefc1c4ded2099281b844e13e044c328553bbbafa337d8a76", |
| "wx": "2ef747671c97d9c7f9cb2f6a30d678c3d84757ba241ef7183d51a29f52d87c2e", |
| "wy": "00a8fb2ea635b761baefc1c4ded2099281b844e13e044c328553bbbafa337d8a76" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200042ef747671c97d9c7f9cb2f6a30d678c3d84757ba241ef7183d51a29f52d87c2ea8fb2ea635b761baefc1c4ded2099281b844e13e044c328553bbbafa337d8a76", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELvdHZxyX2cf5yy9qMNZ4w9hHV7ok\nHvcYPVGin1LYfC6o+y6mNbdhuu/BxN7SCZKBuEThPgRMMoVTu7r6M32Kdg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 359, |
| "comment": "small r and s", |
| "flags": [ |
| "SmallRandS", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020106020101", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04931cc49cda4d87d25b1601c56c3b83b4f45e44971998f2d3e7d3c55152214edf058dc140abbba42fc1ddbf30dab8eb9b46ee7338b3f7ee96242bf45e1df5e995", |
| "wx": "00931cc49cda4d87d25b1601c56c3b83b4f45e44971998f2d3e7d3c55152214edf", |
| "wy": "058dc140abbba42fc1ddbf30dab8eb9b46ee7338b3f7ee96242bf45e1df5e995" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004931cc49cda4d87d25b1601c56c3b83b4f45e44971998f2d3e7d3c55152214edf058dc140abbba42fc1ddbf30dab8eb9b46ee7338b3f7ee96242bf45e1df5e995", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEkxzEnNpNh9JbFgHFbDuDtPReRJcZ\nmPLT59PFUVIhTt8FjcFAq7ukL8HdvzDauOubRu5zOLP37pYkK/ReHfXplQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 360, |
| "comment": "small r and s", |
| "flags": [ |
| "SmallRandS", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020106020103", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04899a4af61867e3f3c190dbb48f8bc9fc74b70a467a4a1f06477b3af2f39ab8ed47ac000f9ea8a3034939bf48ad5d061a69fc8495ae4df2dbec7effa03a0062b3", |
| "wx": "00899a4af61867e3f3c190dbb48f8bc9fc74b70a467a4a1f06477b3af2f39ab8ed", |
| "wy": "47ac000f9ea8a3034939bf48ad5d061a69fc8495ae4df2dbec7effa03a0062b3" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004899a4af61867e3f3c190dbb48f8bc9fc74b70a467a4a1f06477b3af2f39ab8ed47ac000f9ea8a3034939bf48ad5d061a69fc8495ae4df2dbec7effa03a0062b3", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEiZpK9hhn4/PBkNu0j4vJ/HS3CkZ6\nSh8GR3s68vOauO1HrAAPnqijA0k5v0itXQYaafyEla5N8tvsfv+gOgBisw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 361, |
| "comment": "small r and s", |
| "flags": [ |
| "SmallRandS", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020106020106", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04d03eb09913cc20c6a8d0070f0d8d2a7f63527fafa44117fce6bd1ef2aa4ae3c46d5df3f45ac58fa334c6d102381b3120b7a2455600dcaff3d1a845514f12bf46", |
| "wx": "00d03eb09913cc20c6a8d0070f0d8d2a7f63527fafa44117fce6bd1ef2aa4ae3c4", |
| "wy": "6d5df3f45ac58fa334c6d102381b3120b7a2455600dcaff3d1a845514f12bf46" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004d03eb09913cc20c6a8d0070f0d8d2a7f63527fafa44117fce6bd1ef2aa4ae3c46d5df3f45ac58fa334c6d102381b3120b7a2455600dcaff3d1a845514f12bf46", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE0D6wmRPMIMao0AcPDY0qf2NSf6+k\nQRf85r0e8qpK48RtXfP0WsWPozTG0QI4GzEgt6JFVgDcr/PRqEVRTxK/Rg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 362, |
| "comment": "small r and s", |
| "flags": [ |
| "SmallRandS", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3006020106020107", |
| "result": "valid" |
| }, |
| { |
| "tcId": 363, |
| "comment": "r is larger than n", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632557020107", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "043a72476291571193b4d109b2c37b59f2807e8fe9cffd804eacded903e77ca0da592dbc74fee0ca7508cc7bc282b0c51a143286ff53c60131668e7a0929e4ed04", |
| "wx": "3a72476291571193b4d109b2c37b59f2807e8fe9cffd804eacded903e77ca0da", |
| "wy": "592dbc74fee0ca7508cc7bc282b0c51a143286ff53c60131668e7a0929e4ed04" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200043a72476291571193b4d109b2c37b59f2807e8fe9cffd804eacded903e77ca0da592dbc74fee0ca7508cc7bc282b0c51a143286ff53c60131668e7a0929e4ed04", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEOnJHYpFXEZO00Qmyw3tZ8oB+j+nP\n/YBOrN7ZA+d8oNpZLbx0/uDKdQjMe8KCsMUaFDKG/1PGATFmjnoJKeTtBA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 364, |
| "comment": "s is larger than n", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3026020106022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc75fbd8", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04d0f73792203716afd4be4329faa48d269f15313ebbba379d7783c97bf3e890d9971f4a3206605bec21782bf5e275c714417e8f566549e6bc68690d2363c89cc1", |
| "wx": "00d0f73792203716afd4be4329faa48d269f15313ebbba379d7783c97bf3e890d9", |
| "wy": "00971f4a3206605bec21782bf5e275c714417e8f566549e6bc68690d2363c89cc1" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004d0f73792203716afd4be4329faa48d269f15313ebbba379d7783c97bf3e890d9971f4a3206605bec21782bf5e275c714417e8f566549e6bc68690d2363c89cc1", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE0Pc3kiA3Fq/UvkMp+qSNJp8VMT67\nujedd4PJe/PokNmXH0oyBmBb7CF4K/XidccUQX6PVmVJ5rxoaQ0jY8icwQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 365, |
| "comment": "small r and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3027020201000221008f1e3c7862c58b16bb76eddbb76eddbb516af4f63f2d74d76e0d28c9bb75ea88", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "044838b2be35a6276a80ef9e228140f9d9b96ce83b7a254f71ccdebbb8054ce05ffa9cbc123c919b19e00238198d04069043bd660a828814051fcb8aac738a6c6b", |
| "wx": "4838b2be35a6276a80ef9e228140f9d9b96ce83b7a254f71ccdebbb8054ce05f", |
| "wy": "00fa9cbc123c919b19e00238198d04069043bd660a828814051fcb8aac738a6c6b" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200044838b2be35a6276a80ef9e228140f9d9b96ce83b7a254f71ccdebbb8054ce05ffa9cbc123c919b19e00238198d04069043bd660a828814051fcb8aac738a6c6b", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAESDiyvjWmJ2qA754igUD52bls6Dt6\nJU9xzN67uAVM4F/6nLwSPJGbGeACOBmNBAaQQ71mCoKIFAUfy4qsc4psaw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 366, |
| "comment": "smallish r and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302c02072d9b4d347952d6022100ef3043e7329581dbb3974497710ab11505ee1c87ff907beebadd195a0ffe6d7a", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "047393983ca30a520bbc4783dc9960746aab444ef520c0a8e771119aa4e74b0f64e9d7be1ab01a0bf626e709863e6a486dbaf32793afccf774e2c6cd27b1857526", |
| "wx": "7393983ca30a520bbc4783dc9960746aab444ef520c0a8e771119aa4e74b0f64", |
| "wy": "00e9d7be1ab01a0bf626e709863e6a486dbaf32793afccf774e2c6cd27b1857526" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200047393983ca30a520bbc4783dc9960746aab444ef520c0a8e771119aa4e74b0f64e9d7be1ab01a0bf626e709863e6a486dbaf32793afccf774e2c6cd27b1857526", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEc5OYPKMKUgu8R4PcmWB0aqtETvUg\nwKjncRGapOdLD2Tp174asBoL9ibnCYY+akhtuvMnk6/M93Tixs0nsYV1Jg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 367, |
| "comment": "100-bit r and small s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3032020d1033e67e37b32b445580bf4eff0221008b748b74000000008b748b748b748b7466e769ad4a16d3dcd87129b8e91d1b4d", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "045ac331a1103fe966697379f356a937f350588a05477e308851b8a502d5dfcdc5fe9993df4b57939b2b8da095bf6d794265204cfe03be995a02e65d408c871c0b", |
| "wx": "5ac331a1103fe966697379f356a937f350588a05477e308851b8a502d5dfcdc5", |
| "wy": "00fe9993df4b57939b2b8da095bf6d794265204cfe03be995a02e65d408c871c0b" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200045ac331a1103fe966697379f356a937f350588a05477e308851b8a502d5dfcdc5fe9993df4b57939b2b8da095bf6d794265204cfe03be995a02e65d408c871c0b", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWsMxoRA/6WZpc3nzVqk381BYigVH\nfjCIUbilAtXfzcX+mZPfS1eTmyuNoJW/bXlCZSBM/gO+mVoC5l1AjIccCw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 368, |
| "comment": "small r and 100 bit s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302702020100022100ef9f6ba4d97c09d03178fa20b4aaad83be3cf9cb824a879fec3270fc4b81ef5b", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "041d209be8de2de877095a399d3904c74cc458d926e27bb8e58e5eae5767c41509dd59e04c214f7b18dce351fc2a549893a6860e80163f38cc60a4f2c9d040d8c9", |
| "wx": "1d209be8de2de877095a399d3904c74cc458d926e27bb8e58e5eae5767c41509", |
| "wy": "00dd59e04c214f7b18dce351fc2a549893a6860e80163f38cc60a4f2c9d040d8c9" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200041d209be8de2de877095a399d3904c74cc458d926e27bb8e58e5eae5767c41509dd59e04c214f7b18dce351fc2a549893a6860e80163f38cc60a4f2c9d040d8c9", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEHSCb6N4t6HcJWjmdOQTHTMRY2Sbi\ne7jljl6uV2fEFQndWeBMIU97GNzjUfwqVJiTpoYOgBY/OMxgpPLJ0EDYyQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 369, |
| "comment": "100-bit r and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3032020d062522bbd3ecbe7c39e93e7c25022100ef9f6ba4d97c09d03178fa20b4aaad83be3cf9cb824a879fec3270fc4b81ef5b", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04083539fbee44625e3acaafa2fcb41349392cef0633a1b8fabecee0c133b10e99915c1ebe7bf00df8535196770a58047ae2a402f26326bb7d41d4d7616337911e", |
| "wx": "083539fbee44625e3acaafa2fcb41349392cef0633a1b8fabecee0c133b10e99", |
| "wy": "00915c1ebe7bf00df8535196770a58047ae2a402f26326bb7d41d4d7616337911e" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004083539fbee44625e3acaafa2fcb41349392cef0633a1b8fabecee0c133b10e99915c1ebe7bf00df8535196770a58047ae2a402f26326bb7d41d4d7616337911e", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAECDU5++5EYl46yq+i/LQTSTks7wYz\nobj6vs7gwTOxDpmRXB6+e/AN+FNRlncKWAR64qQC8mMmu31B1NdhYzeRHg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 370, |
| "comment": "r and s^-1 are close to n", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3045022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6324d50220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04e075effd9607d08d5f34e3652f64cfa3bd6d20c58d0a232f058491260ab212a4cc61760ac8b0680c1b644c03cc628ba9dc4a3c0561368489c692bd40f43aa3ca", |
| "wx": "00e075effd9607d08d5f34e3652f64cfa3bd6d20c58d0a232f058491260ab212a4", |
| "wy": "00cc61760ac8b0680c1b644c03cc628ba9dc4a3c0561368489c692bd40f43aa3ca" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004e075effd9607d08d5f34e3652f64cfa3bd6d20c58d0a232f058491260ab212a4cc61760ac8b0680c1b644c03cc628ba9dc4a3c0561368489c692bd40f43aa3ca", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE4HXv/ZYH0I1fNONlL2TPo71tIMWN\nCiMvBYSRJgqyEqTMYXYKyLBoDBtkTAPMYoup3Eo8BWE2hInGkr1A9Dqjyg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 371, |
| "comment": "r and s are 64-bit integer", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30160209009c44febf31c3594f020900839ed28247c2b06b", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04cffb758c3073ea3c08efd9f7f17a85b6ae385c5a140c146ad5f1f5a826718bc8dfdc6bebc894144c6d418ac5d97339726ad2ae925df868426e5628e9f4e62342", |
| "wx": "00cffb758c3073ea3c08efd9f7f17a85b6ae385c5a140c146ad5f1f5a826718bc8", |
| "wy": "00dfdc6bebc894144c6d418ac5d97339726ad2ae925df868426e5628e9f4e62342" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004cffb758c3073ea3c08efd9f7f17a85b6ae385c5a140c146ad5f1f5a826718bc8dfdc6bebc894144c6d418ac5d97339726ad2ae925df868426e5628e9f4e62342", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEz/t1jDBz6jwI79n38XqFtq44XFoU\nDBRq1fH1qCZxi8jf3GvryJQUTG1BisXZczlyatKukl34aEJuVijp9OYjQg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 372, |
| "comment": "r and s are 100-bit integer", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "301e020d09df8b682430beef6f5fd7c7cd020d0fd0a62e13778f4222a0d61c8a", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04b98740e69e61a325d5f772e3b5c4f67fb7150b16a9afeca9ddc4afcbb6fa0549c446e814138e4ebc82dbf86a390056d4595dcf45e381fef217a4597d7bd51498", |
| "wx": "00b98740e69e61a325d5f772e3b5c4f67fb7150b16a9afeca9ddc4afcbb6fa0549", |
| "wy": "00c446e814138e4ebc82dbf86a390056d4595dcf45e381fef217a4597d7bd51498" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004b98740e69e61a325d5f772e3b5c4f67fb7150b16a9afeca9ddc4afcbb6fa0549c446e814138e4ebc82dbf86a390056d4595dcf45e381fef217a4597d7bd51498", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEuYdA5p5hoyXV93LjtcT2f7cVCxap\nr+yp3cSvy7b6BUnERugUE45OvILb+Go5AFbUWV3PReOB/vIXpFl9e9UUmA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 373, |
| "comment": "r and s are 128-bit integer", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30260211008a598e563a89f526c32ebec8de26367c02110084f633e2042630e99dd0f1e16f7a04bf", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "0484536a270c3932bb2084732adf2c768efc6d3977e5220229ea9a44888b8f9d7b1766398cdac2fc8000017b29a7ba15a58f196037f35f7008ed4286ddff00fd46", |
| "wx": "0084536a270c3932bb2084732adf2c768efc6d3977e5220229ea9a44888b8f9d7b", |
| "wy": "1766398cdac2fc8000017b29a7ba15a58f196037f35f7008ed4286ddff00fd46" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d0301070342000484536a270c3932bb2084732adf2c768efc6d3977e5220229ea9a44888b8f9d7b1766398cdac2fc8000017b29a7ba15a58f196037f35f7008ed4286ddff00fd46", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhFNqJww5MrsghHMq3yx2jvxtOXfl\nIgIp6ppEiIuPnXsXZjmM2sL8gAABeymnuhWljxlgN/NfcAjtQobd/wD9Rg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 374, |
| "comment": "r and s are 160-bit integer", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "302e021500aa6eeb5823f7fa31b466bb473797f0d0314c0bdf021500e2977c479e6d25703cebbc6bd561938cc9d1bfb9", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "048aeb368a7027a4d64abdea37390c0c1d6a26f399e2d9734de1eb3d0e1937387405bd13834715e1dbae9b875cf07bd55e1b6691c7f7536aef3b19bf7a4adf576d", |
| "wx": "008aeb368a7027a4d64abdea37390c0c1d6a26f399e2d9734de1eb3d0e19373874", |
| "wy": "05bd13834715e1dbae9b875cf07bd55e1b6691c7f7536aef3b19bf7a4adf576d" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200048aeb368a7027a4d64abdea37390c0c1d6a26f399e2d9734de1eb3d0e1937387405bd13834715e1dbae9b875cf07bd55e1b6691c7f7536aef3b19bf7a4adf576d", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEius2inAnpNZKveo3OQwMHWom85ni\n2XNN4es9Dhk3OHQFvRODRxXh266bh1zwe9VeG2aRx/dTau87Gb96St9XbQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 375, |
| "comment": "s == 1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30250220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70020101", |
| "result": "valid" |
| }, |
| { |
| "tcId": 376, |
| "comment": "s == 0", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30250220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70020100", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "0461722eaba731c697c7a9ba4d0afdbb5713d8aa12b0eab601bb33dbaf792c5adc272cd993b2b663aba5b3a26c101182ff178684945e83879e71598b95fe647dfc", |
| "wx": "61722eaba731c697c7a9ba4d0afdbb5713d8aa12b0eab601bb33dbaf792c5adc", |
| "wy": "272cd993b2b663aba5b3a26c101182ff178684945e83879e71598b95fe647dfc" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d0301070342000461722eaba731c697c7a9ba4d0afdbb5713d8aa12b0eab601bb33dbaf792c5adc272cd993b2b663aba5b3a26c101182ff178684945e83879e71598b95fe647dfc", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYXIuq6cxxpfHqbpNCv27VxPYqhKw\n6rYBuzPbr3ksWtwnLNmTsrZjq6WzomwQEYL/F4aElF6Dh55xWYuV/mR9/A==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 377, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022002f676969f451a8ccafa4c4f09791810e6d632dbd60b1d5540f3284fbe1889b0", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04c4c91981e720e20d7e478ff19d09b95a98f58c0f469b72801a8ce844a347316594afcd4188182e7779889b3258d0368ece1e66797fe7c648c6f0b9e26bd71871", |
| "wx": "00c4c91981e720e20d7e478ff19d09b95a98f58c0f469b72801a8ce844a3473165", |
| "wy": "0094afcd4188182e7779889b3258d0368ece1e66797fe7c648c6f0b9e26bd71871" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004c4c91981e720e20d7e478ff19d09b95a98f58c0f469b72801a8ce844a347316594afcd4188182e7779889b3258d0368ece1e66797fe7c648c6f0b9e26bd71871", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAExMkZgecg4g1+R4/xnQm5Wpj1jA9G\nm3KAGozoRKNHMWWUr81BiBgud3mImzJY0DaOzh5meX/nxkjG8Lnia9cYcQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 378, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002204e260962e33362ef0046126d2d5a4edc6947ab20e19b8ec19cf79e5908b6e628", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04d58d47bf49bc8f416641f6f760fcbca80aa52a814e56a5fa40bab44fd6f6317216deaa84d45d8e0e29cc9ecf5653f8ee6444750813becae8deb42b04ba07a634", |
| "wx": "00d58d47bf49bc8f416641f6f760fcbca80aa52a814e56a5fa40bab44fd6f63172", |
| "wy": "16deaa84d45d8e0e29cc9ecf5653f8ee6444750813becae8deb42b04ba07a634" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004d58d47bf49bc8f416641f6f760fcbca80aa52a814e56a5fa40bab44fd6f6317216deaa84d45d8e0e29cc9ecf5653f8ee6444750813becae8deb42b04ba07a634", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1Y1Hv0m8j0FmQfb3YPy8qAqlKoFO\nVqX6QLq0T9b2MXIW3qqE1F2ODinMns9WU/juZER1CBO+yujetCsEugemNA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 379, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220077ed0d8f20f697d8fc591ac64dd5219c7932122b4f9b9ec6441e44a0092cf21", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "0491e305822e5e44f3fdb616e2ef42cd98f241b86e9f68815bc4dba6a945e4eefb3c5937e2ac1d9466f6d65e49b35fc8d75ffc22e1fe2f32af42f5fa3c26f9b4b0", |
| "wx": "0091e305822e5e44f3fdb616e2ef42cd98f241b86e9f68815bc4dba6a945e4eefb", |
| "wy": "3c5937e2ac1d9466f6d65e49b35fc8d75ffc22e1fe2f32af42f5fa3c26f9b4b0" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d0301070342000491e305822e5e44f3fdb616e2ef42cd98f241b86e9f68815bc4dba6a945e4eefb3c5937e2ac1d9466f6d65e49b35fc8d75ffc22e1fe2f32af42f5fa3c26f9b4b0", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEkeMFgi5eRPP9thbi70LNmPJBuG6f\naIFbxNumqUXk7vs8WTfirB2UZvbWXkmzX8jXX/wi4f4vMq9C9fo8Jvm0sA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 380, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002203e0292a67e181c6c0105ee35e956e78e9bdd033c6e71ae57884039a245e4175f", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "0424a0bc4d16dbbd40d2fd81a7c3f8d8ec741607d5bb406a0611cc60d0e683bd46b575cad039c15f7f3dffcfc007b4b0f743c871ecc76a504a32672fd84526d861", |
| "wx": "24a0bc4d16dbbd40d2fd81a7c3f8d8ec741607d5bb406a0611cc60d0e683bd46", |
| "wy": "00b575cad039c15f7f3dffcfc007b4b0f743c871ecc76a504a32672fd84526d861" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d0301070342000424a0bc4d16dbbd40d2fd81a7c3f8d8ec741607d5bb406a0611cc60d0e683bd46b575cad039c15f7f3dffcfc007b4b0f743c871ecc76a504a32672fd84526d861", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEJKC8TRbbvUDS/YGnw/jY7HQWB9W7\nQGoGEcxg0OaDvUa1dcrQOcFffz3/z8AHtLD3Q8hx7MdqUEoyZy/YRSbYYQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 381, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022013d22b06d6b8f5d97e0c64962b4a3bae30f668ca6217ef5b35d799f159e23ebe", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04d24dd06745cafb39186d22a92aa0e58169a79ab69488628a9da5ed3ef747269b7e9209d98faeb95355948adae61d5291c6015d3ee9513486d886fb05cbd25c6a", |
| "wx": "00d24dd06745cafb39186d22a92aa0e58169a79ab69488628a9da5ed3ef747269b", |
| "wy": "7e9209d98faeb95355948adae61d5291c6015d3ee9513486d886fb05cbd25c6a" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004d24dd06745cafb39186d22a92aa0e58169a79ab69488628a9da5ed3ef747269b7e9209d98faeb95355948adae61d5291c6015d3ee9513486d886fb05cbd25c6a", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE0k3QZ0XK+zkYbSKpKqDlgWmnmraU\niGKKnaXtPvdHJpt+kgnZj665U1WUitrmHVKRxgFdPulRNIbYhvsFy9Jcag==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 382, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002204523ce342e4994bb8968bf6613f60c06c86111f15a3a389309e72cd447d5dd99", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "048200f148e7eab1581bcd1e23946f8a9b8191d9641f9560341721f9d3fec3d63ece795669e0481e035de8623d716a6984d0a4809d6c65519443ee55260f7f3dcb", |
| "wx": "008200f148e7eab1581bcd1e23946f8a9b8191d9641f9560341721f9d3fec3d63e", |
| "wy": "00ce795669e0481e035de8623d716a6984d0a4809d6c65519443ee55260f7f3dcb" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200048200f148e7eab1581bcd1e23946f8a9b8191d9641f9560341721f9d3fec3d63ece795669e0481e035de8623d716a6984d0a4809d6c65519443ee55260f7f3dcb", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEggDxSOfqsVgbzR4jlG+Km4GR2WQf\nlWA0FyH50/7D1j7OeVZp4EgeA13oYj1xammE0KSAnWxlUZRD7lUmD389yw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 383, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022037d765be3c9c78189ad30edb5097a4db670de11686d01420e37039d4677f4809", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04a8a69c5ed33b150ce8d37ac197070ed894c05d47258a80c9041d92486622024de85997c9666b60a393568efede8f4ca0167c1e10f626e62fc1b8c8e9c6ba6ed7", |
| "wx": "00a8a69c5ed33b150ce8d37ac197070ed894c05d47258a80c9041d92486622024d", |
| "wy": "00e85997c9666b60a393568efede8f4ca0167c1e10f626e62fc1b8c8e9c6ba6ed7" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004a8a69c5ed33b150ce8d37ac197070ed894c05d47258a80c9041d92486622024de85997c9666b60a393568efede8f4ca0167c1e10f626e62fc1b8c8e9c6ba6ed7", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEqKacXtM7FQzo03rBlwcO2JTAXUcl\nioDJBB2SSGYiAk3oWZfJZmtgo5NWjv7ej0ygFnweEPYm5i/BuMjpxrpu1w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 384, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022044237823b54e0c74c2bf5f759d9ac5f8cb897d537ffa92effd4f0bb6c9acd860", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04ed0587e75b3b9a1dd0794f41d1729fcd432b2436cbf51c230d8bc7273273181735a57f09c7873d3964aa8102c9e25fa53070cd924cb7e3a459174740b8b71c34", |
| "wx": "00ed0587e75b3b9a1dd0794f41d1729fcd432b2436cbf51c230d8bc72732731817", |
| "wy": "35a57f09c7873d3964aa8102c9e25fa53070cd924cb7e3a459174740b8b71c34" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004ed0587e75b3b9a1dd0794f41d1729fcd432b2436cbf51c230d8bc7273273181735a57f09c7873d3964aa8102c9e25fa53070cd924cb7e3a459174740b8b71c34", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE7QWH51s7mh3QeU9B0XKfzUMrJDbL\n9RwjDYvHJzJzGBc1pX8Jx4c9OWSqgQLJ4l+lMHDNkky346RZF0dAuLccNA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 385, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220266d30a485385906054ca86d46f5f2b17e7f4646a3092092ad92877126538111", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04077091d99004a99ee08224e59a46a70495e6fba4eff681c3ce42127e588681ef4f1c16c77dfa440dde18245c9de76243d8f2fd9dea3f2782d6c04974d02f25dc", |
| "wx": "077091d99004a99ee08224e59a46a70495e6fba4eff681c3ce42127e588681ef", |
| "wy": "4f1c16c77dfa440dde18245c9de76243d8f2fd9dea3f2782d6c04974d02f25dc" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004077091d99004a99ee08224e59a46a70495e6fba4eff681c3ce42127e588681ef4f1c16c77dfa440dde18245c9de76243d8f2fd9dea3f2782d6c04974d02f25dc", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEB3CR2ZAEqZ7ggiTlmkanBJXm+6Tv\n9oHDzkISfliGge9PHBbHffpEDd4YJFyd52JD2PL9neo/J4LWwEl00C8l3A==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 386, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220538c7b3798e84d0ce90340165806348971ed44db8f0c674f5f215968390f92ee", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04616a8b8e57d82c11678f5827911024cd23a16cb52a65f230fb554a7b110c35a5bb466660be5cab3e4b587c12b45bd998bd56c7d66c2f94d03a1a6d2028d8a154", |
| "wx": "616a8b8e57d82c11678f5827911024cd23a16cb52a65f230fb554a7b110c35a5", |
| "wy": "00bb466660be5cab3e4b587c12b45bd998bd56c7d66c2f94d03a1a6d2028d8a154" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004616a8b8e57d82c11678f5827911024cd23a16cb52a65f230fb554a7b110c35a5bb466660be5cab3e4b587c12b45bd998bd56c7d66c2f94d03a1a6d2028d8a154", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYWqLjlfYLBFnj1gnkRAkzSOhbLUq\nZfIw+1VKexEMNaW7RmZgvlyrPktYfBK0W9mYvVbH1mwvlNA6Gm0gKNihVA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 387, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002206fef0ef15d1688e15e704c4e6bb8bb7f40d52d3af5c661bb78c4ed9b408699b3", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "0471dc92b2b1baa7612c4a53427a0d2dfe548fa9cf829bb6b248f736a5eb30b513f91c7dff1144cb36057c2b859f35bd666a7961833b06de0f45159fbae208e326", |
| "wx": "71dc92b2b1baa7612c4a53427a0d2dfe548fa9cf829bb6b248f736a5eb30b513", |
| "wy": "00f91c7dff1144cb36057c2b859f35bd666a7961833b06de0f45159fbae208e326" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d0301070342000471dc92b2b1baa7612c4a53427a0d2dfe548fa9cf829bb6b248f736a5eb30b513f91c7dff1144cb36057c2b859f35bd666a7961833b06de0f45159fbae208e326", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEcdySsrG6p2EsSlNCeg0t/lSPqc+C\nm7aySPc2peswtRP5HH3/EUTLNgV8K4WfNb1manlhgzsG3g9FFZ+64gjjJg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 388, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002206f44275e9aeb1331efcb8d58f35c0252791427e403ad84daad51d247cc2a64c6", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04662f43ae614bd9c90ff3fcded25cf0ef186b6967a47aa6aa7ae7f396594df931f5f94a525edd50d3738f7a28d03d7a2a70095c8f89de9bb2c645fea8d8bac9e0", |
| "wx": "662f43ae614bd9c90ff3fcded25cf0ef186b6967a47aa6aa7ae7f396594df931", |
| "wy": "00f5f94a525edd50d3738f7a28d03d7a2a70095c8f89de9bb2c645fea8d8bac9e0" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004662f43ae614bd9c90ff3fcded25cf0ef186b6967a47aa6aa7ae7f396594df931f5f94a525edd50d3738f7a28d03d7a2a70095c8f89de9bb2c645fea8d8bac9e0", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEZi9DrmFL2ckP8/ze0lzw7xhraWek\neqaqeufzlllN+TH1+UpSXt1Q03OPeijQPXoqcAlcj4nem7LGRf6o2LrJ4A==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 389, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022021323755b103d2f9da6ab83eccab9ad8598bcf625652f10e7a3eeee3c3945fb3", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04dff107959bd2f7386497a5624430a0ab35e552c1a4e4dc9c298caeb96353170dcb5065d7947a676c76287ca8e430324f8a534b0ba6f21200e033c4b88852a3cc", |
| "wx": "00dff107959bd2f7386497a5624430a0ab35e552c1a4e4dc9c298caeb96353170d", |
| "wy": "00cb5065d7947a676c76287ca8e430324f8a534b0ba6f21200e033c4b88852a3cc" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004dff107959bd2f7386497a5624430a0ab35e552c1a4e4dc9c298caeb96353170dcb5065d7947a676c76287ca8e430324f8a534b0ba6f21200e033c4b88852a3cc", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE3/EHlZvS9zhkl6ViRDCgqzXlUsGk\n5NycKYyuuWNTFw3LUGXXlHpnbHYofKjkMDJPilNLC6byEgDgM8S4iFKjzA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 390, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002206c50acfe76de1289e7a5edb240f1c2a7879db6873d5d931f3c6ac467a6eac171", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04bd0862b0bfba85036922e06f5458754aafc3075b603a814b3ac75659bf24d7528258a607ffca2cfe05a300cb4c3c4e1963bbb1bc54d320e16969f85aad243385", |
| "wx": "00bd0862b0bfba85036922e06f5458754aafc3075b603a814b3ac75659bf24d752", |
| "wy": "008258a607ffca2cfe05a300cb4c3c4e1963bbb1bc54d320e16969f85aad243385" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004bd0862b0bfba85036922e06f5458754aafc3075b603a814b3ac75659bf24d7528258a607ffca2cfe05a300cb4c3c4e1963bbb1bc54d320e16969f85aad243385", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEvQhisL+6hQNpIuBvVFh1Sq/DB1tg\nOoFLOsdWWb8k11KCWKYH/8os/gWjAMtMPE4ZY7uxvFTTIOFpafharSQzhQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 391, |
| "comment": "edge case modular inverse", |
| "flags": [ |
| "ModularInverse", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220755b7fffb0b17ad57dca50fcefb7fe297b029df25e5ccb5069e8e70c2742c2a6", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04b533d4695dd5b8c5e07757e55e6e516f7e2c88fa0239e23f60e8ec07dd70f2871b134ee58cc583278456863f33c3a85d881f7d4a39850143e29d4eaf009afe47", |
| "wx": "00b533d4695dd5b8c5e07757e55e6e516f7e2c88fa0239e23f60e8ec07dd70f287", |
| "wy": "1b134ee58cc583278456863f33c3a85d881f7d4a39850143e29d4eaf009afe47" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004b533d4695dd5b8c5e07757e55e6e516f7e2c88fa0239e23f60e8ec07dd70f2871b134ee58cc583278456863f33c3a85d881f7d4a39850143e29d4eaf009afe47", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEtTPUaV3VuMXgd1flXm5Rb34siPoC\nOeI/YOjsB91w8ocbE07ljMWDJ4RWhj8zw6hdiB99SjmFAUPinU6vAJr+Rw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 392, |
| "comment": "point at infinity during verify", |
| "flags": [ |
| "PointDuplication", |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a80220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04f50d371b91bfb1d7d14e1323523bc3aa8cbf2c57f9e284de628c8b4536787b86f94ad887ac94d527247cd2e7d0c8b1291c553c9730405380b14cbb209f5fa2dd", |
| "wx": "00f50d371b91bfb1d7d14e1323523bc3aa8cbf2c57f9e284de628c8b4536787b86", |
| "wy": "00f94ad887ac94d527247cd2e7d0c8b1291c553c9730405380b14cbb209f5fa2dd" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004f50d371b91bfb1d7d14e1323523bc3aa8cbf2c57f9e284de628c8b4536787b86f94ad887ac94d527247cd2e7d0c8b1291c553c9730405380b14cbb209f5fa2dd", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE9Q03G5G/sdfRThMjUjvDqoy/LFf5\n4oTeYoyLRTZ4e4b5StiHrJTVJyR80ufQyLEpHFU8lzBAU4CxTLsgn1+i3Q==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 393, |
| "comment": "edge case for signature malleability", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a902207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a8", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "0468ec6e298eafe16539156ce57a14b04a7047c221bafc3a582eaeb0d857c4d94697bed1af17850117fdb39b2324f220a5698ed16c426a27335bb385ac8ca6fb30", |
| "wx": "68ec6e298eafe16539156ce57a14b04a7047c221bafc3a582eaeb0d857c4d946", |
| "wy": "0097bed1af17850117fdb39b2324f220a5698ed16c426a27335bb385ac8ca6fb30" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d0301070342000468ec6e298eafe16539156ce57a14b04a7047c221bafc3a582eaeb0d857c4d94697bed1af17850117fdb39b2324f220a5698ed16c426a27335bb385ac8ca6fb30", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaOxuKY6v4WU5FWzlehSwSnBHwiG6\n/DpYLq6w2FfE2UaXvtGvF4UBF/2zmyMk8iClaY7RbEJqJzNbs4WsjKb7MA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 394, |
| "comment": "edge case for signature malleability", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a902207fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192a9", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "0469da0364734d2e530fece94019265fefb781a0f1b08f6c8897bdf6557927c8b866d2d3c7dcd518b23d726960f069ad71a933d86ef8abbcce8b20f71e2a847002", |
| "wx": "69da0364734d2e530fece94019265fefb781a0f1b08f6c8897bdf6557927c8b8", |
| "wy": "66d2d3c7dcd518b23d726960f069ad71a933d86ef8abbcce8b20f71e2a847002" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d0301070342000469da0364734d2e530fece94019265fefb781a0f1b08f6c8897bdf6557927c8b866d2d3c7dcd518b23d726960f069ad71a933d86ef8abbcce8b20f71e2a847002", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEadoDZHNNLlMP7OlAGSZf77eBoPGw\nj2yIl732VXknyLhm0tPH3NUYsj1yaWDwaa1xqTPYbvirvM6LIPceKoRwAg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 395, |
| "comment": "u1 == 1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30450220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022100bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419feca605023", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04d8adc00023a8edc02576e2b63e3e30621a471e2b2320620187bf067a1ac1ff3233e2b50ec09807accb36131fff95ed12a09a86b4ea9690aa32861576ba2362e1", |
| "wx": "00d8adc00023a8edc02576e2b63e3e30621a471e2b2320620187bf067a1ac1ff32", |
| "wy": "33e2b50ec09807accb36131fff95ed12a09a86b4ea9690aa32861576ba2362e1" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004d8adc00023a8edc02576e2b63e3e30621a471e2b2320620187bf067a1ac1ff3233e2b50ec09807accb36131fff95ed12a09a86b4ea9690aa32861576ba2362e1", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2K3AACOo7cAlduK2Pj4wYhpHHisj\nIGIBh78GehrB/zIz4rUOwJgHrMs2Ex//le0SoJqGtOqWkKoyhhV2uiNi4Q==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 396, |
| "comment": "u1 == n - 1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022044a5ad0ad0636d9f12bc9e0a6bdd5e1cbcb012ea7bf091fcec15b0c43202d52e", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "043623ac973ced0a56fa6d882f03a7d5c7edca02cfc7b2401fab3690dbe75ab7858db06908e64b28613da7257e737f39793da8e713ba0643b92e9bb3252be7f8fe", |
| "wx": "3623ac973ced0a56fa6d882f03a7d5c7edca02cfc7b2401fab3690dbe75ab785", |
| "wy": "008db06908e64b28613da7257e737f39793da8e713ba0643b92e9bb3252be7f8fe" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200043623ac973ced0a56fa6d882f03a7d5c7edca02cfc7b2401fab3690dbe75ab7858db06908e64b28613da7257e737f39793da8e713ba0643b92e9bb3252be7f8fe", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAENiOslzztClb6bYgvA6fVx+3KAs/H\nskAfqzaQ2+dat4WNsGkI5ksoYT2nJX5zfzl5PajnE7oGQ7kum7MlK+f4/g==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 397, |
| "comment": "u2 == 1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c700220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04cf04ea77e9622523d894b93ff52dc3027b31959503b6fa3890e5e04263f922f1e8528fb7c006b3983c8b8400e57b4ed71740c2f3975438821199bedeaecab2e9", |
| "wx": "00cf04ea77e9622523d894b93ff52dc3027b31959503b6fa3890e5e04263f922f1", |
| "wy": "00e8528fb7c006b3983c8b8400e57b4ed71740c2f3975438821199bedeaecab2e9" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004cf04ea77e9622523d894b93ff52dc3027b31959503b6fa3890e5e04263f922f1e8528fb7c006b3983c8b8400e57b4ed71740c2f3975438821199bedeaecab2e9", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEzwTqd+liJSPYlLk/9S3DAnsxlZUD\ntvo4kOXgQmP5IvHoUo+3wAazmDyLhADle07XF0DC85dUOIIRmb7ersqy6Q==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 398, |
| "comment": "u2 == n - 1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30450220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70022100aaaaaaaa00000000aaaaaaaaaaaaaaaa7def51c91a0fbf034d26872ca84218e1", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04db7a2c8a1ab573e5929dc24077b508d7e683d49227996bda3e9f78dbeff773504f417f3bc9a88075c2e0aadd5a13311730cf7cc76a82f11a36eaf08a6c99a206", |
| "wx": "00db7a2c8a1ab573e5929dc24077b508d7e683d49227996bda3e9f78dbeff77350", |
| "wy": "4f417f3bc9a88075c2e0aadd5a13311730cf7cc76a82f11a36eaf08a6c99a206" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004db7a2c8a1ab573e5929dc24077b508d7e683d49227996bda3e9f78dbeff773504f417f3bc9a88075c2e0aadd5a13311730cf7cc76a82f11a36eaf08a6c99a206", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE23osihq1c+WSncJAd7UI1+aD1JIn\nmWvaPp942+/3c1BPQX87yaiAdcLgqt1aEzEXMM98x2qC8Ro26vCKbJmiBg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 399, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100e91e1ba60fdedb76a46bcb51dc0b8b4b7e019f0a28721885fa5d3a8196623397", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04dead11c7a5b396862f21974dc4752fadeff994efe9bbd05ab413765ea80b6e1f1de3f0640e8ac6edcf89cff53c40e265bb94078a343736df07aa0318fc7fe1ff", |
| "wx": "00dead11c7a5b396862f21974dc4752fadeff994efe9bbd05ab413765ea80b6e1f", |
| "wy": "1de3f0640e8ac6edcf89cff53c40e265bb94078a343736df07aa0318fc7fe1ff" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004dead11c7a5b396862f21974dc4752fadeff994efe9bbd05ab413765ea80b6e1f1de3f0640e8ac6edcf89cff53c40e265bb94078a343736df07aa0318fc7fe1ff", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE3q0Rx6WzloYvIZdNxHUvre/5lO/p\nu9BatBN2XqgLbh8d4/BkDorG7c+Jz/U8QOJlu5QHijQ3Nt8HqgMY/H/h/w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 400, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100fdea5843ffeb73af94313ba4831b53fe24f799e525b1e8e8c87b59b95b430ad9", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04d0bc472e0d7c81ebaed3a6ef96c18613bb1fea6f994326fbe80e00dfde67c7e9986c723ea4843d48389b946f64ad56c83ad70ff17ba85335667d1bb9fa619efd", |
| "wx": "00d0bc472e0d7c81ebaed3a6ef96c18613bb1fea6f994326fbe80e00dfde67c7e9", |
| "wy": "00986c723ea4843d48389b946f64ad56c83ad70ff17ba85335667d1bb9fa619efd" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004d0bc472e0d7c81ebaed3a6ef96c18613bb1fea6f994326fbe80e00dfde67c7e9986c723ea4843d48389b946f64ad56c83ad70ff17ba85335667d1bb9fa619efd", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE0LxHLg18geuu06bvlsGGE7sf6m+Z\nQyb76A4A395nx+mYbHI+pIQ9SDiblG9krVbIOtcP8XuoUzVmfRu5+mGe/Q==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 401, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022003ffcabf2f1b4d2a65190db1680d62bb994e41c5251cd73b3c3dfc5e5bafc035", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04a0a44ca947d66a2acb736008b9c08d1ab2ad03776e02640f78495d458dd51c326337fe5cf8c4604b1f1c409dc2d872d4294a4762420df43a30a2392e40426add", |
| "wx": "00a0a44ca947d66a2acb736008b9c08d1ab2ad03776e02640f78495d458dd51c32", |
| "wy": "6337fe5cf8c4604b1f1c409dc2d872d4294a4762420df43a30a2392e40426add" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004a0a44ca947d66a2acb736008b9c08d1ab2ad03776e02640f78495d458dd51c326337fe5cf8c4604b1f1c409dc2d872d4294a4762420df43a30a2392e40426add", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEoKRMqUfWairLc2AIucCNGrKtA3du\nAmQPeEldRY3VHDJjN/5c+MRgSx8cQJ3C2HLUKUpHYkIN9DowojkuQEJq3Q==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 402, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02204dfbc401f971cd304b33dfdb17d0fed0fe4c1a88ae648e0d2847f74977534989", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04c9c2115290d008b45fb65fad0f602389298c25420b775019d42b62c3ce8a96b73877d25a8080dc02d987ca730f0405c2c9dbefac46f9e601cc3f06e9713973fd", |
| "wx": "00c9c2115290d008b45fb65fad0f602389298c25420b775019d42b62c3ce8a96b7", |
| "wy": "3877d25a8080dc02d987ca730f0405c2c9dbefac46f9e601cc3f06e9713973fd" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004c9c2115290d008b45fb65fad0f602389298c25420b775019d42b62c3ce8a96b73877d25a8080dc02d987ca730f0405c2c9dbefac46f9e601cc3f06e9713973fd", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEycIRUpDQCLRftl+tD2AjiSmMJUIL\nd1AZ1Ctiw86Klrc4d9JagIDcAtmHynMPBAXCydvvrEb55gHMPwbpcTlz/Q==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 403, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bc4024761cd2ffd43dfdb17d0fed112b988977055cd3a8e54971eba9cda5ca71", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "045eca1ef4c287dddc66b8bccf1b88e8a24c0018962f3c5e7efa83bc1a5ff6033e5e79c4cb2c245b8c45abdce8a8e4da758d92a607c32cd407ecaef22f1c934a71", |
| "wx": "5eca1ef4c287dddc66b8bccf1b88e8a24c0018962f3c5e7efa83bc1a5ff6033e", |
| "wy": "5e79c4cb2c245b8c45abdce8a8e4da758d92a607c32cd407ecaef22f1c934a71" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200045eca1ef4c287dddc66b8bccf1b88e8a24c0018962f3c5e7efa83bc1a5ff6033e5e79c4cb2c245b8c45abdce8a8e4da758d92a607c32cd407ecaef22f1c934a71", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEXsoe9MKH3dxmuLzPG4jookwAGJYv\nPF5++oO8Gl/2Az5eecTLLCRbjEWr3Oio5Np1jZKmB8Ms1AfsrvIvHJNKcQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 404, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220788048ed39a5ffa77bfb62fa1fda2257742bf35d128fb3459f2a0c909ee86f91", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "045caaa030e7fdf0e4936bc7ab5a96353e0a01e4130c3f8bf22d473e317029a47adeb6adc462f7058f2a20d371e9702254e9b201642005b3ceda926b42b178bef9", |
| "wx": "5caaa030e7fdf0e4936bc7ab5a96353e0a01e4130c3f8bf22d473e317029a47a", |
| "wy": "00deb6adc462f7058f2a20d371e9702254e9b201642005b3ceda926b42b178bef9" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200045caaa030e7fdf0e4936bc7ab5a96353e0a01e4130c3f8bf22d473e317029a47adeb6adc462f7058f2a20d371e9702254e9b201642005b3ceda926b42b178bef9", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEXKqgMOf98OSTa8erWpY1PgoB5BMM\nP4vyLUc+MXAppHretq3EYvcFjyog03HpcCJU6bIBZCAFs87akmtCsXi++Q==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 405, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220476d9131fd381bd917d0fed112bc9e0a5924b5ed5b11167edd8b23582b3cb15e", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04c2fd20bac06e555bb8ac0ce69eb1ea20f83a1fc3501c8a66469b1a31f619b0986237050779f52b615bd7b8d76a25fc95ca2ed32525c75f27ffc87ac397e6cbaf", |
| "wx": "00c2fd20bac06e555bb8ac0ce69eb1ea20f83a1fc3501c8a66469b1a31f619b098", |
| "wy": "6237050779f52b615bd7b8d76a25fc95ca2ed32525c75f27ffc87ac397e6cbaf" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004c2fd20bac06e555bb8ac0ce69eb1ea20f83a1fc3501c8a66469b1a31f619b0986237050779f52b615bd7b8d76a25fc95ca2ed32525c75f27ffc87ac397e6cbaf", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEwv0gusBuVVu4rAzmnrHqIPg6H8NQ\nHIpmRpsaMfYZsJhiNwUHefUrYVvXuNdqJfyVyi7TJSXHXyf/yHrDl+bLrw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 406, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0221008374253e3e21bd154448d0a8f640fe46fafa8b19ce78d538f6cc0a19662d3601", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "043fd6a1ca7f77fb3b0bbe726c372010068426e11ea6ae78ce17bedae4bba86ced03ce5516406bf8cfaab8745eac1cd69018ad6f50b5461872ddfc56e0db3c8ff4", |
| "wx": "3fd6a1ca7f77fb3b0bbe726c372010068426e11ea6ae78ce17bedae4bba86ced", |
| "wy": "03ce5516406bf8cfaab8745eac1cd69018ad6f50b5461872ddfc56e0db3c8ff4" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200043fd6a1ca7f77fb3b0bbe726c372010068426e11ea6ae78ce17bedae4bba86ced03ce5516406bf8cfaab8745eac1cd69018ad6f50b5461872ddfc56e0db3c8ff4", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEP9ahyn93+zsLvnJsNyAQBoQm4R6m\nrnjOF77a5LuobO0DzlUWQGv4z6q4dF6sHNaQGK1vULVGGHLd/Fbg2zyP9A==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 407, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220357cfd3be4d01d413c5b9ede36cba5452c11ee7fe14879e749ae6a2d897a52d6", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "049cb8e51e27a5ae3b624a60d6dc32734e4989db20e9bca3ede1edf7b086911114b4c104ab3c677e4b36d6556e8ad5f523410a19f2e277aa895fc57322b4427544", |
| "wx": "009cb8e51e27a5ae3b624a60d6dc32734e4989db20e9bca3ede1edf7b086911114", |
| "wy": "00b4c104ab3c677e4b36d6556e8ad5f523410a19f2e277aa895fc57322b4427544" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200049cb8e51e27a5ae3b624a60d6dc32734e4989db20e9bca3ede1edf7b086911114b4c104ab3c677e4b36d6556e8ad5f523410a19f2e277aa895fc57322b4427544", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEnLjlHielrjtiSmDW3DJzTkmJ2yDp\nvKPt4e33sIaRERS0wQSrPGd+SzbWVW6K1fUjQQoZ8uJ3qolfxXMitEJ1RA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 408, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022029798c5c0ee287d4a5e8e6b799fd86b8df5225298e6ffc807cd2f2bc27a0a6d8", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04a3e52c156dcaf10502620b7955bc2b40bc78ef3d569e1223c262512d8f49602a4a2039f31c1097024ad3cc86e57321de032355463486164cf192944977df147f", |
| "wx": "00a3e52c156dcaf10502620b7955bc2b40bc78ef3d569e1223c262512d8f49602a", |
| "wy": "4a2039f31c1097024ad3cc86e57321de032355463486164cf192944977df147f" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004a3e52c156dcaf10502620b7955bc2b40bc78ef3d569e1223c262512d8f49602a4a2039f31c1097024ad3cc86e57321de032355463486164cf192944977df147f", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEo+UsFW3K8QUCYgt5VbwrQLx47z1W\nnhIjwmJRLY9JYCpKIDnzHBCXAkrTzIblcyHeAyNVRjSGFkzxkpRJd98Ufw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 409, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02200b70f22c781092452dca1a5711fa3a5a1f72add1bf52c2ff7cae4820b30078dd", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04f19b78928720d5bee8e670fb90010fb15c37bf91b58a5157c3f3c059b2655e88cf701ec962fb4a11dcf273f5dc357e58468560c7cfeb942d074abd4329260509", |
| "wx": "00f19b78928720d5bee8e670fb90010fb15c37bf91b58a5157c3f3c059b2655e88", |
| "wy": "00cf701ec962fb4a11dcf273f5dc357e58468560c7cfeb942d074abd4329260509" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004f19b78928720d5bee8e670fb90010fb15c37bf91b58a5157c3f3c059b2655e88cf701ec962fb4a11dcf273f5dc357e58468560c7cfeb942d074abd4329260509", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE8Zt4kocg1b7o5nD7kAEPsVw3v5G1\nilFXw/PAWbJlXojPcB7JYvtKEdzyc/XcNX5YRoVgx8/rlC0HSr1DKSYFCQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 410, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022016e1e458f021248a5b9434ae23f474b43ee55ba37ea585fef95c90416600f1ba", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "0483a744459ecdfb01a5cf52b27a05bb7337482d242f235d7b4cb89345545c90a8c05d49337b9649813287de9ffe90355fd905df5f3c32945828121f37cc50de6e", |
| "wx": "0083a744459ecdfb01a5cf52b27a05bb7337482d242f235d7b4cb89345545c90a8", |
| "wy": "00c05d49337b9649813287de9ffe90355fd905df5f3c32945828121f37cc50de6e" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d0301070342000483a744459ecdfb01a5cf52b27a05bb7337482d242f235d7b4cb89345545c90a8c05d49337b9649813287de9ffe90355fd905df5f3c32945828121f37cc50de6e", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEg6dERZ7N+wGlz1KyegW7czdILSQv\nI117TLiTRVRckKjAXUkze5ZJgTKH3p/+kDVf2QXfXzwylFgoEh83zFDebg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 411, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02202252d6856831b6cf895e4f0535eeaf0e5e5809753df848fe760ad86219016a97", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04dd13c6b34c56982ddae124f039dfd23f4b19bbe88cee8e528ae51e5d6f3a21d7bfad4c2e6f263fe5eb59ca974d039fc0e4c3345692fb5320bdae4bd3b42a45ff", |
| "wx": "00dd13c6b34c56982ddae124f039dfd23f4b19bbe88cee8e528ae51e5d6f3a21d7", |
| "wy": "00bfad4c2e6f263fe5eb59ca974d039fc0e4c3345692fb5320bdae4bd3b42a45ff" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004dd13c6b34c56982ddae124f039dfd23f4b19bbe88cee8e528ae51e5d6f3a21d7bfad4c2e6f263fe5eb59ca974d039fc0e4c3345692fb5320bdae4bd3b42a45ff", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE3RPGs0xWmC3a4STwOd/SP0sZu+iM\n7o5SiuUeXW86Ide/rUwubyY/5etZypdNA5/A5MM0VpL7UyC9rkvTtCpF/w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 412, |
| "comment": "edge case for u1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02210081ffe55f178da695b28c86d8b406b15dab1a9e39661a3ae017fbe390ac0972c3", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "0467e6f659cdde869a2f65f094e94e5b4dfad636bbf95192feeed01b0f3deb7460a37e0a51f258b7aeb51dfe592f5cfd5685bbe58712c8d9233c62886437c38ba0", |
| "wx": "67e6f659cdde869a2f65f094e94e5b4dfad636bbf95192feeed01b0f3deb7460", |
| "wy": "00a37e0a51f258b7aeb51dfe592f5cfd5685bbe58712c8d9233c62886437c38ba0" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d0301070342000467e6f659cdde869a2f65f094e94e5b4dfad636bbf95192feeed01b0f3deb7460a37e0a51f258b7aeb51dfe592f5cfd5685bbe58712c8d9233c62886437c38ba0", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEZ+b2Wc3ehpovZfCU6U5bTfrWNrv5\nUZL+7tAbDz3rdGCjfgpR8li3rrUd/lkvXP1WhbvlhxLI2SM8YohkN8OLoA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 413, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02207fffffffaaaaaaaaffffffffffffffffe9a2538f37b28a2c513dee40fecbb71a", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "042eb6412505aec05c6545f029932087e490d05511e8ec1f599617bb367f9ecaaf805f51efcc4803403f9b1ae0124890f06a43fedcddb31830f6669af292895cb0", |
| "wx": "2eb6412505aec05c6545f029932087e490d05511e8ec1f599617bb367f9ecaaf", |
| "wy": "00805f51efcc4803403f9b1ae0124890f06a43fedcddb31830f6669af292895cb0" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200042eb6412505aec05c6545f029932087e490d05511e8ec1f599617bb367f9ecaaf805f51efcc4803403f9b1ae0124890f06a43fedcddb31830f6669af292895cb0", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELrZBJQWuwFxlRfApkyCH5JDQVRHo\n7B9Zlhe7Nn+eyq+AX1HvzEgDQD+bGuASSJDwakP+3N2zGDD2ZprykolcsA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 414, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100b62f26b5f2a2b26f6de86d42ad8a13da3ab3cccd0459b201de009e526adf21f2", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "0484db645868eab35e3a9fd80e056e2e855435e3a6b68d75a50a854625fe0d7f356d2589ac655edc9a11ef3e075eddda9abf92e72171570ef7bf43a2ee39338cfe", |
| "wx": "0084db645868eab35e3a9fd80e056e2e855435e3a6b68d75a50a854625fe0d7f35", |
| "wy": "6d2589ac655edc9a11ef3e075eddda9abf92e72171570ef7bf43a2ee39338cfe" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d0301070342000484db645868eab35e3a9fd80e056e2e855435e3a6b68d75a50a854625fe0d7f356d2589ac655edc9a11ef3e075eddda9abf92e72171570ef7bf43a2ee39338cfe", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhNtkWGjqs146n9gOBW4uhVQ146a2\njXWlCoVGJf4NfzVtJYmsZV7cmhHvPgde3dqav5LnIXFXDve/Q6LuOTOM/g==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 415, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bb1d9ac949dd748cd02bbbe749bd351cd57b38bb61403d700686aa7b4c90851e", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "0491b9e47c56278662d75c0983b22ca8ea6aa5059b7a2ff7637eb2975e386ad66349aa8ff283d0f77c18d6d11dc062165fd13c3c0310679c1408302a16854ecfbd", |
| "wx": "0091b9e47c56278662d75c0983b22ca8ea6aa5059b7a2ff7637eb2975e386ad663", |
| "wy": "49aa8ff283d0f77c18d6d11dc062165fd13c3c0310679c1408302a16854ecfbd" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d0301070342000491b9e47c56278662d75c0983b22ca8ea6aa5059b7a2ff7637eb2975e386ad66349aa8ff283d0f77c18d6d11dc062165fd13c3c0310679c1408302a16854ecfbd", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEkbnkfFYnhmLXXAmDsiyo6mqlBZt6\nL/djfrKXXjhq1mNJqo/yg9D3fBjW0R3AYhZf0Tw8AxBnnBQIMCoWhU7PvQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 416, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022066755a00638cdaec1c732513ca0234ece52545dac11f816e818f725b4f60aaf2", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04f3ec2f13caf04d0192b47fb4c5311fb6d4dc6b0a9e802e5327f7ec5ee8e4834df97e3e468b7d0db867d6ecfe81e2b0f9531df87efdb47c1338ac321fefe5a432", |
| "wx": "00f3ec2f13caf04d0192b47fb4c5311fb6d4dc6b0a9e802e5327f7ec5ee8e4834d", |
| "wy": "00f97e3e468b7d0db867d6ecfe81e2b0f9531df87efdb47c1338ac321fefe5a432" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004f3ec2f13caf04d0192b47fb4c5311fb6d4dc6b0a9e802e5327f7ec5ee8e4834df97e3e468b7d0db867d6ecfe81e2b0f9531df87efdb47c1338ac321fefe5a432", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE8+wvE8rwTQGStH+0xTEfttTcawqe\ngC5TJ/fsXujkg035fj5Gi30NuGfW7P6B4rD5Ux34fv20fBM4rDIf7+WkMg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 417, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022055a00c9fcdaebb6032513ca0234ecfffe98ebe492fdf02e48ca48e982beb3669", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04d92b200aefcab6ac7dafd9acaf2fa10b3180235b8f46b4503e4693c670fccc885ef2f3aebf5b317475336256768f7c19efb7352d27e4cccadc85b6b8ab922c72", |
| "wx": "00d92b200aefcab6ac7dafd9acaf2fa10b3180235b8f46b4503e4693c670fccc88", |
| "wy": "5ef2f3aebf5b317475336256768f7c19efb7352d27e4cccadc85b6b8ab922c72" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004d92b200aefcab6ac7dafd9acaf2fa10b3180235b8f46b4503e4693c670fccc885ef2f3aebf5b317475336256768f7c19efb7352d27e4cccadc85b6b8ab922c72", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE2SsgCu/Ktqx9r9msry+hCzGAI1uP\nRrRQPkaTxnD8zIhe8vOuv1sxdHUzYlZ2j3wZ77c1LSfkzMrchba4q5Iscg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 418, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100ab40193f9b5d76c064a27940469d9fffd31d7c925fbe05c919491d3057d66cd2", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "040a88361eb92ecca2625b38e5f98bbabb96bf179b3d76fc48140a3bcd881523cde6bdf56033f84a5054035597375d90866aa2c96b86a41ccf6edebf47298ad489", |
| "wx": "0a88361eb92ecca2625b38e5f98bbabb96bf179b3d76fc48140a3bcd881523cd", |
| "wy": "00e6bdf56033f84a5054035597375d90866aa2c96b86a41ccf6edebf47298ad489" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200040a88361eb92ecca2625b38e5f98bbabb96bf179b3d76fc48140a3bcd881523cde6bdf56033f84a5054035597375d90866aa2c96b86a41ccf6edebf47298ad489", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAECog2HrkuzKJiWzjl+Yu6u5a/F5s9\ndvxIFAo7zYgVI83mvfVgM/hKUFQDVZc3XZCGaqLJa4akHM9u3r9HKYrUiQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 419, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100ca0234ebb5fdcb13ca0234ecffffffffcb0dadbbc7f549f8a26b4408d0dc8600", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04d0fb17ccd8fafe827e0c1afc5d8d80366e2b20e7f14a563a2ba50469d84375e868612569d39e2bb9f554355564646de99ac602cc6349cf8c1e236a7de7637d93", |
| "wx": "00d0fb17ccd8fafe827e0c1afc5d8d80366e2b20e7f14a563a2ba50469d84375e8", |
| "wy": "68612569d39e2bb9f554355564646de99ac602cc6349cf8c1e236a7de7637d93" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004d0fb17ccd8fafe827e0c1afc5d8d80366e2b20e7f14a563a2ba50469d84375e868612569d39e2bb9f554355564646de99ac602cc6349cf8c1e236a7de7637d93", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE0PsXzNj6/oJ+DBr8XY2ANm4rIOfx\nSlY6K6UEadhDdehoYSVp054rufVUNVVkZG3pmsYCzGNJz4weI2p952N9kw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 420, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bfffffff3ea3677e082b9310572620ae19933a9e65b285598711c77298815ad3", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04836f33bbc1dc0d3d3abbcef0d91f11e2ac4181076c9af0a22b1e4309d3edb2769ab443ff6f901e30c773867582997c2bec2b0cb8120d760236f3a95bbe881f75", |
| "wx": "00836f33bbc1dc0d3d3abbcef0d91f11e2ac4181076c9af0a22b1e4309d3edb276", |
| "wy": "009ab443ff6f901e30c773867582997c2bec2b0cb8120d760236f3a95bbe881f75" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004836f33bbc1dc0d3d3abbcef0d91f11e2ac4181076c9af0a22b1e4309d3edb2769ab443ff6f901e30c773867582997c2bec2b0cb8120d760236f3a95bbe881f75", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEg28zu8HcDT06u87w2R8R4qxBgQds\nmvCiKx5DCdPtsnaatEP/b5AeMMdzhnWCmXwr7CsMuBINdgI286lbvogfdQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 421, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd0220266666663bbbbbbbe6666666666666665b37902e023fab7c8f055d86e5cc41f4", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "0492f99fbe973ed4a299719baee4b432741237034dec8d72ba5103cb33e55feeb8033dd0e91134c734174889f3ebcf1b7a1ac05767289280ee7a794cebd6e69697", |
| "wx": "0092f99fbe973ed4a299719baee4b432741237034dec8d72ba5103cb33e55feeb8", |
| "wy": "033dd0e91134c734174889f3ebcf1b7a1ac05767289280ee7a794cebd6e69697" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d0301070342000492f99fbe973ed4a299719baee4b432741237034dec8d72ba5103cb33e55feeb8033dd0e91134c734174889f3ebcf1b7a1ac05767289280ee7a794cebd6e69697", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEkvmfvpc+1KKZcZuu5LQydBI3A03s\njXK6UQPLM+Vf7rgDPdDpETTHNBdIifPrzxt6GsBXZyiSgO56eUzr1uaWlw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 422, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bfffffff36db6db7a492492492492492146c573f4c6dfc8d08a443e258970b09", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04d35ba58da30197d378e618ec0fa7e2e2d12cffd73ebbb2049d130bba434af09eff83986e6875e41ea432b7585a49b3a6c77cbb3c47919f8e82874c794635c1d2", |
| "wx": "00d35ba58da30197d378e618ec0fa7e2e2d12cffd73ebbb2049d130bba434af09e", |
| "wy": "00ff83986e6875e41ea432b7585a49b3a6c77cbb3c47919f8e82874c794635c1d2" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004d35ba58da30197d378e618ec0fa7e2e2d12cffd73ebbb2049d130bba434af09eff83986e6875e41ea432b7585a49b3a6c77cbb3c47919f8e82874c794635c1d2", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE01uljaMBl9N45hjsD6fi4tEs/9c+\nu7IEnRMLukNK8J7/g5huaHXkHqQyt1haSbOmx3y7PEeRn46Ch0x5RjXB0g==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 423, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100bfffffff2aaaaaab7fffffffffffffffc815d0e60b3e596ecb1ad3a27cfd49c4", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "048651ce490f1b46d73f3ff475149be29136697334a519d7ddab0725c8d0793224e11c65bd8ca92dc8bc9ae82911f0b52751ce21dd9003ae60900bd825f590cc28", |
| "wx": "008651ce490f1b46d73f3ff475149be29136697334a519d7ddab0725c8d0793224", |
| "wy": "00e11c65bd8ca92dc8bc9ae82911f0b52751ce21dd9003ae60900bd825f590cc28" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200048651ce490f1b46d73f3ff475149be29136697334a519d7ddab0725c8d0793224e11c65bd8ca92dc8bc9ae82911f0b52751ce21dd9003ae60900bd825f590cc28", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhlHOSQ8bRtc/P/R1FJvikTZpczSl\nGdfdqwclyNB5MiThHGW9jKktyLya6CkR8LUnUc4h3ZADrmCQC9gl9ZDMKA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 424, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02207fffffff55555555ffffffffffffffffd344a71e6f651458a27bdc81fd976e37", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "046d8e1b12c831a0da8795650ff95f101ed921d9e2f72b15b1cdaca9826b9cfc6def6d63e2bc5c089570394a4bc9f892d5e6c7a6a637b20469a58c106ad486bf37", |
| "wx": "6d8e1b12c831a0da8795650ff95f101ed921d9e2f72b15b1cdaca9826b9cfc6d", |
| "wy": "00ef6d63e2bc5c089570394a4bc9f892d5e6c7a6a637b20469a58c106ad486bf37" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200046d8e1b12c831a0da8795650ff95f101ed921d9e2f72b15b1cdaca9826b9cfc6def6d63e2bc5c089570394a4bc9f892d5e6c7a6a637b20469a58c106ad486bf37", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEbY4bEsgxoNqHlWUP+V8QHtkh2eL3\nKxWxzaypgmuc/G3vbWPivFwIlXA5SkvJ+JLV5sempjeyBGmljBBq1Ia/Nw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 425, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02203fffffff800000007fffffffffffffffde737d56d38bcf4279dce5617e3192aa", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "040ae580bae933b4ef2997cbdbb0922328ca9a410f627a0f7dff24cb4d920e15428911e7f8cc365a8a88eb81421a361ccc2b99e309d8dcd9a98ba83c3949d893e3", |
| "wx": "0ae580bae933b4ef2997cbdbb0922328ca9a410f627a0f7dff24cb4d920e1542", |
| "wy": "008911e7f8cc365a8a88eb81421a361ccc2b99e309d8dcd9a98ba83c3949d893e3" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200040ae580bae933b4ef2997cbdbb0922328ca9a410f627a0f7dff24cb4d920e15428911e7f8cc365a8a88eb81421a361ccc2b99e309d8dcd9a98ba83c3949d893e3", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAECuWAuukztO8pl8vbsJIjKMqaQQ9i\neg99/yTLTZIOFUKJEef4zDZaiojrgUIaNhzMK5njCdjc2amLqDw5SdiT4w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 426, |
| "comment": "edge case for u2", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd02205d8ecd64a4eeba466815ddf3a4de9a8e6abd9c5db0a01eb80343553da648428f", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "045b812fd521aafa69835a849cce6fbdeb6983b442d2444fe70e134c027fc46963838a40f2a36092e9004e92d8d940cf5638550ce672ce8b8d4e15eba5499249e9", |
| "wx": "5b812fd521aafa69835a849cce6fbdeb6983b442d2444fe70e134c027fc46963", |
| "wy": "00838a40f2a36092e9004e92d8d940cf5638550ce672ce8b8d4e15eba5499249e9" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200045b812fd521aafa69835a849cce6fbdeb6983b442d2444fe70e134c027fc46963838a40f2a36092e9004e92d8d940cf5638550ce672ce8b8d4e15eba5499249e9", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEW4Ev1SGq+mmDWoSczm+962mDtELS\nRE/nDhNMAn/EaWODikDyo2CS6QBOktjZQM9WOFUM5nLOi41OFeulSZJJ6Q==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 427, |
| "comment": "point duplication during verification", |
| "flags": [ |
| "PointDuplication" |
| ], |
| "msg": "313233343030", |
| "sig": "304502206f2347cab7dd76858fe0555ac3bc99048c4aacafdfb6bcbe05ea6c42c4934569022100bb726660235793aa9957a61e76e00c2c435109cf9a15dd624d53f4301047856b", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "045b812fd521aafa69835a849cce6fbdeb6983b442d2444fe70e134c027fc469637c75bf0c5c9f6d17ffb16d2726bf30a9c7aaf31a8d317472b1ea145ab66db616", |
| "wx": "5b812fd521aafa69835a849cce6fbdeb6983b442d2444fe70e134c027fc46963", |
| "wy": "7c75bf0c5c9f6d17ffb16d2726bf30a9c7aaf31a8d317472b1ea145ab66db616" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200045b812fd521aafa69835a849cce6fbdeb6983b442d2444fe70e134c027fc469637c75bf0c5c9f6d17ffb16d2726bf30a9c7aaf31a8d317472b1ea145ab66db616", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEW4Ev1SGq+mmDWoSczm+962mDtELS\nRE/nDhNMAn/EaWN8db8MXJ9tF/+xbScmvzCpx6rzGo0xdHKx6hRatm22Fg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 428, |
| "comment": "duplication bug", |
| "flags": [ |
| "PointDuplication" |
| ], |
| "msg": "313233343030", |
| "sig": "304502206f2347cab7dd76858fe0555ac3bc99048c4aacafdfb6bcbe05ea6c42c4934569022100bb726660235793aa9957a61e76e00c2c435109cf9a15dd624d53f4301047856b", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "046adda82b90261b0f319faa0d878665a6b6da497f09c903176222c34acfef72a647e6f50dcc40ad5d9b59f7602bb222fad71a41bf5e1f9df4959a364c62e488d9", |
| "wx": "6adda82b90261b0f319faa0d878665a6b6da497f09c903176222c34acfef72a6", |
| "wy": "47e6f50dcc40ad5d9b59f7602bb222fad71a41bf5e1f9df4959a364c62e488d9" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200046adda82b90261b0f319faa0d878665a6b6da497f09c903176222c34acfef72a647e6f50dcc40ad5d9b59f7602bb222fad71a41bf5e1f9df4959a364c62e488d9", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEat2oK5AmGw8xn6oNh4ZlprbaSX8J\nyQMXYiLDSs/vcqZH5vUNzECtXZtZ92ArsiL61xpBv14fnfSVmjZMYuSI2Q==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 429, |
| "comment": "point with x-coordinate 0", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30250201010220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "042fca0d0a47914de77ed56e7eccc3276a601120c6df0069c825c8f6a01c9f382065f3450a1d17c6b24989a39beb1c7decfca8384fbdc294418e5d807b3c6ed7de", |
| "wx": "2fca0d0a47914de77ed56e7eccc3276a601120c6df0069c825c8f6a01c9f3820", |
| "wy": "65f3450a1d17c6b24989a39beb1c7decfca8384fbdc294418e5d807b3c6ed7de" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200042fca0d0a47914de77ed56e7eccc3276a601120c6df0069c825c8f6a01c9f382065f3450a1d17c6b24989a39beb1c7decfca8384fbdc294418e5d807b3c6ed7de", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEL8oNCkeRTed+1W5+zMMnamARIMbf\nAGnIJcj2oByfOCBl80UKHRfGskmJo5vrHH3s/Kg4T73ClEGOXYB7PG7X3g==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 430, |
| "comment": "point with x-coordinate 0", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "3045022101000000000000000000000000000000000000000000000000000000000000000002203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aa9", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04dd86d3b5f4a13e8511083b78002081c53ff467f11ebd98a51a633db76665d25045d5c8200c89f2fa10d849349226d21d8dfaed6ff8d5cb3e1b7e17474ebc18f7", |
| "wx": "00dd86d3b5f4a13e8511083b78002081c53ff467f11ebd98a51a633db76665d250", |
| "wy": "45d5c8200c89f2fa10d849349226d21d8dfaed6ff8d5cb3e1b7e17474ebc18f7" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004dd86d3b5f4a13e8511083b78002081c53ff467f11ebd98a51a633db76665d25045d5c8200c89f2fa10d849349226d21d8dfaed6ff8d5cb3e1b7e17474ebc18f7", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE3YbTtfShPoURCDt4ACCBxT/0Z/Ee\nvZilGmM9t2Zl0lBF1cggDIny+hDYSTSSJtIdjfrtb/jVyz4bfhdHTrwY9w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 431, |
| "comment": "comparison with point at infinity ", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "30440220555555550000000055555555555555553ef7a8e48d07df81a693439654210c7002203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aa9", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "044fea55b32cb32aca0c12c4cd0abfb4e64b0f5a516e578c016591a93f5a0fbcc5d7d3fd10b2be668c547b212f6bb14c88f0fecd38a8a4b2c785ed3be62ce4b280", |
| "wx": "4fea55b32cb32aca0c12c4cd0abfb4e64b0f5a516e578c016591a93f5a0fbcc5", |
| "wy": "00d7d3fd10b2be668c547b212f6bb14c88f0fecd38a8a4b2c785ed3be62ce4b280" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200044fea55b32cb32aca0c12c4cd0abfb4e64b0f5a516e578c016591a93f5a0fbcc5d7d3fd10b2be668c547b212f6bb14c88f0fecd38a8a4b2c785ed3be62ce4b280", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAET+pVsyyzKsoMEsTNCr+05ksPWlFu\nV4wBZZGpP1oPvMXX0/0Qsr5mjFR7IS9rsUyI8P7NOKiksseF7TvmLOSygA==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 432, |
| "comment": "extreme value for k and edgecase s", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc476699780220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04c6a771527024227792170a6f8eee735bf32b7f98af669ead299802e32d7c3107bc3b4b5e65ab887bbd343572b3e5619261fe3a073e2ffd78412f726867db589e", |
| "wx": "00c6a771527024227792170a6f8eee735bf32b7f98af669ead299802e32d7c3107", |
| "wy": "00bc3b4b5e65ab887bbd343572b3e5619261fe3a073e2ffd78412f726867db589e" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004c6a771527024227792170a6f8eee735bf32b7f98af669ead299802e32d7c3107bc3b4b5e65ab887bbd343572b3e5619261fe3a073e2ffd78412f726867db589e", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAExqdxUnAkIneSFwpvju5zW/Mrf5iv\nZp6tKZgC4y18MQe8O0teZauIe700NXKz5WGSYf46Bz4v/XhBL3JoZ9tYng==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 433, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022100b6db6db6249249254924924924924924625bd7a09bec4ca81bcdd9f8fd6b63cc", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04851c2bbad08e54ec7a9af99f49f03644d6ec6d59b207fec98de85a7d15b956efcee9960283045075684b410be8d0f7494b91aa2379f60727319f10ddeb0fe9d6", |
| "wx": "00851c2bbad08e54ec7a9af99f49f03644d6ec6d59b207fec98de85a7d15b956ef", |
| "wy": "00cee9960283045075684b410be8d0f7494b91aa2379f60727319f10ddeb0fe9d6" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004851c2bbad08e54ec7a9af99f49f03644d6ec6d59b207fec98de85a7d15b956efcee9960283045075684b410be8d0f7494b91aa2379f60727319f10ddeb0fe9d6", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEhRwrutCOVOx6mvmfSfA2RNbsbVmy\nB/7JjehafRW5Vu/O6ZYCgwRQdWhLQQvo0PdJS5GqI3n2BycxnxDd6w/p1g==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 434, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022100cccccccc00000000cccccccccccccccc971f2ef152794b9d8fc7d568c9e8eaa7", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04f6417c8a670584e388676949e53da7fc55911ff68318d1bf3061205acb19c48f8f2b743df34ad0f72674acb7505929784779cd9ac916c3669ead43026ab6d43f", |
| "wx": "00f6417c8a670584e388676949e53da7fc55911ff68318d1bf3061205acb19c48f", |
| "wy": "008f2b743df34ad0f72674acb7505929784779cd9ac916c3669ead43026ab6d43f" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004f6417c8a670584e388676949e53da7fc55911ff68318d1bf3061205acb19c48f8f2b743df34ad0f72674acb7505929784779cd9ac916c3669ead43026ab6d43f", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE9kF8imcFhOOIZ2lJ5T2n/FWRH/aD\nGNG/MGEgWssZxI+PK3Q980rQ9yZ0rLdQWSl4R3nNmskWw2aerUMCarbUPw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 435, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc4766997802203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aaa", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04501421277be45a5eefec6c639930d636032565af420cf3373f557faa7f8a06438673d6cb6076e1cfcdc7dfe7384c8e5cac08d74501f2ae6e89cad195d0aa1371", |
| "wx": "501421277be45a5eefec6c639930d636032565af420cf3373f557faa7f8a0643", |
| "wy": "008673d6cb6076e1cfcdc7dfe7384c8e5cac08d74501f2ae6e89cad195d0aa1371" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004501421277be45a5eefec6c639930d636032565af420cf3373f557faa7f8a06438673d6cb6076e1cfcdc7dfe7384c8e5cac08d74501f2ae6e89cad195d0aa1371", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEUBQhJ3vkWl7v7GxjmTDWNgMlZa9C\nDPM3P1V/qn+KBkOGc9bLYHbhz83H3+c4TI5crAjXRQHyrm6JytGV0KoTcQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 436, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022049249248db6db6dbb6db6db6db6db6db5a8b230d0b2b51dcd7ebf0c9fef7c185", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "040d935bf9ffc115a527735f729ca8a4ca23ee01a4894adf0e3415ac84e808bb343195a3762fea29ed38912bd9ea6c4fde70c3050893a4375850ce61d82eba33c5", |
| "wx": "0d935bf9ffc115a527735f729ca8a4ca23ee01a4894adf0e3415ac84e808bb34", |
| "wy": "3195a3762fea29ed38912bd9ea6c4fde70c3050893a4375850ce61d82eba33c5" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200040d935bf9ffc115a527735f729ca8a4ca23ee01a4894adf0e3415ac84e808bb343195a3762fea29ed38912bd9ea6c4fde70c3050893a4375850ce61d82eba33c5", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDZNb+f/BFaUnc19ynKikyiPuAaSJ\nSt8ONBWshOgIuzQxlaN2L+op7TiRK9nqbE/ecMMFCJOkN1hQzmHYLrozxQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 437, |
| "comment": "extreme value for k", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402207cf27b188d034f7e8a52380304b51ac3c08969e277f21b35a60b48fc47669978022016a4502e2781e11ac82cbc9d1edd8c981584d13e18411e2f6e0478c34416e3bb", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "045e59f50708646be8a589355014308e60b668fb670196206c41e748e64e4dca215de37fee5c97bcaf7144d5b459982f52eeeafbdf03aacbafef38e213624a01de", |
| "wx": "5e59f50708646be8a589355014308e60b668fb670196206c41e748e64e4dca21", |
| "wy": "5de37fee5c97bcaf7144d5b459982f52eeeafbdf03aacbafef38e213624a01de" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200045e59f50708646be8a589355014308e60b668fb670196206c41e748e64e4dca215de37fee5c97bcaf7144d5b459982f52eeeafbdf03aacbafef38e213624a01de", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEXln1Bwhka+iliTVQFDCOYLZo+2cB\nliBsQedI5k5NyiFd43/uXJe8r3FE1bRZmC9S7ur73wOqy6/vOOITYkoB3g==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 438, |
| "comment": "extreme value for k and edgecase s", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c2960220555555550000000055555555555555553ef7a8e48d07df81a693439654210c70", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04169fb797325843faff2f7a5b5445da9e2fd6226f7ef90ef0bfe924104b02db8e7bbb8de662c7b9b1cf9b22f7a2e582bd46d581d68878efb2b861b131d8a1d667", |
| "wx": "169fb797325843faff2f7a5b5445da9e2fd6226f7ef90ef0bfe924104b02db8e", |
| "wy": "7bbb8de662c7b9b1cf9b22f7a2e582bd46d581d68878efb2b861b131d8a1d667" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004169fb797325843faff2f7a5b5445da9e2fd6226f7ef90ef0bfe924104b02db8e7bbb8de662c7b9b1cf9b22f7a2e582bd46d581d68878efb2b861b131d8a1d667", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEFp+3lzJYQ/r/L3pbVEXani/WIm9+\n+Q7wv+kkEEsC2457u43mYse5sc+bIvei5YK9RtWB1oh477K4YbEx2KHWZw==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 439, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022100b6db6db6249249254924924924924924625bd7a09bec4ca81bcdd9f8fd6b63cc", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04271cd89c000143096b62d4e9e4ca885aef2f7023d18affdaf8b7b548981487540a1c6e954e32108435b55fa385b0f76481a609b9149ccb4b02b2ca47fe8e4da5", |
| "wx": "271cd89c000143096b62d4e9e4ca885aef2f7023d18affdaf8b7b54898148754", |
| "wy": "0a1c6e954e32108435b55fa385b0f76481a609b9149ccb4b02b2ca47fe8e4da5" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004271cd89c000143096b62d4e9e4ca885aef2f7023d18affdaf8b7b548981487540a1c6e954e32108435b55fa385b0f76481a609b9149ccb4b02b2ca47fe8e4da5", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEJxzYnAABQwlrYtTp5MqIWu8vcCPR\niv/a+Le1SJgUh1QKHG6VTjIQhDW1X6OFsPdkgaYJuRScy0sCsspH/o5NpQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 440, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304502206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022100cccccccc00000000cccccccccccccccc971f2ef152794b9d8fc7d568c9e8eaa7", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "043d0bc7ed8f09d2cb7ddb46ebc1ed799ab1563a9ab84bf524587a220afe499c12e22dc3b3c103824a4f378d96adb0a408abf19ce7d68aa6244f78cb216fa3f8df", |
| "wx": "3d0bc7ed8f09d2cb7ddb46ebc1ed799ab1563a9ab84bf524587a220afe499c12", |
| "wy": "00e22dc3b3c103824a4f378d96adb0a408abf19ce7d68aa6244f78cb216fa3f8df" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200043d0bc7ed8f09d2cb7ddb46ebc1ed799ab1563a9ab84bf524587a220afe499c12e22dc3b3c103824a4f378d96adb0a408abf19ce7d68aa6244f78cb216fa3f8df", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPQvH7Y8J0st920brwe15mrFWOpq4\nS/UkWHoiCv5JnBLiLcOzwQOCSk83jZatsKQIq/Gc59aKpiRPeMshb6P43w==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 441, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c29602203333333300000000333333333333333325c7cbbc549e52e763f1f55a327a3aaa", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "04a6c885ade1a4c566f9bb010d066974abb281797fa701288c721bcbd23663a9b72e424b690957168d193a6096fc77a2b004a9c7d467e007e1f2058458f98af316", |
| "wx": "00a6c885ade1a4c566f9bb010d066974abb281797fa701288c721bcbd23663a9b7", |
| "wy": "2e424b690957168d193a6096fc77a2b004a9c7d467e007e1f2058458f98af316" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d03010703420004a6c885ade1a4c566f9bb010d066974abb281797fa701288c721bcbd23663a9b72e424b690957168d193a6096fc77a2b004a9c7d467e007e1f2058458f98af316", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEpsiFreGkxWb5uwENBml0q7KBeX+n\nASiMchvL0jZjqbcuQktpCVcWjRk6YJb8d6KwBKnH1GfgB+HyBYRY+YrzFg==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 442, |
| "comment": "extreme value for k and s^-1", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022049249248db6db6dbb6db6db6db6db6db5a8b230d0b2b51dcd7ebf0c9fef7c185", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "publicKey": { |
| "type": "EcPublicKey", |
| "curve": "secp256r1", |
| "keySize": 256, |
| "uncompressed": "048d3c2c2c3b765ba8289e6ac3812572a25bf75df62d87ab7330c3bdbad9ebfa5c4c6845442d66935b238578d43aec54f7caa1621d1af241d4632e0b780c423f5d", |
| "wx": "008d3c2c2c3b765ba8289e6ac3812572a25bf75df62d87ab7330c3bdbad9ebfa5c", |
| "wy": "4c6845442d66935b238578d43aec54f7caa1621d1af241d4632e0b780c423f5d" |
| }, |
| "publicKeyDer": "3059301306072a8648ce3d020106082a8648ce3d030107034200048d3c2c2c3b765ba8289e6ac3812572a25bf75df62d87ab7330c3bdbad9ebfa5c4c6845442d66935b238578d43aec54f7caa1621d1af241d4632e0b780c423f5d", |
| "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEjTwsLDt2W6gonmrDgSVyolv3XfYt\nh6tzMMO9utnr+lxMaEVELWaTWyOFeNQ67FT3yqFiHRryQdRjLgt4DEI/XQ==\n-----END PUBLIC KEY-----\n", |
| "sha": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 443, |
| "comment": "extreme value for k", |
| "flags": [ |
| "ArithmeticError" |
| ], |
| "msg": "313233343030", |
| "sig": "304402206b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296022016a4502e2781e11ac82cbc9d1edd8c981584d13e18411e2f6e0478c34416e3bb", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "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": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 444, |
| "comment": "public key shares x-coordinate with generator", |
| "flags": [ |
| "PointDuplication" |
| ], |
| "msg": "313233343030", |
| "sig": "3045022100bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419feca6050230220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 445, |
| "comment": "public key shares x-coordinate with generator", |
| "flags": [ |
| "PointDuplication" |
| ], |
| "msg": "313233343030", |
| "sig": "3044022044a5ad0ad0636d9f12bc9e0a6bdd5e1cbcb012ea7bf091fcec15b0c43202d52e0220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "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": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 446, |
| "comment": "public key shares x-coordinate with generator", |
| "flags": [ |
| "PointDuplication" |
| ], |
| "msg": "313233343030", |
| "sig": "3045022100bb5a52f42f9c9261ed4361f59422a1e30036e7c32b270c8807a419feca6050230220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 447, |
| "comment": "public key shares x-coordinate with generator", |
| "flags": [ |
| "PointDuplication" |
| ], |
| "msg": "313233343030", |
| "sig": "3044022044a5ad0ad0636d9f12bc9e0a6bdd5e1cbcb012ea7bf091fcec15b0c43202d52e0220249249246db6db6ddb6db6db6db6db6dad4591868595a8ee6bf5f864ff7be0c2", |
| "result": "invalid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "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": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 448, |
| "comment": "x-coordinate of the public key has many trailing 0's", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "3046022100d434e262a49eab7781e353a3565e482550dd0fd5defa013c7f29745eff3569f10221009b0c0a93f267fb6052fd8077be769c2b98953195d7bc10de844218305c6ba17a", |
| "result": "valid" |
| }, |
| { |
| "tcId": 449, |
| "comment": "x-coordinate of the public key has many trailing 0's", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "304402200fe774355c04d060f76d79fd7a772e421463489221bf0a33add0be9b1979110b0220500dcba1c69a8fbd43fa4f57f743ce124ca8b91a1f325f3fac6181175df55737", |
| "result": "valid" |
| }, |
| { |
| "tcId": 450, |
| "comment": "x-coordinate of the public key has many trailing 0's", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "3045022100bb40bf217bed3fb3950c7d39f03d36dc8e3b2cd79693f125bfd06595ee1135e30220541bf3532351ebb032710bdb6a1bf1bfc89a1e291ac692b3fa4780745bb55677", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "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": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 451, |
| "comment": "y-coordinate of the public key has many trailing 0's", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "30440220664eb7ee6db84a34df3c86ea31389a5405badd5ca99231ff556d3e75a233e73a022059f3c752e52eca46137642490a51560ce0badc678754b8f72e51a2901426a1bd", |
| "result": "valid" |
| }, |
| { |
| "tcId": 452, |
| "comment": "y-coordinate of the public key has many trailing 0's", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "304502204cd0429bbabd2827009d6fcd843d4ce39c3e42e2d1631fd001985a79d1fd8b430221009638bf12dd682f60be7ef1d0e0d98f08b7bca77a1a2b869ae466189d2acdabe3", |
| "result": "valid" |
| }, |
| { |
| "tcId": 453, |
| "comment": "y-coordinate of the public key has many trailing 0's", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "3046022100e56c6ea2d1b017091c44d8b6cb62b9f460e3ce9aed5e5fd41e8added97c56c04022100a308ec31f281e955be20b457e463440b4fcf2b80258078207fc1378180f89b55", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "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": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 454, |
| "comment": "y-coordinate of the public key has many trailing 1's", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "304402201158a08d291500b4cabed3346d891eee57c176356a2624fb011f8fbbf34668300220228a8c486a736006e082325b85290c5bc91f378b75d487dda46798c18f285519", |
| "result": "valid" |
| }, |
| { |
| "tcId": 455, |
| "comment": "y-coordinate of the public key has many trailing 1's", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "3045022100b1db9289649f59410ea36b0c0fc8d6aa2687b29176939dd23e0dde56d309fa9d02203e1535e4280559015b0dbd987366dcf43a6d1af5c23c7d584e1c3f48a1251336", |
| "result": "valid" |
| }, |
| { |
| "tcId": 456, |
| "comment": "y-coordinate of the public key has many trailing 1's", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "3046022100b7b16e762286cb96446aa8d4e6e7578b0a341a79f2dd1a220ac6f0ca4e24ed86022100ddc60a700a139b04661c547d07bbb0721780146df799ccf55e55234ecb8f12bc", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "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": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 457, |
| "comment": "x-coordinate of the public key has many trailing 1's", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "3045022100d82a7c2717261187c8e00d8df963ff35d796edad36bc6e6bd1c91c670d9105b402203dcabddaf8fcaa61f4603e7cbac0f3c0351ecd5988efb23f680d07debd139929", |
| "result": "valid" |
| }, |
| { |
| "tcId": 458, |
| "comment": "x-coordinate of the public key has many trailing 1's", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "304402205eb9c8845de68eb13d5befe719f462d77787802baff30ce96a5cba063254af7802202c026ae9be2e2a5e7ca0ff9bbd92fb6e44972186228ee9a62b87ddbe2ef66fb5", |
| "result": "valid" |
| }, |
| { |
| "tcId": 459, |
| "comment": "x-coordinate of the public key has many trailing 1's", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "304602210096843dd03c22abd2f3b782b170239f90f277921becc117d0404a8e4e36230c28022100f2be378f526f74a543f67165976de9ed9a31214eb4d7e6db19e1ede123dd991d", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "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": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 460, |
| "comment": "x-coordinate of the public key is large", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "30440220766456dce1857c906f9996af729339464d27e9d98edc2d0e3b760297067421f60220402385ecadae0d8081dccaf5d19037ec4e55376eced699e93646bfbbf19d0b41", |
| "result": "valid" |
| }, |
| { |
| "tcId": 461, |
| "comment": "x-coordinate of the public key is large", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "3046022100c605c4b2edeab20419e6518a11b2dbc2b97ed8b07cced0b19c34f777de7b9fd9022100edf0f612c5f46e03c719647bc8af1b29b2cde2eda700fb1cff5e159d47326dba", |
| "result": "valid" |
| }, |
| { |
| "tcId": 462, |
| "comment": "x-coordinate of the public key is large", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "3046022100d48b68e6cabfe03cf6141c9ac54141f210e64485d9929ad7b732bfe3b7eb8a84022100feedae50c61bd00e19dc26f9b7e2265e4508c389109ad2f208f0772315b6c941", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "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": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 463, |
| "comment": "x-coordinate of the public key is small", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "3046022100b7c81457d4aeb6aa65957098569f0479710ad7f6595d5874c35a93d12a5dd4c7022100b7961a0b652878c2d568069a432ca18a1a9199f2ca574dad4b9e3a05c0a1cdb3", |
| "result": "valid" |
| }, |
| { |
| "tcId": 464, |
| "comment": "x-coordinate of the public key is small", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "304402206b01332ddb6edfa9a30a1321d5858e1ee3cf97e263e669f8de5e9652e76ff3f702205939545fced457309a6a04ace2bd0f70139c8f7d86b02cb1cc58f9e69e96cd5a", |
| "result": "valid" |
| }, |
| { |
| "tcId": 465, |
| "comment": "x-coordinate of the public key is small", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "3046022100efdb884720eaeadc349f9fc356b6c0344101cd2fd8436b7d0e6a4fb93f106361022100f24bee6ad5dc05f7613975473aadf3aacba9e77de7d69b6ce48cb60d8113385d", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "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": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 466, |
| "comment": "y-coordinate of the public key is small", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "3044022031230428405560dcb88fb5a646836aea9b23a23dd973dcbe8014c87b8b20eb0702200f9344d6e812ce166646747694a41b0aaf97374e19f3c5fb8bd7ae3d9bd0beff", |
| "result": "valid" |
| }, |
| { |
| "tcId": 467, |
| "comment": "y-coordinate of the public key is small", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "3046022100caa797da65b320ab0d5c470cda0b36b294359c7db9841d679174db34c4855743022100cf543a62f23e212745391aaf7505f345123d2685ee3b941d3de6d9b36242e5a0", |
| "result": "valid" |
| }, |
| { |
| "tcId": 468, |
| "comment": "y-coordinate of the public key is small", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "304502207e5f0ab5d900d3d3d7867657e5d6d36519bc54084536e7d21c336ed8001859450221009450c07f201faec94b82dfb322e5ac676688294aad35aa72e727ff0b19b646aa", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "google-wycheproof", |
| "version": "0.9rc5" |
| }, |
| "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": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 469, |
| "comment": "y-coordinate of the public key is large", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "3046022100d7d70c581ae9e3f66dc6a480bf037ae23f8a1e4a2136fe4b03aa69f0ca25b35602210089c460f8a5a5c2bbba962c8a3ee833a413e85658e62a59e2af41d9127cc47224", |
| "result": "valid" |
| }, |
| { |
| "tcId": 470, |
| "comment": "y-coordinate of the public key is large", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "30440220341c1b9ff3c83dd5e0dfa0bf68bcdf4bb7aa20c625975e5eeee34bb396266b34022072b69f061b750fd5121b22b11366fad549c634e77765a017902a67099e0a4469", |
| "result": "valid" |
| }, |
| { |
| "tcId": 471, |
| "comment": "y-coordinate of the public key is large", |
| "flags": [ |
| "EdgeCasePublicKey" |
| ], |
| "msg": "4d657373616765", |
| "sig": "3045022070bebe684cdcb5ca72a42f0d873879359bd1781a591809947628d313a3814f67022100aec03aca8f5587a4d535fa31027bbe9cc0e464b1c3577f4c2dcde6b2094798a9", |
| "result": "valid" |
| } |
| ] |
| }, |
| { |
| "type": "EcdsaVerify", |
| "source": { |
| "name": "github/davidben/ecdsa-non-minimal-tag", |
| "version": "0.1" |
| }, |
| "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": "SHA-256", |
| "tests": [ |
| { |
| "tcId": 472, |
| "comment": "signature with non-minimal SEQUENCE tag", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "", |
| "sig": "3f1045022100b292a619339f6e567a305c951c0dcbcc42d16e47f219f9e98e76e09d8770b34a02200177e60492c5a8242f76f07bfe3661bde59ec2a17ce5bd2dab2abebdf89a62e2", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 473, |
| "comment": "signature with non-minimal INTEGER tag on r", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "", |
| "sig": "30461f022100b292a619339f6e567a305c951c0dcbcc42d16e47f219f9e98e76e09d8770b34a02200177e60492c5a8242f76f07bfe3661bde59ec2a17ce5bd2dab2abebdf89a62e2", |
| "result": "invalid" |
| }, |
| { |
| "tcId": 474, |
| "comment": "signature with non-minimal INTEGER tag on s", |
| "flags": [ |
| "InvalidEncoding" |
| ], |
| "msg": "", |
| "sig": "3046022100b292a619339f6e567a305c951c0dcbcc42d16e47f219f9e98e76e09d8770b34a1f02200177e60492c5a8242f76f07bfe3661bde59ec2a17ce5bd2dab2abebdf89a62e2", |
| "result": "invalid" |
| } |
| ] |
| } |
| ] |
| } |