| { |
| "algorithm" : "ECDH", |
| "generatorVersion" : "0.4.12", |
| "notes" : { |
| "AddSubChain" : "The private key has a special value. Implementations using addition subtraction chains for the point multiplication may get the point at infinity as an intermediate result. See CVE_2017_10176", |
| "CompressedPoint" : "The point in the public key is compressed. Not every library supports points in compressed format." |
| }, |
| "numberOfTests" : 65, |
| "header" : [], |
| "testGroups" : [ |
| { |
| "curve" : "secp224r1", |
| "encoding" : "ecpoint", |
| "type" : "ECHDComp", |
| "tests" : [ |
| { |
| "tcId" : 1, |
| "comment" : "normal case", |
| "public" : "047d8ac211e1228eb094e285a957d9912e93deee433ed777440ae9fc719b01d050dfbe653e72f39491be87fb1a2742daa6e0a2aada98bb1aca", |
| "private" : "565577a49415ca761a0322ad54e4ad0ae7625174baf372c2816f5328", |
| "shared" : "b8ecdb552d39228ee332bafe4886dbff272f7109edf933bc7542bd4f", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 2, |
| "comment" : "compressed public key", |
| "public" : "027d8ac211e1228eb094e285a957d9912e93deee433ed777440ae9fc71", |
| "private" : "565577a49415ca761a0322ad54e4ad0ae7625174baf372c2816f5328", |
| "shared" : "b8ecdb552d39228ee332bafe4886dbff272f7109edf933bc7542bd4f", |
| "result" : "acceptable", |
| "flags" : [ |
| "CompressedPoint" |
| ] |
| }, |
| { |
| "tcId" : 3, |
| "comment" : "edge case for shared secret", |
| "public" : "04e73a6ca72f3a2fae6e0a01a0ed03bfa3058b04576942eaf063095e62ca16fd31fa0f38eeb592cbeea1147751fdd2a5b6cc0ead404467a5b6", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "00000000000000000000000000000000000000000000000000000003", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 4, |
| "comment" : "edge case for shared secret", |
| "public" : "045763fa2ae16367ad23d471cc9a52466f0d81d864e5640cefe384114594d9fecfbed4f254505ac8b41d2532055a07f0241c4818b552cbb636", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "00000000000000000000000100000000000000000000000000000001", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 5, |
| "comment" : "edge case for shared secret", |
| "public" : "04142c1fd80fa2121a59aa898144084ec033f7a56a34eee0b499e29ae51c6d8c1bbb1ef2a76d565899fe44ffc1207d530d7f598fb77f4bb76b", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "00000000000000ffffffffffffff0000000000000100000000000000", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 6, |
| "comment" : "edge case for shared secret", |
| "public" : "04ed6f793e10c80d12d871cf8988399c4898a9bf9ffd8f27399f63de25f0051cdf4eec7f368f922cfcd948893ceca0c92e540cc4367a99a66a", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "00000000ffffffffffffffff00000000000000010000000000000000", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 7, |
| "comment" : "edge case for shared secret", |
| "public" : "0408fcfc1a63c82860be12e4137433dfc40be9acdd245f9a8c4e56be61a385fc09f808383383f4b1d0d5365b6e5dcfacdc19bc7bcfed221274", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 8, |
| "comment" : "edge case for shared secret", |
| "public" : "04d883ed77f1861e8712800d31df67888fe39f150c79a27aa88caeda6b180f3f623e2ff3ab5370cf8179165b085af3dd4502850c0104caed9a", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "0003fffffff00000003fffffff00000003fffffff000000040000000", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 9, |
| "comment" : "edge case for shared secret", |
| "public" : "042b8b279b85ee3f3d2c0abeb36fdfc5aad6157d652d26489381a32cd73224bd757ef794acc92b0b3b9e7990618bb343a9a09bdb9d3616eff6", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "01fffffffc00000007fffffff00000001fffffffc000000080000001", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 10, |
| "comment" : "edge case for shared secret", |
| "public" : "048bd5f03391eeeae1744e8fc53d314efffafa4d3fa4f1b95c3388a9cd7c86358b273119c537133eb55e79c6ac510b10980b379b919ccf2e2f", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "0a15c112ff784b1445e889f955be7e3ffdf451a2c0e76ab5cb32cf41", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 11, |
| "comment" : "edge case for shared secret", |
| "public" : "04ce9631b6a16227778625c8e5421ae083cdd913abefde01dbe69f6c2b95386aff2b483b2c47151cfaabfd000614c683ce2e1778221ae42c1b", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "62989eaaa26a16f07330c3c51e0a4631fd016bfcede26552816aee39", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 12, |
| "comment" : "edge case for shared secret", |
| "public" : "041f441c98eda956a6a7fdbfd8d21910860ab59d16c3e52f8e7fad6ca5df61a55fc508fc0499c55492f1e87bb2faa0cb4170b79f3a85ec2f3d", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "661ac958c0febbc718ccf39cefc6b66c4231fbb9a76f35228a3bf5c3", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 13, |
| "comment" : "edge case for shared secret", |
| "public" : "04be74583cb9d3a05ae54923624e478a329a697d842dfae33141c844d7d9ba4fc96e0fe716ac0542e87368662fc2f0cb9b0ae57936ddec7190", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "6d7e41821abe1094d430237923d2a50de31768ab51b12dce8a09e34c", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 14, |
| "comment" : "edge case for shared secret", |
| "public" : "04a281ad992b363597ac93ff0de8ab1f7e51a6672dcbb58f9d739ba430ce0192874038daefc3130eec65811c7255da70fea65c1003f6892faa", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "7fffffffffffffffffffffffffffffffffffffffffffffffffffffff", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 15, |
| "comment" : "edge case for shared secret", |
| "public" : "04be3e22133f51203f631b81dde8c020cdea5daa1f99cfc05c88fad2dc0f243798d6e72d1de9e3cdca4144e0a6c0f2a584d07589006972c197", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "fffc0007fff0001fffc0007fff0001fffc0007fff0001fffc0008001", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 16, |
| "comment" : "edge case for shared secret", |
| "public" : "04af14547c20afbd91bfe64ea03d45a76a71241f23520ef897ff91eff1b54ca6ca8c25fd73852ec6654617434eff7f0225684d4dea7a4f8a97", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "ffff0000003ffffff0000003ffffff0000003ffffff0000003ffffff", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 17, |
| "comment" : "edge case for shared secret", |
| "public" : "04b1e484925018729926acda56ff3e2f6c1e7e8f162b178d8e8afb45564fceaa6da5d998fe26b6b26a055169063a5ab6908852ca8b54e2de6c", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "fffff0000007fffffe000000ffffffc000001ffffff8000003ffffff", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 18, |
| "comment" : "edge case for shared secret", |
| "public" : "04937eb09fb145c8829cb7df20a4cbeed396791373de277871d6c5f9cc3b5b4fd56464a71fc4a2a6af3bd251952bffa829489e68a8d06f96b6", |
| "private" : "0a2b6442a37f9201b56758034d2009be64b0ab7c02d7e398cac9665d6", |
| "shared" : "ffffffff00000000ffffffff00000000ffffffff00000000ffffffff", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 19, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "04000000000000000000000000000000000000000000000000000000037cac269c67bd55ea14efff4eadefe5e74978514af14c88fab46ec046", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "3fa0b9ff70b884f9f57bb84f7a9532d93f6ba803f89dd8ff008177d7", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 20, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "04000000000000000000000001000000000000000000000000000000012ea2f4917bdfdb008306cc10a18e2557633ba861001829dcbfb96fba", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "be1ded8cb7ff8a585181f96d681e31b332fe27dcae922dca2310300d", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 21, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "0400000000000000ffffffffffffff000000000000010000000000000073ca5f8f104997a2399e0c7f25e72a75ec29fc4542533d3fea89a33a", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "a2e86a260e13515918a0cafdd87855f231b5624c560f976159e06a75", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 22, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "0400000000ffffffffffffffff000000000000000100000000000000006fe6805f59b19b0dd389452a1d4a420bfeb6c369cf6fed5b12e6e654", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "31ef7c8d10404a0046994f313a70574b027e87f9028eca242c1b5bf5", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 23, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "040000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff77c5cfa4e2c384938d48bd8dd98f54c86b279f1df8c0a1f6692439c9", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "d1976a8ef5f54f24f5a269ad504fdca849fc9c28587ba294ef267396", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 24, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "040003fffffff00000003fffffff00000003fffffff00000004000000001f0828136016bb97445461bc59f2175d8d23557d6b9381f26136e3d", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "ce7890d108ddb2e5474e6417fcf7a9f2b3bd018816062f4835260dc8", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 25, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "0401fffffffc00000007fffffff00000001fffffffc0000000800000012d8acca6f199d4a94b933ba1aa713a7debde8ac57b928f596ae66a66", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "30b6ff6e8051dae51e4fe34b2d9a0b1879153e007eb0b5bdf1791a9c", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 26, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "040a15c112ff784b1445e889f955be7e3ffdf451a2c0e76ab5cb32cf413d4df973c563c6decdd435e4f864557e4c273096d9941ca4260a266e", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "77ec668a00f72d85aa527624abb16c039fe490d17dd6c455a1ed7fd8", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 27, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "0462989eaaa26a16f07330c3c51e0a4631fd016bfcede26552816aee39389ee9436d616cab90032931aa7fbbfcfc13309f61e2423cc8dab93c", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "a3f432f6aba9a92f49a5ea64ffe7059a9d9b487a0b5223ddc988208b", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 28, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "04661ac958c0febbc718ccf39cefc6b66c4231fbb9a76f35228a3bf5c3103b8040e3cb41966fc64a68cacb0c14053f87d27e8ed7bf2d7fe51b", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "1530fd9caf03737af34a4ba716b558cbecbc35d18402535a0a142313", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 29, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "046d7e41821abe1094d430237923d2a50de31768ab51b12dce8a09e34c276cf273d75d367820dd556182def0957af0a314f48fed227c298dc0", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "cfc39ccacb94ad0e0552b2e47112f60fbbe7ae0dc32230b9273dd210", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 30, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "047fffffffffffffffffffffffffffffffffffffffffffffffffffffff7d8dbca36c56bcaae92e3475f799294f30768038e816a7d5f7f07d77", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "73bd63bd384a0faafb75cfed3e95d3892cbacf0db10f282c3b644771", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 31, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "04fffc0007fff0001fffc0007fff0001fffc0007fff0001fffc000800174f1ff5ea7fbc72b92f61e06556c26bab84c0b082dd6400ca1c1eb6d", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "85b079c62e1f5b0fd6841dfa16026e15b641f65e13a14042567166bb", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 32, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "04ffff0000003ffffff0000003ffffff0000003ffffff0000003ffffff0126fdd5fccd0b5aa7fd5bb5b1308584b30556248cec80208a2fe962", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "8a834ff40e3fc9f9d412a481e18537ea799536c5520c6c7baaf12166", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 33, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "04fffff0000007fffffe000000ffffffc000001ffffff8000003ffffff20cfa23077acc9fbcb71339c65880cd0b966b8a9497e65abed17f0b5", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "a0887269766e6efcbc81d2b38f2d4638663f12377468a23421044188", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 34, |
| "comment" : "edge cases for ephemeral key", |
| "public" : "04ffffffff00000000ffffffff00000000ffffffff00000000ffffffff1c05ac2d4f10b69877c3243d51f887277b7bf735c326ab2f0d70da8c", |
| "private" : "2bc15cf3981f4e15bbad387b506df647989e5478160be862f8c26969", |
| "shared" : "c65d1911bc076a74588d8793ce7a0dcabf5793460cd2ebb02754a1be", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 35, |
| "comment" : "edge case private key", |
| "public" : "04478e73465bb1183583f4064e67e8b4343af4a05d29dfc04eb60ac2302e5b9a3a1b32e4208d4c284ff26822e09c3a9a4683443e4a35175504", |
| "private" : "3", |
| "shared" : "e71f2157bfe37697ea5193d4732dcc6e5412fa9d38387eacd391c1c6", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 36, |
| "comment" : "edge case private key", |
| "public" : "04478e73465bb1183583f4064e67e8b4343af4a05d29dfc04eb60ac2302e5b9a3a1b32e4208d4c284ff26822e09c3a9a4683443e4a35175504", |
| "private" : "0ffffffffffffffffffffffffffffffffffffffffffffffff", |
| "shared" : "fa2664717c7fa0161ec2c669b2c0986cdc20456a6e5406302bb53c77", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 37, |
| "comment" : "edge case private key", |
| "public" : "04478e73465bb1183583f4064e67e8b4343af4a05d29dfc04eb60ac2302e5b9a3a1b32e4208d4c284ff26822e09c3a9a4683443e4a35175504", |
| "private" : "1000000000000000000000000000000000000000000000000000000", |
| "shared" : "af6e5ad34497bae0745f53ad78ce8b285d79f400d5c6e6a071f8e6bd", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 38, |
| "comment" : "edge case private key", |
| "public" : "04478e73465bb1183583f4064e67e8b4343af4a05d29dfc04eb60ac2302e5b9a3a1b32e4208d4c284ff26822e09c3a9a4683443e4a35175504", |
| "private" : "7fffffffffffffffffffffffffffffffffffffffffffffffffffffff", |
| "shared" : "12fd302ff8c13c55a9c111f8bb6b0a13ecf88299c0ae3032ce2bcaff", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 39, |
| "comment" : "edge case private key", |
| "public" : "04478e73465bb1183583f4064e67e8b4343af4a05d29dfc04eb60ac2302e5b9a3a1b32e4208d4c284ff26822e09c3a9a4683443e4a35175504", |
| "private" : "080000000000000000000000000000000000000000000000000000000", |
| "shared" : "73f1a395b842f1a6752ae417e2c3dc90cafc4476d1d861b7e68ad030", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 40, |
| "comment" : "edge case private key", |
| "public" : "04478e73465bb1183583f4064e67e8b4343af4a05d29dfc04eb60ac2302e5b9a3a1b32e4208d4c284ff26822e09c3a9a4683443e4a35175504", |
| "private" : "0ffffffffffffffffffffffffffff16a2e0b8f03d13dd29455c5c2a3d", |
| "shared" : "b329c20ddb7c78ee4e622bb23a984c0d273ba34b6269f3d9e8f89f8e", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 41, |
| "comment" : "edge case private key", |
| "public" : "04478e73465bb1183583f4064e67e8b4343af4a05d29dfc04eb60ac2302e5b9a3a1b32e4208d4c284ff26822e09c3a9a4683443e4a35175504", |
| "private" : "0ffffffffffffffffffffffffffff16a2e0b8f03e13cd29455c5c2a3d", |
| "shared" : "6f48345209b290ffc5abbe754a201479e5d667a209468080d06197b4", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 42, |
| "comment" : "edge case private key", |
| "public" : "04478e73465bb1183583f4064e67e8b4343af4a05d29dfc04eb60ac2302e5b9a3a1b32e4208d4c284ff26822e09c3a9a4683443e4a35175504", |
| "private" : "0ffffffffffffffffffffffffffff16a2e0b8f03e13d529455c5c2a3d", |
| "shared" : "9f6e30c1c9dad42a153aacd4b49a8e5c721d085cd07b5d5aec244fc1", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 43, |
| "comment" : "edge case private key", |
| "public" : "04478e73465bb1183583f4064e67e8b4343af4a05d29dfc04eb60ac2302e5b9a3a1b32e4208d4c284ff26822e09c3a9a4683443e4a35175504", |
| "private" : "0ffffffffffffffffffffffffffff16a2e0b8f03e13dd29445c5c2a3d", |
| "shared" : "8cadfb19a80949e61bd5b829ad0e76d18a5bb2eeb9ed7fe2b901cecd", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 44, |
| "comment" : "edge case private key", |
| "public" : "04478e73465bb1183583f4064e67e8b4343af4a05d29dfc04eb60ac2302e5b9a3a1b32e4208d4c284ff26822e09c3a9a4683443e4a35175504", |
| "private" : "0ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c29b7", |
| "shared" : "475fd96e0eb8cb8f100a5d7fe043a7a6851d1d611da2643a3c6ae708", |
| "result" : "valid", |
| "flags" : [ |
| "AddSubChain" |
| ] |
| }, |
| { |
| "tcId" : 45, |
| "comment" : "edge case private key", |
| "public" : "04478e73465bb1183583f4064e67e8b4343af4a05d29dfc04eb60ac2302e5b9a3a1b32e4208d4c284ff26822e09c3a9a4683443e4a35175504", |
| "private" : "0ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a37", |
| "shared" : "41ef931d669d1f57d8bb95a01a92321da74be8c6cbc3bbe0b2e73ebd", |
| "result" : "valid", |
| "flags" : [ |
| "AddSubChain" |
| ] |
| }, |
| { |
| "tcId" : 46, |
| "comment" : "edge case private key", |
| "public" : "04478e73465bb1183583f4064e67e8b4343af4a05d29dfc04eb60ac2302e5b9a3a1b32e4208d4c284ff26822e09c3a9a4683443e4a35175504", |
| "private" : "0ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3a", |
| "shared" : "e71f2157bfe37697ea5193d4732dcc6e5412fa9d38387eacd391c1c6", |
| "result" : "valid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 47, |
| "comment" : "edge case private key", |
| "public" : "04478e73465bb1183583f4064e67e8b4343af4a05d29dfc04eb60ac2302e5b9a3a1b32e4208d4c284ff26822e09c3a9a4683443e4a35175504", |
| "private" : "0ffffffffffffffffffffffffffff16a2e0b8f03e13dd29455c5c2a3b", |
| "shared" : "11ff15126411299cbd49e2b7542e69e91ef132e2551a16ecfebb23a3", |
| "result" : "valid", |
| "flags" : [ |
| "AddSubChain" |
| ] |
| }, |
| { |
| "tcId" : 48, |
| "comment" : "point is not on curve", |
| "public" : "040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 49, |
| "comment" : "point is not on curve", |
| "public" : "040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 50, |
| "comment" : "point is not on curve", |
| "public" : "0400000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffff000000000000000000000000", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 51, |
| "comment" : "point is not on curve", |
| "public" : "0400000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffff000000000000000000000001", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 52, |
| "comment" : "point is not on curve", |
| "public" : "040000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 53, |
| "comment" : "point is not on curve", |
| "public" : "040000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000001", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 54, |
| "comment" : "point is not on curve", |
| "public" : "0400000000000000000000000000000000000000000000000000000001ffffffffffffffffffffffffffffffff000000000000000000000000", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 55, |
| "comment" : "point is not on curve", |
| "public" : "0400000000000000000000000000000000000000000000000000000001ffffffffffffffffffffffffffffffff000000000000000000000001", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 56, |
| "comment" : "point is not on curve", |
| "public" : "04ffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 57, |
| "comment" : "point is not on curve", |
| "public" : "04ffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000001", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 58, |
| "comment" : "point is not on curve", |
| "public" : "04ffffffffffffffffffffffffffffffff000000000000000000000000ffffffffffffffffffffffffffffffff000000000000000000000000", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 59, |
| "comment" : "point is not on curve", |
| "public" : "04ffffffffffffffffffffffffffffffff000000000000000000000000ffffffffffffffffffffffffffffffff000000000000000000000001", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 60, |
| "comment" : "point is not on curve", |
| "public" : "04ffffffffffffffffffffffffffffffff00000000000000000000000100000000000000000000000000000000000000000000000000000000", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 61, |
| "comment" : "point is not on curve", |
| "public" : "04ffffffffffffffffffffffffffffffff00000000000000000000000100000000000000000000000000000000000000000000000000000001", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 62, |
| "comment" : "point is not on curve", |
| "public" : "04ffffffffffffffffffffffffffffffff000000000000000000000001ffffffffffffffffffffffffffffffff000000000000000000000000", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 63, |
| "comment" : "point is not on curve", |
| "public" : "04ffffffffffffffffffffffffffffffff000000000000000000000001ffffffffffffffffffffffffffffffff000000000000000000000001", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 64, |
| "comment" : "", |
| "public" : "", |
| "private" : "0c6cafb74e2a5b5ed4b991cbbfbc28c18f6df208b6d05e7a2e6668014", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [] |
| }, |
| { |
| "tcId" : 65, |
| "comment" : "invalid public key", |
| "public" : "020ca753db5ddeca474241f8d2dafc0844343fd0e37eded2f0192d51b2", |
| "private" : "0fc28a0ca0f8e36b0d4f71421845135a22aef543b9fddf8c775b2d18f", |
| "shared" : "", |
| "result" : "invalid", |
| "flags" : [ |
| "CompressedPoint" |
| ] |
| } |
| ] |
| } |
| ] |
| } |