| { |
| "algorithm" : "ECDSA", |
| "generatorVersion" : "0.8r12", |
| "numberOfTests" : 395, |
| "header" : [ |
| "Test vectors of type EcdsaVerify are meant for the verification", |
| "of ASN encoded ECDSA signatures." |
| ], |
| "notes" : { |
| "BER" : "This is a signature with correct values for (r, s) but using some alternative BER encoding instead of DER encoding. Implementations should not accept such signatures to limit signature malleability.", |
| "EdgeCase" : "Edge case values such as r=1 and s=0 can lead to forgeries if the ECDSA implementation does not check boundaries and computes s^(-1)==0.", |
| "MissingZero" : "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.", |
| "PointDuplication" : "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." |
| }, |
| "schema" : "ecdsa_verify_schema.json", |
| "testGroups" : [ |
| { |
| "key" : { |
| "curve" : "secp256r1", |
| "keySize" : 256, |
| "type" : "EcPublicKey", |
| "uncompressed" : "042927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e", |
| "wx" : "2927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838", |
| "wy" : "00c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e" |
| }, |
| "keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200042927b10512bae3eddcfe467828128bad2903269919f7086069c8c4df6c732838c7787964eaac00e5921fb1498a60f4606766b3d9685001558d1a974e7341513e", |
| "keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKSexBRK64+3c/kZ4KBKLrSkDJpkZ\n9whgacjE32xzKDjHeHlk6qwA5ZIfsUmKYPRgZ2az2WhQAVWNGpdOc0FRPg==\n-----END PUBLIC KEY-----", |
| "sha" : "SHA3-256", |
| "type" : "EcdsaVerify", |
| "tests" : [ |
| { |
| "tcId" : 1, |
| "comment" : "signature malleability", |
| "msg" : "313233343030", |
| "sig" : "30460221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0221009364745a6a2d69f2283698fdfbee7b13de20bc93deb0230a9af3bd9fddf04401", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 2, |
| "comment" : "Legacy:ASN encoding of r misses leading 0", |
| "msg" : "313233343030", |
| "sig" : "304402208ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "acceptable", |
| "flags" : [ |
| "MissingZero" |
| ] |
| }, |
| { |
| "tcId" : 3, |
| "comment" : "valid", |
| "msg" : "313233343030", |
| "sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 4, |
| "comment" : "long form encoding of length of sequence", |
| "msg" : "313233343030", |
| "sig" : "3081450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [ |
| "BER" |
| ] |
| }, |
| { |
| "tcId" : 5, |
| "comment" : "length of sequence contains leading 0", |
| "msg" : "313233343030", |
| "sig" : "308200450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [ |
| "BER" |
| ] |
| }, |
| { |
| "tcId" : 6, |
| "comment" : "wrong length of sequence", |
| "msg" : "313233343030", |
| "sig" : "30460221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 7, |
| "comment" : "wrong length of sequence", |
| "msg" : "313233343030", |
| "sig" : "30440221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 8, |
| "comment" : "uint32 overflow in length of sequence", |
| "msg" : "313233343030", |
| "sig" : "308501000000450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 9, |
| "comment" : "uint64 overflow in length of sequence", |
| "msg" : "313233343030", |
| "sig" : "30890100000000000000450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 10, |
| "comment" : "length of sequence = 2**31 - 1", |
| "msg" : "313233343030", |
| "sig" : "30847fffffff0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 11, |
| "comment" : "length of sequence = 2**32 - 1", |
| "msg" : "313233343030", |
| "sig" : "3084ffffffff0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 12, |
| "comment" : "length of sequence = 2**40 - 1", |
| "msg" : "313233343030", |
| "sig" : "3085ffffffffff0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 13, |
| "comment" : "length of sequence = 2**64 - 1", |
| "msg" : "313233343030", |
| "sig" : "3088ffffffffffffffff0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 14, |
| "comment" : "incorrect length of sequence", |
| "msg" : "313233343030", |
| "sig" : "30ff0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 15, |
| "comment" : "indefinite length without termination", |
| "msg" : "313233343030", |
| "sig" : "30800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 16, |
| "comment" : "indefinite length without termination", |
| "msg" : "313233343030", |
| "sig" : "30450280008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 17, |
| "comment" : "indefinite length without termination", |
| "msg" : "313233343030", |
| "sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02806c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 18, |
| "comment" : "removing sequence", |
| "msg" : "313233343030", |
| "sig" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 19, |
| "comment" : "lonely sequence tag", |
| "msg" : "313233343030", |
| "sig" : "30", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 20, |
| "comment" : "appending 0's to sequence", |
| "msg" : "313233343030", |
| "sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 21, |
| "comment" : "prepending 0's to sequence", |
| "msg" : "313233343030", |
| "sig" : "304700000221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 22, |
| "comment" : "appending unused 0's to sequence", |
| "msg" : "313233343030", |
| "sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 23, |
| "comment" : "appending null value to sequence", |
| "msg" : "313233343030", |
| "sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500500", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 24, |
| "comment" : "including garbage", |
| "msg" : "313233343030", |
| "sig" : "304a49817730450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 25, |
| "comment" : "including garbage", |
| "msg" : "313233343030", |
| "sig" : "3049250030450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 26, |
| "comment" : "including garbage", |
| "msg" : "313233343030", |
| "sig" : "304730450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500004deadbeef", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 27, |
| "comment" : "including garbage", |
| "msg" : "313233343030", |
| "sig" : "304a22264981770221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 28, |
| "comment" : "including garbage", |
| "msg" : "313233343030", |
| "sig" : "3049222525000221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 29, |
| "comment" : "including garbage", |
| "msg" : "313233343030", |
| "sig" : "304d22230221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0004deadbeef02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 30, |
| "comment" : "including garbage", |
| "msg" : "313233343030", |
| "sig" : "304a0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e222549817702206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 31, |
| "comment" : "including garbage", |
| "msg" : "313233343030", |
| "sig" : "30490221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e2224250002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 32, |
| "comment" : "including garbage", |
| "msg" : "313233343030", |
| "sig" : "304d0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e222202206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500004deadbeef", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 33, |
| "comment" : "including undefined tags", |
| "msg" : "313233343030", |
| "sig" : "304daa00bb00cd0030450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 34, |
| "comment" : "including undefined tags", |
| "msg" : "313233343030", |
| "sig" : "304baa02aabb30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 35, |
| "comment" : "including undefined tags", |
| "msg" : "313233343030", |
| "sig" : "304d2229aa00bb00cd000221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 36, |
| "comment" : "including undefined tags", |
| "msg" : "313233343030", |
| "sig" : "304b2227aa02aabb0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 37, |
| "comment" : "including undefined tags", |
| "msg" : "313233343030", |
| "sig" : "304d0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e2228aa00bb00cd0002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 38, |
| "comment" : "including undefined tags", |
| "msg" : "313233343030", |
| "sig" : "304b0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e2226aa02aabb02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 39, |
| "comment" : "truncated length of sequence", |
| "msg" : "313233343030", |
| "sig" : "3081", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 40, |
| "comment" : "using composition with indefinite length", |
| "msg" : "313233343030", |
| "sig" : "308030450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 41, |
| "comment" : "using composition with indefinite length", |
| "msg" : "313233343030", |
| "sig" : "304922800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e000002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 42, |
| "comment" : "using composition with indefinite length", |
| "msg" : "313233343030", |
| "sig" : "30490221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e228002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 43, |
| "comment" : "using composition with wrong tag", |
| "msg" : "313233343030", |
| "sig" : "308031450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 44, |
| "comment" : "using composition with wrong tag", |
| "msg" : "313233343030", |
| "sig" : "304922800321008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e000002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 45, |
| "comment" : "using composition with wrong tag", |
| "msg" : "313233343030", |
| "sig" : "30490221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e228003206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 46, |
| "comment" : "Replacing sequence with NULL", |
| "msg" : "313233343030", |
| "sig" : "0500", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 47, |
| "comment" : "changing tag value of sequence", |
| "msg" : "313233343030", |
| "sig" : "2e450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 48, |
| "comment" : "changing tag value of sequence", |
| "msg" : "313233343030", |
| "sig" : "2f450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 49, |
| "comment" : "changing tag value of sequence", |
| "msg" : "313233343030", |
| "sig" : "31450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 50, |
| "comment" : "changing tag value of sequence", |
| "msg" : "313233343030", |
| "sig" : "32450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 51, |
| "comment" : "changing tag value of sequence", |
| "msg" : "313233343030", |
| "sig" : "ff450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 52, |
| "comment" : "dropping value of sequence", |
| "msg" : "313233343030", |
| "sig" : "3000", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 53, |
| "comment" : "using composition for sequence", |
| "msg" : "313233343030", |
| "sig" : "3049300102304421008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 54, |
| "comment" : "truncated sequence", |
| "msg" : "313233343030", |
| "sig" : "30440221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 55, |
| "comment" : "truncated sequence", |
| "msg" : "313233343030", |
| "sig" : "304421008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 56, |
| "comment" : "indefinite length", |
| "msg" : "313233343030", |
| "sig" : "30800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000", |
| "result" : "invalid", |
| "flags" : [ |
| "BER" |
| ] |
| }, |
| { |
| "tcId" : 57, |
| "comment" : "indefinite length with truncated delimiter", |
| "msg" : "313233343030", |
| "sig" : "30800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e15000", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 58, |
| "comment" : "indefinite length with additional element", |
| "msg" : "313233343030", |
| "sig" : "30800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e15005000000", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 59, |
| "comment" : "indefinite length with truncated element", |
| "msg" : "313233343030", |
| "sig" : "30800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150060811220000", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 60, |
| "comment" : "indefinite length with garbage", |
| "msg" : "313233343030", |
| "sig" : "30800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000fe02beef", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 61, |
| "comment" : "indefinite length with nonempty EOC", |
| "msg" : "313233343030", |
| "sig" : "30800221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500002beef", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 62, |
| "comment" : "prepend empty sequence", |
| "msg" : "313233343030", |
| "sig" : "304730000221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 63, |
| "comment" : "append empty sequence", |
| "msg" : "313233343030", |
| "sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1503000", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 64, |
| "comment" : "append garbage with high tag number", |
| "msg" : "313233343030", |
| "sig" : "30480221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150bf7f00", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 65, |
| "comment" : "sequence of sequence", |
| "msg" : "313233343030", |
| "sig" : "304730450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 66, |
| "comment" : "truncated sequence: removed last 1 elements", |
| "msg" : "313233343030", |
| "sig" : "30230221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 67, |
| "comment" : "repeating element in sequence", |
| "msg" : "313233343030", |
| "sig" : "30670221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e15002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 68, |
| "comment" : "long form encoding of length of integer", |
| "msg" : "313233343030", |
| "sig" : "3046028121008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [ |
| "BER" |
| ] |
| }, |
| { |
| "tcId" : 69, |
| "comment" : "long form encoding of length of integer", |
| "msg" : "313233343030", |
| "sig" : "30460221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0281206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [ |
| "BER" |
| ] |
| }, |
| { |
| "tcId" : 70, |
| "comment" : "length of integer contains leading 0", |
| "msg" : "313233343030", |
| "sig" : "304702820021008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [ |
| "BER" |
| ] |
| }, |
| { |
| "tcId" : 71, |
| "comment" : "length of integer contains leading 0", |
| "msg" : "313233343030", |
| "sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e028200206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [ |
| "BER" |
| ] |
| }, |
| { |
| "tcId" : 72, |
| "comment" : "wrong length of integer", |
| "msg" : "313233343030", |
| "sig" : "30450222008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 73, |
| "comment" : "wrong length of integer", |
| "msg" : "313233343030", |
| "sig" : "30450220008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 74, |
| "comment" : "wrong length of integer", |
| "msg" : "313233343030", |
| "sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02216c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 75, |
| "comment" : "wrong length of integer", |
| "msg" : "313233343030", |
| "sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e021f6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 76, |
| "comment" : "uint32 overflow in length of integer", |
| "msg" : "313233343030", |
| "sig" : "304a02850100000021008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 77, |
| "comment" : "uint32 overflow in length of integer", |
| "msg" : "313233343030", |
| "sig" : "304a0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e028501000000206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 78, |
| "comment" : "uint64 overflow in length of integer", |
| "msg" : "313233343030", |
| "sig" : "304e0289010000000000000021008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 79, |
| "comment" : "uint64 overflow in length of integer", |
| "msg" : "313233343030", |
| "sig" : "304e0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02890100000000000000206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 80, |
| "comment" : "length of integer = 2**31 - 1", |
| "msg" : "313233343030", |
| "sig" : "304902847fffffff008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 81, |
| "comment" : "length of integer = 2**31 - 1", |
| "msg" : "313233343030", |
| "sig" : "30490221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02847fffffff6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 82, |
| "comment" : "length of integer = 2**32 - 1", |
| "msg" : "313233343030", |
| "sig" : "30490284ffffffff008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 83, |
| "comment" : "length of integer = 2**32 - 1", |
| "msg" : "313233343030", |
| "sig" : "30490221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0284ffffffff6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 84, |
| "comment" : "length of integer = 2**40 - 1", |
| "msg" : "313233343030", |
| "sig" : "304a0285ffffffffff008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 85, |
| "comment" : "length of integer = 2**40 - 1", |
| "msg" : "313233343030", |
| "sig" : "304a0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0285ffffffffff6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 86, |
| "comment" : "length of integer = 2**64 - 1", |
| "msg" : "313233343030", |
| "sig" : "304d0288ffffffffffffffff008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 87, |
| "comment" : "length of integer = 2**64 - 1", |
| "msg" : "313233343030", |
| "sig" : "304d0221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0288ffffffffffffffff6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 88, |
| "comment" : "incorrect length of integer", |
| "msg" : "313233343030", |
| "sig" : "304502ff008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 89, |
| "comment" : "incorrect length of integer", |
| "msg" : "313233343030", |
| "sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02ff6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 90, |
| "comment" : "removing integer", |
| "msg" : "313233343030", |
| "sig" : "302202206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 91, |
| "comment" : "lonely integer tag", |
| "msg" : "313233343030", |
| "sig" : "30230202206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 92, |
| "comment" : "lonely integer tag", |
| "msg" : "313233343030", |
| "sig" : "30240221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 93, |
| "comment" : "appending 0's to integer", |
| "msg" : "313233343030", |
| "sig" : "30470223008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e000002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 94, |
| "comment" : "appending 0's to integer", |
| "msg" : "313233343030", |
| "sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02226c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500000", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 95, |
| "comment" : "prepending 0's to integer", |
| "msg" : "313233343030", |
| "sig" : "304702230000008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [ |
| "BER" |
| ] |
| }, |
| { |
| "tcId" : 96, |
| "comment" : "prepending 0's to integer", |
| "msg" : "313233343030", |
| "sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e022200006c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [ |
| "BER" |
| ] |
| }, |
| { |
| "tcId" : 97, |
| "comment" : "appending unused 0's to integer", |
| "msg" : "313233343030", |
| "sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e000002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 98, |
| "comment" : "appending null value to integer", |
| "msg" : "313233343030", |
| "sig" : "30470223008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e050002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 99, |
| "comment" : "appending null value to integer", |
| "msg" : "313233343030", |
| "sig" : "30470221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02226c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1500500", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 100, |
| "comment" : "truncated length of integer", |
| "msg" : "313233343030", |
| "sig" : "3024028102206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 101, |
| "comment" : "truncated length of integer", |
| "msg" : "313233343030", |
| "sig" : "30250221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0281", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 102, |
| "comment" : "Replacing integer with NULL", |
| "msg" : "313233343030", |
| "sig" : "3024050002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 103, |
| "comment" : "Replacing integer with NULL", |
| "msg" : "313233343030", |
| "sig" : "30250221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0500", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 104, |
| "comment" : "changing tag value of integer", |
| "msg" : "313233343030", |
| "sig" : "30450021008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 105, |
| "comment" : "changing tag value of integer", |
| "msg" : "313233343030", |
| "sig" : "30450121008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 106, |
| "comment" : "changing tag value of integer", |
| "msg" : "313233343030", |
| "sig" : "30450321008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 107, |
| "comment" : "changing tag value of integer", |
| "msg" : "313233343030", |
| "sig" : "30450421008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 108, |
| "comment" : "changing tag value of integer", |
| "msg" : "313233343030", |
| "sig" : "3045ff21008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 109, |
| "comment" : "changing tag value of integer", |
| "msg" : "313233343030", |
| "sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e00206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 110, |
| "comment" : "changing tag value of integer", |
| "msg" : "313233343030", |
| "sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e01206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 111, |
| "comment" : "changing tag value of integer", |
| "msg" : "313233343030", |
| "sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e03206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 112, |
| "comment" : "changing tag value of integer", |
| "msg" : "313233343030", |
| "sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e04206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 113, |
| "comment" : "changing tag value of integer", |
| "msg" : "313233343030", |
| "sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36eff206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 114, |
| "comment" : "dropping value of integer", |
| "msg" : "313233343030", |
| "sig" : "3024020002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 115, |
| "comment" : "dropping value of integer", |
| "msg" : "313233343030", |
| "sig" : "30250221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0200", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 116, |
| "comment" : "using composition for integer", |
| "msg" : "313233343030", |
| "sig" : "3049222502010002208ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 117, |
| "comment" : "using composition for integer", |
| "msg" : "313233343030", |
| "sig" : "30490221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e222402016c021f9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 118, |
| "comment" : "modify first byte of integer", |
| "msg" : "313233343030", |
| "sig" : "30450221028ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 119, |
| "comment" : "modify first byte of integer", |
| "msg" : "313233343030", |
| "sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206e9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 120, |
| "comment" : "modify last byte of integer", |
| "msg" : "313233343030", |
| "sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c3ee02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 121, |
| "comment" : "modify last byte of integer", |
| "msg" : "313233343030", |
| "sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1d0", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 122, |
| "comment" : "truncated integer", |
| "msg" : "313233343030", |
| "sig" : "30440220008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c302206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 123, |
| "comment" : "truncated integer", |
| "msg" : "313233343030", |
| "sig" : "30440221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e021f6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e1", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 124, |
| "comment" : "truncated integer", |
| "msg" : "313233343030", |
| "sig" : "30440221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e021f9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 125, |
| "comment" : "leading ff in integer", |
| "msg" : "313233343030", |
| "sig" : "30460222ff008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 126, |
| "comment" : "leading ff in integer", |
| "msg" : "313233343030", |
| "sig" : "30460221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0221ff6c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 127, |
| "comment" : "replaced integer by infinity", |
| "msg" : "313233343030", |
| "sig" : "302509018002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 128, |
| "comment" : "replaced integer by infinity", |
| "msg" : "313233343030", |
| "sig" : "30260221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e090180", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 129, |
| "comment" : "replacing integer with zero", |
| "msg" : "313233343030", |
| "sig" : "302502010002206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 130, |
| "comment" : "replacing integer with zero", |
| "msg" : "313233343030", |
| "sig" : "30260221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e020100", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 131, |
| "comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", |
| "msg" : "313233343030", |
| "sig" : "30450221018ab9effc67388040d19b92d2e9fdea124fec6626e540f2b02edc15b83a73e8bf02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 132, |
| "comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", |
| "msg" : "313233343030", |
| "sig" : "304402208ab9effe6738803ed19b92d2e9fdea12d61e70cb9711b5a64768803241ad9e1d02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 133, |
| "comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", |
| "msg" : "313233343030", |
| "sig" : "30450221ff7546100298c77fc02e646d2d160215ed6cfa9486c1d6abd4c4ddb50ac1ef3c9202206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 134, |
| "comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", |
| "msg" : "313233343030", |
| "sig" : "304402207546100198c77fc12e646d2d160215ed29e18f3468ee4a59b8977fcdbe5261e302206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 135, |
| "comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", |
| "msg" : "313233343030", |
| "sig" : "30450221fe7546100398c77fbf2e646d2d160215edb01399d91abf0d4fd123ea47c58c174102206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 136, |
| "comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", |
| "msg" : "313233343030", |
| "sig" : "30450221018ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 137, |
| "comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", |
| "msg" : "313233343030", |
| "sig" : "304402207546100298c77fc02e646d2d160215ed6cfa9486c1d6abd4c4ddb50ac1ef3c9202206c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 138, |
| "comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", |
| "msg" : "313233343030", |
| "sig" : "30460221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0221016c9b8ba395d2960fd7c96702041184eb9bad38c76f7f19ff4c7fd7e61ad606a1", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 139, |
| "comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", |
| "msg" : "313233343030", |
| "sig" : "30460221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0221ff6c9b8ba595d2960dd7c96702041184ec21df436c214fdcf5650c4260220fbbff", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 140, |
| "comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", |
| "msg" : "313233343030", |
| "sig" : "30450221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e02209364745b6a2d69f1283698fdfbee7b142139c1e637988485a739f2dce18d1eb0", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 141, |
| "comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", |
| "msg" : "313233343030", |
| "sig" : "30460221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0221fe9364745c6a2d69f0283698fdfbee7b146452c7389080e600b3802819e529f95f", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 142, |
| "comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", |
| "msg" : "313233343030", |
| "sig" : "30460221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0221016c9b8ba495d2960ed7c96702041184ebdec63e19c8677b7a58c60d231e72e150", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 143, |
| "comment" : "Modified r or s, e.g. by adding or subtracting the order of the group", |
| "msg" : "313233343030", |
| "sig" : "30460221008ab9effd6738803fd19b92d2e9fdea1293056b793e29542b3b224af53e10c36e0221009364745b6a2d69f1283698fdfbee7b142139c1e637988485a739f2dce18d1eb0", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 144, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3006020100020100", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 145, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3006020100020101", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 146, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "30060201000201ff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 147, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026020100022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 148, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026020100022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 149, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026020100022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 150, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026020100022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 151, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026020100022100ffffffff00000001000000000000000000000001000000000000000000000000", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 152, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3008020100090380fe01", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 153, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3006020100090142", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 154, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3006020101020100", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 155, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3006020101020101", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 156, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "30060201010201ff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 157, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026020101022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 158, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026020101022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 159, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026020101022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 160, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026020101022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 161, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026020101022100ffffffff00000001000000000000000000000001000000000000000000000000", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 162, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3008020101090380fe01", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 163, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3006020101090142", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 164, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "30060201ff020100", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 165, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "30060201ff020101", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 166, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "30060201ff0201ff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 167, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "30260201ff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 168, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "30260201ff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 169, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "30260201ff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 170, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "30260201ff022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 171, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "30260201ff022100ffffffff00000001000000000000000000000001000000000000000000000000", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 172, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "30080201ff090380fe01", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 173, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "30060201ff090142", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 174, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020100", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 175, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551020101", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 176, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325510201ff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 177, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 178, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 179, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 180, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 181, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551022100ffffffff00000001000000000000000000000001000000000000000000000000", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 182, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3028022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551090380fe01", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 183, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551090142", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 184, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550020100", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 185, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550020101", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 186, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325500201ff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 187, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 188, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 189, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 190, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 191, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550022100ffffffff00000001000000000000000000000001000000000000000000000000", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 192, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3028022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550090380fe01", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 193, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550090142", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 194, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552020100", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 195, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552020101", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 196, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc6325520201ff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 197, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 198, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 199, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 200, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 201, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552022100ffffffff00000001000000000000000000000001000000000000000000000000", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 202, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3028022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552090380fe01", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 203, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552090142", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 204, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff020100", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 205, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff020101", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 206, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff0201ff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 207, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 208, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 209, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 210, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 211, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff022100ffffffff00000001000000000000000000000001000000000000000000000000", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 212, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3028022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff090380fe01", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 213, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff090142", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 214, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000001000000000000000000000001000000000000000000000000020100", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 215, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000001000000000000000000000001000000000000000000000000020101", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 216, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff000000010000000000000000000000010000000000000000000000000201ff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 217, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 218, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632550", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 219, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632552", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 220, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000001000000000000000000000000ffffffffffffffffffffffff", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 221, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000001000000000000000000000001000000000000000000000000022100ffffffff00000001000000000000000000000001000000000000000000000000", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 222, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3028022100ffffffff00000001000000000000000000000001000000000000000000000000090380fe01", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 223, |
| "comment" : "Signature with special case values for r and s", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000001000000000000000000000001000000000000000000000000090142", |
| "result" : "invalid", |
| "flags" : [ |
| "EdgeCase" |
| ] |
| }, |
| { |
| "tcId" : 224, |
| "comment" : "Signature encoding contains wrong types.", |
| "msg" : "313233343030", |
| "sig" : "30060201010c0130", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 225, |
| "comment" : "Signature encoding contains wrong types.", |
| "msg" : "313233343030", |
| "sig" : "30050201010c00", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 226, |
| "comment" : "Signature encoding contains wrong types.", |
| "msg" : "313233343030", |
| "sig" : "30090c0225730c03732573", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 227, |
| "comment" : "Signature encoding contains wrong types.", |
| "msg" : "313233343030", |
| "sig" : "30080201013003020100", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 228, |
| "comment" : "Signature encoding contains wrong types.", |
| "msg" : "313233343030", |
| "sig" : "3003020101", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 229, |
| "comment" : "Signature encoding contains wrong types.", |
| "msg" : "313233343030", |
| "sig" : "3006020101010100", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 230, |
| "comment" : "Edge case for Shamir multiplication", |
| "msg" : "313733323231", |
| "sig" : "3044022064a1aab5000d0e804f3e2fc02bdee9be8ff312334e2ba16d11547c97711c898e0220404a1a6da158ae1473fce08d338b8d6410a6a5903358b23fdd3a54fee2c2742b", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 231, |
| "comment" : "special case hash", |
| "msg" : "33313930393433323838", |
| "sig" : "3045022100a9edb87925684bcc5b92d0f7455123656e3498a0d182be63e2e6077c2b43bc6e02202c729ea1b01d14ee8fe702096cddd9394e351d801411ec8eac6b758475ea0070", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 232, |
| "comment" : "special case hash", |
| "msg" : "383433343734313535", |
| "sig" : "304402203fba20ca893dcaf04e89141337a96abc7e24e026a8ff4c86d950de1c31b6427202206be2eced4ce388ff8026dfd3b658144f30931b7083ee2af06e75158c15b12249", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 233, |
| "comment" : "special case hash", |
| "msg" : "33353732363936383239", |
| "sig" : "3045022100c5aa31116f6006c479586ff7070014a35f22166701be8a5f1f1e9a43cb27dca0022068d1cee35ba3893b9cc3b5df5ac6afef55ebdb7ad9236b1fa8e438a538f8cb55", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 234, |
| "comment" : "special case hash", |
| "msg" : "353931383333343239", |
| "sig" : "304502205b5b4d890504f56c16a4ac7947ac0057cdf640d2c39bac09fedc648bb0a16f1d022100f9c12e73a56d799e2827538187f0ed0ec331f6f0c089a4f6249d04c1b0c5cc8d", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 235, |
| "comment" : "special case hash", |
| "msg" : "3832353330383232353839", |
| "sig" : "304502204338e710478e8b922e50dc947f6fa0cd1903106cf02ee0742da69e8b624c5b6702210090c73bd0fcd07a4dd4a3664d559bd4795ac950d89463680852d33915de1a5745", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 236, |
| "comment" : "special case hash", |
| "msg" : "3133373334383238313432", |
| "sig" : "304502200fc97d7744e0b2762e6b48730d44c758ab238136a72693ff27339aaebefad581022100ab68ec80cf4afcca0f7d75f3c4b00e34ed4fe9101c98ed4d8c2f97eb865b1683", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 237, |
| "comment" : "special case hash", |
| "msg" : "313733383135363430", |
| "sig" : "3045022100825f0b4230e30182b24b65151ec83d0aadc63ecfe0a91b5879ccf7fcce9eb40a022047f0211ad5471d055fe07c75f37f3fad8aeeff1ee11a54a17bab35212c46d5d6", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 238, |
| "comment" : "special case hash", |
| "msg" : "32353533343636353034", |
| "sig" : "304502203fedd83579431889710b67b6454d43ea7eddaaa9da950424e2c4ac730065a822022100b50cef5a9da8323fccd5bf13260dea6517c8ae6ccd6495f9ed7494cfd5891573", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 239, |
| "comment" : "special case hash", |
| "msg" : "32313833303339313937", |
| "sig" : "3044022069ba62b020a36333f7a0716577dd57d280132c540f66b9e2fe8d470121e0f135022066c7811587cb9247ec6d8c223b4c6d5533948fbabf072973d74cb19d3b2c91a6", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 240, |
| "comment" : "special case hash", |
| "msg" : "3130353236313736353435", |
| "sig" : "30450221008bb763097d8ca8e9cb84e111f361f47de93499f50bc85401ea96a61d54fad7a802202587b81e277283d5c139b8e9a5f4aa0bb0b1c2b28963efddbf73a0eef341659a", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 241, |
| "comment" : "special case hash", |
| "msg" : "32353031353339393836", |
| "sig" : "30450221008260a1eb8ba8b52db95b0722887920a1f9989dfa1efd420d1f8f9ab3df0cffce02206752c5687e6889e008eb9ad6e41933796b4adcd6018420fdef250998f6adf603", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 242, |
| "comment" : "special case hash", |
| "msg" : "3134393533313634363139", |
| "sig" : "3045022100b809c133b30c3a8ff11ea9024b131664b51c2768afb8536744e041015da9380602206cd015a49e19b260da6cd32a94806fb8bdceec5dc5542a7b2b938cce75137f30", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 243, |
| "comment" : "special case hash", |
| "msg" : "32303633383532393036", |
| "sig" : "304502202069244f8e72562406d631f647a141831aca5907fbff09932797d8305ad3c19d022100dfb7a3ae1a4bdf76987d7de404c5d8b7c51a6ae8dbece9de345a4b71cb5e1f38", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 244, |
| "comment" : "special case hash", |
| "msg" : "37383339373634393932", |
| "sig" : "304402204d82e457954761001da6c5dd0fb45d3b8aae12a270cdc5b97d66f810e306532602200cc6217e3aee3839fd809b207d47dea412991932adb2de18ee86431452c22595", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 245, |
| "comment" : "special case hash", |
| "msg" : "32313239323634343639", |
| "sig" : "3045022100a81c6258489e10bb1132a6f81f76c31d7465869708d89eb018c51bf774e8a0930220304d75b7bebe9abda5daafc419a765ffb8e5c02dd91836c40c430f052d5ca59c", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 246, |
| "comment" : "special case hash", |
| "msg" : "34383332303432363833", |
| "sig" : "3045022100e8da776984d6af2b8d523d1bd6fab8b25409e669d172ef51e104648c1bf0dad1022049b4170fed1cc59ab000087a2c091b3f69a66c8562ed350472e982bd31a0d09e", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 247, |
| "comment" : "special case hash", |
| "msg" : "333635323231383136", |
| "sig" : "3046022100c53d293775c5cfdb879b67ff4f4792942132c35c9dc7f8fda8b3a00967c75b47022100c36045151f70a5d6af2fd27cf1f13cb308b2e847151fa4b47e22f2df6220ae95", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 248, |
| "comment" : "special case hash", |
| "msg" : "3234393137313236393635", |
| "sig" : "30440220300ee6fa4de853ac6680302a9c439b82dfd046c314d7bbacb2e01274e61e9b5402200bb2b62f11b789848648fab7e0c46ca7b09cded01887ef6bda9f871bc5cc609f", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 249, |
| "comment" : "special case hash", |
| "msg" : "32363232373930373738", |
| "sig" : "3045022100ac58a18fa5973efb06adba842affbd256a1c624606b146dae5a6ef85992cb428022048b4ecb8697e4cd20e0f30721ad94f4c18943879ce5d99d8c000d90465138bd0", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 250, |
| "comment" : "special case hash", |
| "msg" : "313031323537373238393237", |
| "sig" : "304402206ebc2857fd53656b857005eb8f95c4f6fd3c99f9636a028e5244edc60bc9e18c022027719f12eb1de6cade547cb98523bdc7108622240f38d12f415c79cd0b1344d9", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 251, |
| "comment" : "special case hash", |
| "msg" : "31303530383732323032", |
| "sig" : "3044022067e8ca1907624419e3ccd88002dd7757f595abc84bd861cd0198364a4571ff6b02200db40b6a7200cdc1a09df432a5a763436ab4130cbdee024dea2a3ddd6c023ed9", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 252, |
| "comment" : "special case hash", |
| "msg" : "32353037373237303332", |
| "sig" : "3045022100f4d8208eed5cb4bfe4ef6ddbbc3742e780e4212a39cf79c9f85605ee64a962cb022043dee8a3c45a45a91e83a18ff3f881047b4fd6ad3003b3af37fb8211eaf7d584", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 253, |
| "comment" : "special case hash", |
| "msg" : "373139333435393339", |
| "sig" : "304402203363ccc93e2413e47528ab086408bc0521be73353f2c2371bbf2d9dc16e63fb3022068f3d1074a2e06d33fc19a567a8af0edcae923560cf38da2dab82e2249c8dbbd", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 254, |
| "comment" : "special case hash", |
| "msg" : "31363337333035373633", |
| "sig" : "304502210084960758125ad8de3df0c113ff35f1644e4d43f661c2d81848f3fe4e55846f1802205983630fc8975bab570d2c9f3cbbdecb4dd6179ec497aff312d807ec26ca940a", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 255, |
| "comment" : "special case hash", |
| "msg" : "34323431323733373133", |
| "sig" : "3044022006ca924b5686a22f2e39c0f980fd58d62bbaf33c3a57f98a315332121e9ba60b02206516b98b31048722ca25e0a6c450461823c0a35f37d671439084fbc27c4779a1", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 256, |
| "comment" : "special case hash", |
| "msg" : "343735363134373337", |
| "sig" : "304402200093c5ef07a7d955056b88cc8240060b4ffb42835a3df353cbe16ccb62eaf3f60220364dbea6d5ead4202d6fdc253bb0c2c0522b55823e8bb890235ab09ae9030ea2", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 257, |
| "comment" : "special case hash", |
| "msg" : "37313632333237373334", |
| "sig" : "3045022100835274f3157b737975486c73e5bbdd15b61e2ebb9e580911e45fc288214d2e6702201d5dcebfc6d3ae3826b9a3211f5e2249acc967eb47dfd41a849241ffe779154f", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 258, |
| "comment" : "special case hash", |
| "msg" : "31323232343034313239", |
| "sig" : "304502203797916fb5c401a691b710050df3eec163383f855f93b61322a56d862ad5572d022100eb7bff4000738a83dd64082eff710d5eb619427198ac290b291f4599768959ca", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 259, |
| "comment" : "special case hash", |
| "msg" : "33353234353833333638", |
| "sig" : "3044022070992463694c845183db142a77bf5d73c17e9004a8b946b7b8eeb3fdf2b22e00022003843ec28e4c4d4f7726a5a5835575bb3e272f612246bc3aff288ac4a4e90c90", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 260, |
| "comment" : "special case hash", |
| "msg" : "3331363334333936", |
| "sig" : "3046022100aeaf228b41a1f311d4df74717f4134ee992e5f2922eec65ec83e2db82a866472022100f5ef65eb9fc3feaaac04f71a9a5ceb73e8cd6cb75b4595b39b250a50476cb68f", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 261, |
| "comment" : "special case hash", |
| "msg" : "36353332353938343339", |
| "sig" : "3045022100b84dbbddd3b8a2ddf67d27e4ef886f72d90cbb7ec2d6883728b27842d61505cc022032be7f0ff420ae3be212beb4c276d93e2527b0964d643c5807c8ee711e66e8e5", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 262, |
| "comment" : "special case hash", |
| "msg" : "373338353138353034", |
| "sig" : "3046022100f7f6782978f376caf9434941535e1c87ad09b9d39ee936145a0b53b9250fd182022100fb752930c84c29e49f81a997a4d0f00fcdcb4a2f2bf8049cca5d7cf70b079cea", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 263, |
| "comment" : "special case hash", |
| "msg" : "31343635323636353739", |
| "sig" : "3045022100fb4b434112c1302ffd49ebd993cf5ec59729cbe78739db3c470264e378d56e8d02203aba99bd10be0fba04ca8d9601ae8f68ca7ffe5814f4cfbde78c1cc07a29fd8f", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 264, |
| "comment" : "special case hash", |
| "msg" : "32303334383839343934", |
| "sig" : "3046022100eafafe851aad76036013bd571772147b7257fb736ed7b4458e0dcf60a2c7b9c0022100b59c6409e51043b7e5c86a8d465978a4c8f78e13ef5b184fe5f46f201ff4efa8", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 265, |
| "comment" : "special case hash", |
| "msg" : "34343730383836373835", |
| "sig" : "304502206c74d1679d871a46a43c3fe375e09d4f1b6413c59b5e070d7984dae0aadbc37e022100ff1d22228c9e9cf9958d677eed4c3a252b10273ce2d360457faabe7f7439c0e8", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 266, |
| "comment" : "special case hash", |
| "msg" : "353537363430343436", |
| "sig" : "3046022100cae28b592e2d5bf6f9ea541e70bceedd07adde40bc2b5f883d35ae9560fc85c202210099eaffc16f570b7837d74177dae6e6cfd873ea89424581bc690d0e49c4218402", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 267, |
| "comment" : "special case hash", |
| "msg" : "36333434393536363038", |
| "sig" : "304502206ce5133579dd044447206b9f6e1605d27f094b2c4466a5bf8e157873176baf3a022100bbe35524d9c1936bacecb6c270bf494eac75933caa8dbb2fef30f6572ed8667c", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 268, |
| "comment" : "special case hash", |
| "msg" : "34393432383039303331", |
| "sig" : "304402202855cf6e65812ea246e366ab961970d19387039a93f0bd406365d68b0356661302201b3a9593117380899d5c8f8f976ad4dee97db9f1225f735b1d41c2a115be93fb", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 269, |
| "comment" : "special case hash", |
| "msg" : "323636353831393339", |
| "sig" : "304502210090ed3aa89579b73477e3fcba9f52a5a64b9b6d83b475a3881bc0e63d74f6bf9c022004cb5e2ca1d413b37a71607d5b5fa72ccc87a2edcd5c7f30daaa94241b749920", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 270, |
| "comment" : "special case hash", |
| "msg" : "33333332323134313134", |
| "sig" : "30450220055e38188756831ced4b01e0f9d4db6b02293c7ee2c3fd47860d38377ee0f4190221009c29f1688f16e111914d9c843c0a8f0306c1c4ddd5167cdd54338a4f4ab79a91", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 271, |
| "comment" : "special case hash", |
| "msg" : "363136353237373135", |
| "sig" : "3045022006b28cd8538d8cc563473cf6c7abb519e4c8bb4c37915ef76512f37de02c2164022100a62dc2afb01a1a9bc877edd54f25fd1f6d0378b3fbaa219ff9ef28c560cc8065", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 272, |
| "comment" : "special case hash", |
| "msg" : "32333539393535383133", |
| "sig" : "3045022100c4b97652702efb1d1b67e966e88789efc0d9eb76d32efbeaf9c1bca36b2ea9a5022013e1b2358c7a34fef3ea738ef1a48fab63a2616455c81f8095394a2230c852e3", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 273, |
| "comment" : "special case hash", |
| "msg" : "323931333631393538", |
| "sig" : "304502206a86100848566b5f5f89c13643515d81390952b6b5ce56b64fc3349e4edf21df022100c9ca4ba3a6fd501dae9917283a6851692f57dfbfa49d7a31aa937534df760c87", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 274, |
| "comment" : "special case hash", |
| "msg" : "31363230393033333936", |
| "sig" : "3046022100c1ea204ee71a0502fc47de5d89fad98b897b5c308a4030b4a29de9cc39ff1704022100a5261798ed9665358c31a2368c6705b53b5d7d17023c365ae532573593934481", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 275, |
| "comment" : "special case hash", |
| "msg" : "33333633313032383432", |
| "sig" : "3045022100b3c13e4907afa5a629398ff4fb50c48fae69dd3721a6f62ac13b901efcb4717c02206cb8a95728751b6274fb57e0e8fc87bd7911b1b94fb92edf09ef30fce410efe7", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 276, |
| "comment" : "special case hash", |
| "msg" : "363237373433343931", |
| "sig" : "30460221009fafebd8841588e56116b2aa354557be814630bae5824e187405f3398f36bc5e022100f01264feb46aeefe68c967e439986f14aeb85ad99b520db572af8d1349d696a6", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 277, |
| "comment" : "special case hash", |
| "msg" : "33383536373938313437", |
| "sig" : "3046022100b45703f2c6e95c2f2378913cb78ecf7a01932b66d85e6f687dbb618b056851e8022100e1333352ea3ad42d7fd9a52a9b6dd1252848a180606d30012e142d135156720b", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 278, |
| "comment" : "special case hash", |
| "msg" : "32383831313830363430", |
| "sig" : "304502204138934da6329335702814333f4df8f907df7aa8e684cc38e2366961828ad937022100b90b1b0d77fa39c81f3df7a471499ebbe415a372e7c947eae8612646081aeb47", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 279, |
| "comment" : "special case hash", |
| "msg" : "3130393537333934363738", |
| "sig" : "3045022100a52a6cca52d60aedc270cfd2fb0e0c2dde1ec4bb61434a7f11cd126ad46bec5602201dba92bb08e5665da3847abf695dbe18aeae37d9fdcd3617fab0c648f48d8ce6", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 280, |
| "comment" : "special case hash", |
| "msg" : "353432373131393834", |
| "sig" : "3045022100b153363d48a58d339a7e53bfedddb63ea63484569bda2630d61c129a45d352e10220592dc8769b4834fae70f2cf3eea157ea9684c56d4875d296313cdf12e4939df8", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 281, |
| "comment" : "special case hash", |
| "msg" : "33313530303334333235", |
| "sig" : "304402203516e0c8c97110170a5121b5408043f33c6efbef0e5556165812713be6422ae802205d80c5dffa87d3856083bf67beb27e90ebdc2e54d84760c1588f6432ca733195", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 282, |
| "comment" : "special case hash", |
| "msg" : "31393939383231333931", |
| "sig" : "3046022100903d8397244bfc99f2a677507db419597fef6f0cbfd49e0c022709c06c93e358022100f1705f4a19ab86893e0e022bca9081022764bd986c1c891eb80202ec46f50870", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 283, |
| "comment" : "special case hash", |
| "msg" : "31393731323039323631", |
| "sig" : "304502203ba4d01ac8cbfc4abf848253d060a4e3faede188fd01c21657c20b61d1943f43022100ca3b5365ffbb98a5539cbe3e71b3d9fc59b5f1d5bee1122870e153ded9e1ce67", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 284, |
| "comment" : "special case hash", |
| "msg" : "33353731383338383537", |
| "sig" : "30440220741b76d33821c8cac2361048f10d28060f43e2c30b42b3f1b64a432f322e705c022037331cdebe152ff84bf909183069f278f8b0779042d5486b2d9826b42546952d", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 285, |
| "comment" : "special case hash", |
| "msg" : "38363832323639383935", |
| "sig" : "3045022100d7988135fd211a2cc09a4588f2d91de3a9a9498d5c5c3ef7e78e9bd80906a63f022025de3162aefbd6afedf01116b4e69d498eaefbf29599a7e0ab60614d64fb3db7", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 286, |
| "comment" : "special case hash", |
| "msg" : "32353438383536303331", |
| "sig" : "3045022014580cf3aae5ebbb74fed09ff193f347f69ac5b38435eeb7c38a0fd95f5b7ad8022100fcd923fdbdcecb3ece3bd0069c81396b4acf6328648fbe5324ae0c5a276fd87c", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 287, |
| "comment" : "special case hash", |
| "msg" : "34393935373031333139", |
| "sig" : "30450220130821bb00d0f4416ef06761aa283d35383cc2d46ad6be76c96d839adce2dbb6022100d9deef38e7d0f136cc535f1f8931f271cbf0b0d9e4e20fc8db7a1fb3c616bb68", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 288, |
| "comment" : "special case hash", |
| "msg" : "32343536363831373835", |
| "sig" : "3046022100ab4991cad903fc45f6afe22b939640736aec9788b9d8f94109343649d6327695022100ab126decd1743caf4b461a9c8029cf1230a54a0180e5225a79c075167c2911bc", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 289, |
| "comment" : "special case hash", |
| "msg" : "34313835333731323336", |
| "sig" : "3045022100dc3b756b20b906f02dc03b46bbef56708be649bb4b23a41ac4333cd79d72749d0220309dfe0623034d6441332aebb327bf5b0fb2f3d6df5a6c02d836fc908e37b0e0", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 290, |
| "comment" : "special case hash", |
| "msg" : "373237383439303034", |
| "sig" : "3046022100d733b4391a4876d30acdb95977e4fdfded201e698e42be54c5c690b4c83c9036022100f55565475dc58e468b4aaee60eda224770c5b30517944c065758cd5155ae1251", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 291, |
| "comment" : "special case hash", |
| "msg" : "31353632383139333138", |
| "sig" : "3045022100aa9ea086e301728e0cac7568bf64095b9f51d070edb46679a9983500245e346802203aeb2415f10625c3a4e818da7ddecea27f56f0a393920f6a5d2f4f3054e2131f", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 292, |
| "comment" : "special case hash", |
| "msg" : "3231383739393238333836", |
| "sig" : "3045022100d5a6ffddece918c5fe4e7d3a11344612bfb0cd2735ce071dfade01244c3b303c02200ff4ee3a70b9984e49277b3b15252c9f255b9ed51c7a4473cf55a7955083a985", |
| "result" : "valid", |
| "flags" : [] |
| } |
| ] |
| }, |
| { |
| "key" : { |
| "curve" : "secp256r1", |
| "keySize" : 256, |
| "type" : "EcPublicKey", |
| "uncompressed" : "0458e71ffbfd2eabf4e4a465f68100f3d23d4702537dfcca5ee89d18a75ad7f75616535d3b19f050e443bf5dc38f7f7cda9df3798d4a2f65a413a9af5df002828c", |
| "wx" : "58e71ffbfd2eabf4e4a465f68100f3d23d4702537dfcca5ee89d18a75ad7f756", |
| "wy" : "16535d3b19f050e443bf5dc38f7f7cda9df3798d4a2f65a413a9af5df002828c" |
| }, |
| "keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000458e71ffbfd2eabf4e4a465f68100f3d23d4702537dfcca5ee89d18a75ad7f75616535d3b19f050e443bf5dc38f7f7cda9df3798d4a2f65a413a9af5df002828c", |
| "keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWOcf+/0uq/TkpGX2gQDz0j1HAlN9\n/Mpe6J0Yp1rX91YWU107GfBQ5EO/XcOPf3zanfN5jUovZaQTqa9d8AKCjA==\n-----END PUBLIC KEY-----", |
| "sha" : "SHA3-256", |
| "type" : "EcdsaVerify", |
| "tests" : [ |
| { |
| "tcId" : 293, |
| "comment" : "k*G has a large x-coordinate", |
| "msg" : "313233343030", |
| "sig" : "303502104319055358e8617b0c46353d039cdaab022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 294, |
| "comment" : "r too large", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000001000000000000000000000000fffffffffffffffffffffffc022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e", |
| "result" : "invalid", |
| "flags" : [] |
| } |
| ] |
| }, |
| { |
| "key" : { |
| "curve" : "secp256r1", |
| "keySize" : 256, |
| "type" : "EcPublicKey", |
| "uncompressed" : "040a78dad1701d0551089d3a0ee329a22a9d8bf4263c8a50e0668d24306cf0240b03950b34bb638c683c167a00ac06232c2ef1718d3ed7ebcfc145a41031b04ee0", |
| "wx" : "0a78dad1701d0551089d3a0ee329a22a9d8bf4263c8a50e0668d24306cf0240b", |
| "wy" : "03950b34bb638c683c167a00ac06232c2ef1718d3ed7ebcfc145a41031b04ee0" |
| }, |
| "keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200040a78dad1701d0551089d3a0ee329a22a9d8bf4263c8a50e0668d24306cf0240b03950b34bb638c683c167a00ac06232c2ef1718d3ed7ebcfc145a41031b04ee0", |
| "keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAECnja0XAdBVEInToO4ymiKp2L9CY8\nilDgZo0kMGzwJAsDlQs0u2OMaDwWegCsBiMsLvFxjT7X68/BRaQQMbBO4A==\n-----END PUBLIC KEY-----", |
| "sha" : "SHA3-256", |
| "type" : "EcdsaVerify", |
| "tests" : [ |
| { |
| "tcId" : 295, |
| "comment" : "r,s are large", |
| "msg" : "313233343030", |
| "sig" : "3046022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254f022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc63254e", |
| "result" : "valid", |
| "flags" : [] |
| } |
| ] |
| }, |
| { |
| "key" : { |
| "curve" : "secp256r1", |
| "keySize" : 256, |
| "type" : "EcPublicKey", |
| "uncompressed" : "04e5b027e1f5daf6e52eca80e35be28651bf849ff3de70d2a34c0d782b5aaad6853c8e2cff9b02c90bf4d7d49c7ff2a261d26aed7d4022b41392c85a857d434579", |
| "wx" : "00e5b027e1f5daf6e52eca80e35be28651bf849ff3de70d2a34c0d782b5aaad685", |
| "wy" : "3c8e2cff9b02c90bf4d7d49c7ff2a261d26aed7d4022b41392c85a857d434579" |
| }, |
| "keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004e5b027e1f5daf6e52eca80e35be28651bf849ff3de70d2a34c0d782b5aaad6853c8e2cff9b02c90bf4d7d49c7ff2a261d26aed7d4022b41392c85a857d434579", |
| "keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE5bAn4fXa9uUuyoDjW+KGUb+En/Pe\ncNKjTA14K1qq1oU8jiz/mwLJC/TX1Jx/8qJh0mrtfUAitBOSyFqFfUNFeQ==\n-----END PUBLIC KEY-----", |
| "sha" : "SHA3-256", |
| "type" : "EcdsaVerify", |
| "tests" : [ |
| { |
| "tcId" : 296, |
| "comment" : "r and s^-1 have a large Hamming weight", |
| "msg" : "313233343030", |
| "sig" : "304502207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022100909135bdb6799286170f5ead2de4f6511453fe50914f3df2de54a36383df8dd4", |
| "result" : "valid", |
| "flags" : [] |
| } |
| ] |
| }, |
| { |
| "key" : { |
| "curve" : "secp256r1", |
| "keySize" : 256, |
| "type" : "EcPublicKey", |
| "uncompressed" : "0424c5462bb7d1f1763ce28b3a9f851d86d7cb4c5f7c61ed9ed7d397f1a920ffc99460936b6919f88646844b27503555262ef8a81e6704f43e07deda12aa06f4ae", |
| "wx" : "24c5462bb7d1f1763ce28b3a9f851d86d7cb4c5f7c61ed9ed7d397f1a920ffc9", |
| "wy" : "009460936b6919f88646844b27503555262ef8a81e6704f43e07deda12aa06f4ae" |
| }, |
| "keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000424c5462bb7d1f1763ce28b3a9f851d86d7cb4c5f7c61ed9ed7d397f1a920ffc99460936b6919f88646844b27503555262ef8a81e6704f43e07deda12aa06f4ae", |
| "keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEJMVGK7fR8XY84os6n4UdhtfLTF98\nYe2e19OX8akg/8mUYJNraRn4hkaESydQNVUmLvioHmcE9D4H3toSqgb0rg==\n-----END PUBLIC KEY-----", |
| "sha" : "SHA3-256", |
| "type" : "EcdsaVerify", |
| "tests" : [ |
| { |
| "tcId" : 297, |
| "comment" : "r and s^-1 have a large Hamming weight", |
| "msg" : "313233343030", |
| "sig" : "304402207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd022027b4577ca009376f71303fd5dd227dcef5deb773ad5f5a84360644669ca249a5", |
| "result" : "valid", |
| "flags" : [] |
| } |
| ] |
| }, |
| { |
| "key" : { |
| "curve" : "secp256r1", |
| "keySize" : 256, |
| "type" : "EcPublicKey", |
| "uncompressed" : "046226bb83d3cef01ae27b7d04a905397682d5e4a5964b5160dba8a055a2e2aeca7a3630d49d999d0e85e59fe762c9c567cb767ca2a0a7a7756ac917e6085b18e1", |
| "wx" : "6226bb83d3cef01ae27b7d04a905397682d5e4a5964b5160dba8a055a2e2aeca", |
| "wy" : "7a3630d49d999d0e85e59fe762c9c567cb767ca2a0a7a7756ac917e6085b18e1" |
| }, |
| "keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200046226bb83d3cef01ae27b7d04a905397682d5e4a5964b5160dba8a055a2e2aeca7a3630d49d999d0e85e59fe762c9c567cb767ca2a0a7a7756ac917e6085b18e1", |
| "keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYia7g9PO8Brie30EqQU5doLV5KWW\nS1Fg26igVaLirsp6NjDUnZmdDoXln+diycVny3Z8oqCnp3VqyRfmCFsY4Q==\n-----END PUBLIC KEY-----", |
| "sha" : "SHA3-256", |
| "type" : "EcdsaVerify", |
| "tests" : [ |
| { |
| "tcId" : 298, |
| "comment" : "small r and s", |
| "msg" : "313233343030", |
| "sig" : "3006020105020101", |
| "result" : "valid", |
| "flags" : [] |
| } |
| ] |
| }, |
| { |
| "key" : { |
| "curve" : "secp256r1", |
| "keySize" : 256, |
| "type" : "EcPublicKey", |
| "uncompressed" : "0465af8c23310fe060a09e7366d82ea35f48f8e2c682eab3783de7d9711f5923bebebabfaf084741fc806b9698ef87c9459246b7846fa17400094ad0bb222c2cb6", |
| "wx" : "65af8c23310fe060a09e7366d82ea35f48f8e2c682eab3783de7d9711f5923be", |
| "wy" : "00bebabfaf084741fc806b9698ef87c9459246b7846fa17400094ad0bb222c2cb6" |
| }, |
| "keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000465af8c23310fe060a09e7366d82ea35f48f8e2c682eab3783de7d9711f5923bebebabfaf084741fc806b9698ef87c9459246b7846fa17400094ad0bb222c2cb6", |
| "keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEZa+MIzEP4GCgnnNm2C6jX0j44saC\n6rN4PefZcR9ZI76+ur+vCEdB/IBrlpjvh8lFkka3hG+hdAAJStC7Iiwstg==\n-----END PUBLIC KEY-----", |
| "sha" : "SHA3-256", |
| "type" : "EcdsaVerify", |
| "tests" : [ |
| { |
| "tcId" : 299, |
| "comment" : "small r and s", |
| "msg" : "313233343030", |
| "sig" : "3006020105020103", |
| "result" : "valid", |
| "flags" : [] |
| } |
| ] |
| }, |
| { |
| "key" : { |
| "curve" : "secp256r1", |
| "keySize" : 256, |
| "type" : "EcPublicKey", |
| "uncompressed" : "04f26ea876edab91b4070c5ec6e36663fff86f1fe5ef73938b227766b1805773cd07059506a5296d5766d4c55c06eebccf81c04e52cb14c3b198a18808d570d417", |
| "wx" : "00f26ea876edab91b4070c5ec6e36663fff86f1fe5ef73938b227766b1805773cd", |
| "wy" : "07059506a5296d5766d4c55c06eebccf81c04e52cb14c3b198a18808d570d417" |
| }, |
| "keyDer" : "3059301306072a8648ce3d020106082a8648ce3d03010703420004f26ea876edab91b4070c5ec6e36663fff86f1fe5ef73938b227766b1805773cd07059506a5296d5766d4c55c06eebccf81c04e52cb14c3b198a18808d570d417", |
| "keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE8m6odu2rkbQHDF7G42Zj//hvH+Xv\nc5OLIndmsYBXc80HBZUGpSltV2bUxVwG7rzPgcBOUssUw7GYoYgI1XDUFw==\n-----END PUBLIC KEY-----", |
| "sha" : "SHA3-256", |
| "type" : "EcdsaVerify", |
| "tests" : [ |
| { |
| "tcId" : 300, |
| "comment" : "small r and s", |
| "msg" : "313233343030", |
| "sig" : "3006020105020105", |
| "result" : "valid", |
| "flags" : [] |
| } |
| ] |
| }, |
| { |
| "key" : { |
| "curve" : "secp256r1", |
| "keySize" : 256, |
| "type" : "EcPublicKey", |
| "uncompressed" : "047811e16675799076c4f5ea78e5f833be4649925165672057443c436cf4017e0d8e377d53fecdf1556b1cdfdd8270d920cf7c6d32c946af2db4c864faec6b1eba", |
| "wx" : "7811e16675799076c4f5ea78e5f833be4649925165672057443c436cf4017e0d", |
| "wy" : "008e377d53fecdf1556b1cdfdd8270d920cf7c6d32c946af2db4c864faec6b1eba" |
| }, |
| "keyDer" : "3059301306072a8648ce3d020106082a8648ce3d030107034200047811e16675799076c4f5ea78e5f833be4649925165672057443c436cf4017e0d8e377d53fecdf1556b1cdfdd8270d920cf7c6d32c946af2db4c864faec6b1eba", |
| "keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEeBHhZnV5kHbE9ep45fgzvkZJklFl\nZyBXRDxDbPQBfg2ON31T/s3xVWsc392CcNkgz3xtMslGry20yGT67Gseug==\n-----END PUBLIC KEY-----", |
| "sha" : "SHA3-256", |
| "type" : "EcdsaVerify", |
| "tests" : [ |
| { |
| "tcId" : 301, |
| "comment" : "small r and s", |
| "msg" : "313233343030", |
| "sig" : "3006020105020106", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 302, |
| "comment" : "r is larger than n", |
| "msg" : "313233343030", |
| "sig" : "3026022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632556020106", |
| "result" : "invalid", |
| "flags" : [] |
| } |
| ] |
| }, |
| { |
| "key" : { |
| "curve" : "secp256r1", |
| "keySize" : 256, |
| "type" : "EcPublicKey", |
| "uncompressed" : "0403c840f0fcdfbe9cba931726d54a1f9553732be832d8ab701aebade4524b736d942379f10b74b70ec5a06d31c7b65eca6f77a047e25736aace32cf46edf9e90b", |
| "wx" : "03c840f0fcdfbe9cba931726d54a1f9553732be832d8ab701aebade4524b736d", |
| "wy" : "00942379f10b74b70ec5a06d31c7b65eca6f77a047e25736aace32cf46edf9e90b" |
| }, |
| "keyDer" : "3059301306072a8648ce3d020106082a8648ce3d0301070342000403c840f0fcdfbe9cba931726d54a1f9553732be832d8ab701aebade4524b736d942379f10b74b70ec5a06d31c7b65eca6f77a047e25736aace32cf46edf9e90b", |
| "keyPem" : "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEA8hA8Pzfvpy6kxcm1UoflVNzK+gy\n2KtwGuut5FJLc22UI3nxC3S3DsWgbTHHtl7Kb3egR+JXNqrOMs9G7fnpCw==\n-----END PUBLIC KEY-----", |
| "sha" : "SHA3-256", |
| "type" : "EcdsaVerify", |
| "tests" : [ |
| { |
| "tcId" : 303, |
| "comment" : "s is larger than n", |
| "msg" : "313233343030", |
| "sig" : "3026020105022100ffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc75fbd8", |
| "result" : "invalid", |
| "flags" : [] |
| } |
| ] |
| }, |
| { |
| "key" : { |
| "curve" : "secp256r1", |
| "keySize" : 256, |
| "type" : "EcPublicKey", |
| "uncompressed" : "044b2475ae911ab3e3334bd5acefce2225e35ad7f4523df52c13f581b87898cca195575d5296d1bd97efaa74a12cc0df3d556a614f176c25b06348af8d304ea6c7", |
| "wx" : |