mirror of https://github.com/nucypher/pyUmbral.git
Added test vector files for CurveBN, Points, KFrags and CFrags
parent
cabbc4a6da
commit
083f113cfc
|
@ -0,0 +1,51 @@
|
|||
{
|
||||
"name": "Test vectors for CFrags",
|
||||
"description": "This is a collection of CFrags, originated from the enclosed Capsule, under the enclosed delegating, verifying and receiving keys. Each CFrag must deserialize correctly and can be replicated with a call to `pre.reencrypt(kfrag, capsule, provide_proof=False)`",
|
||||
"params": "default",
|
||||
"capsule": "02aede93b31264cae0de88be439ad6a8647cff44518cfcf442aebd5ab53e791df90309507c64de8e332814f11e5b63dd25eb72ce31deb9b1222b3473a7edf483ecd5883b0a3f3f3e4089251c7fb4d54485dfd0ce5abe7dfbf3d1931580d70e50ee39",
|
||||
"verifying_key": "033c474922834f0a658bd238ac810bf9418ddcbb88ae9dd5df6529f4bd93aedb0e",
|
||||
"delegating_key": "02e1213d9aece5f2d2e1c827630ce291b840ba7892ebdfa3980a06992bf6ae13cb",
|
||||
"receiving_key": "025112daa3805243f5f7723a6349863965ba5e57b568dba848174752984b26254c",
|
||||
"vectors": [
|
||||
{
|
||||
"kfrag": "2f6c46acc24fbdd6a3092b8fa6dcf435b855b4b92af1c5bdaf23453001777f8fe94051df722939e0fa96db88707f64f3a84af1fa30ab7da1831d6a14632a423102c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830032d3594512a5f8afebef528a050f41f0e3b70ddd01331bc09ecb25c397eee66cf031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13a364188519b4375da9ccbaa106d0ffa022a3ad9bde81a4716ab9d4827dc63d766f8433af0e8a2fc710b4d4f927e00ed5018321706e7f8b54945264e3bdcce1b5",
|
||||
"cfrag": "03e7cff16ab190f2a46011f087e6a3a15c4cb9232c9ff63bd1958fd0ce59f1632702b8f83fa73029c576f89c7d670b0e51296ad3f72bcd8fa85b2a3b2cdeec5cbe8a2f6c46acc24fbdd6a3092b8fa6dcf435b855b4b92af1c5bdaf23453001777f8f02c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13"
|
||||
},
|
||||
{
|
||||
"kfrag": "abfe78d612b02a7a081f3d80cd0549fca9ae6687c6ae6710233406b5025da9721a816e39df3f2da6e3d2cb6cabace31a9ecaec395400fa5851bc239bbb0e10f502c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830032edca546fae717d93acd68ec33f02bd8f3cc1d0e87e7a5f3e7fcafeb78810785031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc1303e685c3f2f7631f36eb6d90f8488af0382ecdcfce046412baffb119432cea0ea15cb0dae09f53039c000d0d264b7514ca72d8f12898a555f57c5a90c2862945",
|
||||
"cfrag": "0223363ceadec5b0d59770aea8c3af60703de51515f2355c17571d2663df5738ff02d5b22c06097e0349f671b4b09b8ed358e8f1dfdee3076241932cd23edc78256babfe78d612b02a7a081f3d80cd0549fca9ae6687c6ae6710233406b5025da97202c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13"
|
||||
},
|
||||
{
|
||||
"kfrag": "be626a9e0dc5ea76c2430be9f863b6819de9fc31b963af4bcd2d79b8eb57e5146e5783664bb5f367aca9798e3cec743be8632fe74279b49f4f0bb2289a5c164202c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d83002098e3b0648996766bd2ebab358c97da532ba9a39c0fdfa27f32471eaa3e2b182031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13992cb5d467a563d55cfb2a48656782f701d2045d7741ba9d8fd475e4cd90d9166cb049e14201837ad765e2c33849d6f46e1005ddda20f9563d8446d1492c5829",
|
||||
"cfrag": "022dae4c308ffc0539e54f729417b49be47ad9e9b0851a649d0af8b1c79019742f0299b2210a8868df6c12640570d692bec91725dbccadb40da75f42cdf30de15214be626a9e0dc5ea76c2430be9f863b6819de9fc31b963af4bcd2d79b8eb57e51402c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13"
|
||||
},
|
||||
{
|
||||
"kfrag": "c06ea9463377f4fdc04b326046ce381363e3aea0e69c452b064216f63e0a635cb51de15bc935215c07f85b59f29461fee4b9b694dad14f7979c8b45ce9494e2102c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d8300310749b119538e5584fd8da938a06256b4659c849ec30e50d021113a64a03ce94031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13f646380dcabbfc3506dd8e636d801bcb81bab230d224d48d8f18643d0d4fd8bf6bf84f080088600fcf2b2a9974f2d02e3eac19f5ba4416da3cb0eb5fc5a1be9c",
|
||||
"cfrag": "024d41e23108a017383d475c488b47ec464aafe191a1e57fa2bf6ebbcf0853734603117870ecc46ecf6eb2afbce687ed45547017f13bfc8605aaac4e79f4e2a0d1adc06ea9463377f4fdc04b326046ce381363e3aea0e69c452b064216f63e0a635c02c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13"
|
||||
},
|
||||
{
|
||||
"kfrag": "97d2ccfe608376d89f4b162c4aa664e5995a95583b51a1147a1e350c05ea2f209a0f61d5a835d0a5d7e75b5d68da16b77e6fc226c0e5fc21852eb08a1180aff402c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d8300232e29723f3d0655dc1c3bacab28f2568c096add8dde0ae75b970713942164dee031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc135dacf79be1a63302cfc5ea64c833350c894d2653aab23c4cfe8749012d69f43d52afa9575cb40f06b4e3e62c3ec6d35deb2e4ffd974d0d7ebf04ad206a5d1918",
|
||||
"cfrag": "02566d0026d6dcd9821281b16b4383334a860565a6434a62a94a837ba2319eba0a02a6be755001a4a692bbf19c34551160615985403de7214dc0573b2f15e249a27697d2ccfe608376d89f4b162c4aa664e5995a95583b51a1147a1e350c05ea2f2002c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13"
|
||||
},
|
||||
{
|
||||
"kfrag": "1fdeed9f1bf7e4c1e8ab77033798cd36963b0ce6b7c5dee62e908d64555331c95c3008b330f297a0d9e5ec8a92b72bee00469c9ff142f8e6af9ed73e64b305a902c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830028446901953fe619ac8b87fda834dd89d77081cf6f77911f38a197ea008ae9a32031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc1356656471dbbd6f889b37c5bc80cc47c020d035280cfafaa29dbf088766a8fe9e7553d09e0f59fddacd94aa9380c20cc63282750e61f25c240f3a6952e58730a3",
|
||||
"cfrag": "021db77aebbe828dd4ff2456f5e6945572f3f49c3bd0cfff06e5e905750a2f17cd02c525009bc3962e0ae5ea008c30fe5b19a1be4009e507956fc1e5952373cb676a1fdeed9f1bf7e4c1e8ab77033798cd36963b0ce6b7c5dee62e908d64555331c902c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13"
|
||||
},
|
||||
{
|
||||
"kfrag": "ca12c3999c30cc05e0a0dad71edccd8505ba862e9c2780c7052702dee0a85bc91ed3d3a92c82742049c54d0fae0e367979917b32f4186bd2ba63235d06090cfe02c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d8300334d856f88ba924baf47fe363a12da4d47cc995c9946a6becaf48b5963a955f21031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc136529a026e168545c9605317f7e30efb81547bdb8d9cb57036b9e067c7bd4cb7c6285a7511341df2bc4763b5d35ca62fc763fdf50d14a98c259ee1e8f4fa94ce8",
|
||||
"cfrag": "0319ee06a9a8bddd5a0bc2b64696cf4cd1f9f2edd33982069810475f5aee41b41e02bde51fc1cada7ccec08eddfa76001cee66d92f610affbbb809c170909ba64c95ca12c3999c30cc05e0a0dad71edccd8505ba862e9c2780c7052702dee0a85bc902c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13"
|
||||
},
|
||||
{
|
||||
"kfrag": "9932185ce2ea4ab966cfce946cc4c9a13c99071894dc65cd9f128ec19414dd0f7b6409d1b6adda5d5e8c1330d6b5d41ac94c22b488971b733b99c6b4f5c9a11f02c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830020d1f93dbefc85466baa076db4bf4fcef6ad5b940f48ed9418985191fe8ec639c031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13478e78ea8cca28d77b2ece22708080eb2522c3081a086d0bb9857191579c21f5fead826a1d2f36b50fd49f0c807fb4578d1248fb9070447c05ff009f42fbc8a7",
|
||||
"cfrag": "03944276be189286cbf124804b269ee951c6ba0c127554fb60f8ad4e22a7d4caea02c904064d934420f6194aa2f97a94feacc607649ca54fc201818a7fa96793a1ec9932185ce2ea4ab966cfce946cc4c9a13c99071894dc65cd9f128ec19414dd0f02c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13"
|
||||
},
|
||||
{
|
||||
"kfrag": "9ba7090185a6bea8ea79e30c0546d92d6f1d10a429005cc214c3beff68bd4bfa4171f49dae69f5312ef8d5477d69e0a3ec6fc67585f8fa65fd00c96817d9dedb02c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d83002950229e6c8b88b04ff9809aedb67ffb58de0fd0bd169a25c057fc3e5bc2eecb4031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13712c233f571e88f94be1afc054b3908a8d4ff1a454892cd7687629615aae0bd949217c1537fd375682194cb134944fb41bb1e734621479cd88303d244b17c2d2",
|
||||
"cfrag": "02a90ac8513ca980b797da7af02f45b589492da78066fd3857f81c17cebe6902d8025ad476e7dae5c1cfa8da7e0776c12bf86872fff8f02afebf7bbef5ab48de330f9ba7090185a6bea8ea79e30c0546d92d6f1d10a429005cc214c3beff68bd4bfa02c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13"
|
||||
},
|
||||
{
|
||||
"kfrag": "9e91d97a8bf18f16b8fbdeb9f639184eb09c27673c60bb6e45dce7f0e5365a5e1784b3833bf5b76510f7bc11e902c4c4dbb7c67e2aa53fddab52c826909d8c8b02c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d83002d1925b1d1f94786c3c6dbefa880b71b78020aad1dc7d094b8c9bb82c1d734c76031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc132ef7cc33a275d687d22c5d4b107b29481bfc1982576c76dab2d0c72e5d8590f92feafe0fe4cd3d549509b2453d8f3ceae48719cd61a69bdbb518638374786ace",
|
||||
"cfrag": "0210e9a6a0885375c6415c041e66bf4e3e57de93342b5711d35fea9b4c3752817602ff6f2d2ee57d3aad9088dc790eb4a7eefe7d54a39bbb7eedebc1695aeb9c7ae89e91d97a8bf18f16b8fbdeb9f639184eb09c27673c60bb6e45dce7f0e5365a5e02c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,96 @@
|
|||
{
|
||||
"name": "Test vectors for umbral.curvebn.CurveBN.hash()",
|
||||
"params": "default",
|
||||
"vectors": [
|
||||
{
|
||||
"input": [
|
||||
{
|
||||
"class": "bytes",
|
||||
"bytes": ""
|
||||
}
|
||||
],
|
||||
"output": "416db24f4850e2215f446435d02e89c012847bf13f7c59d26cc6f17826eac64f"
|
||||
},
|
||||
{
|
||||
"input": [
|
||||
{
|
||||
"class": "bytes",
|
||||
"bytes": "616263"
|
||||
}
|
||||
],
|
||||
"output": "63b4973dd623699fe9b344da6ddd77fa5dd60413a21f6ad810186602d05dd1a4"
|
||||
},
|
||||
{
|
||||
"input": [
|
||||
{
|
||||
"class": "Point",
|
||||
"bytes": "02aede93b31264cae0de88be439ad6a8647cff44518cfcf442aebd5ab53e791df9"
|
||||
}
|
||||
],
|
||||
"output": "92bc115d8495160bead8539b546a74f9d5c596ac6e2a1f9974a33cb2ab6bad68"
|
||||
},
|
||||
{
|
||||
"input": [
|
||||
{
|
||||
"class": "CurveBN",
|
||||
"bytes": "cd79e1d262d11b719159eafd7545e9214f8b6c84e82ccf872ff77ea9766cdf60"
|
||||
}
|
||||
],
|
||||
"output": "54a1e833e0ae9a5fa77514b3d2794ca0da34b78370a979b56586450775248183"
|
||||
},
|
||||
{
|
||||
"input": [
|
||||
{
|
||||
"class": "Point",
|
||||
"bytes": "02aede93b31264cae0de88be439ad6a8647cff44518cfcf442aebd5ab53e791df9"
|
||||
},
|
||||
{
|
||||
"class": "CurveBN",
|
||||
"bytes": "cd79e1d262d11b719159eafd7545e9214f8b6c84e82ccf872ff77ea9766cdf60"
|
||||
}
|
||||
],
|
||||
"output": "0d210a81aa6f96e371913c35773a6e6b6746b5b46593df22c98aba4e7f2b6e06"
|
||||
},
|
||||
{
|
||||
"input": [
|
||||
{
|
||||
"class": "Point",
|
||||
"bytes": "02aede93b31264cae0de88be439ad6a8647cff44518cfcf442aebd5ab53e791df9"
|
||||
},
|
||||
{
|
||||
"class": "Point",
|
||||
"bytes": "03e7cff16ab190f2a46011f087e6a3a15c4cb9232c9ff63bd1958fd0ce59f16327"
|
||||
},
|
||||
{
|
||||
"class": "Point",
|
||||
"bytes": "027b10989d89b6b9ffe645f0ba60bae0c9665ded874d44489804aedeba0a093d0b"
|
||||
},
|
||||
{
|
||||
"class": "Point",
|
||||
"bytes": "0309507c64de8e332814f11e5b63dd25eb72ce31deb9b1222b3473a7edf483ecd5"
|
||||
},
|
||||
{
|
||||
"class": "Point",
|
||||
"bytes": "02b8f83fa73029c576f89c7d670b0e51296ad3f72bcd8fa85b2a3b2cdeec5cbe8a"
|
||||
},
|
||||
{
|
||||
"class": "Point",
|
||||
"bytes": "028a05a95ad71a3e8a8f373040b70018772bc42d7c3389707ef194f8c8ea67803b"
|
||||
},
|
||||
{
|
||||
"class": "Point",
|
||||
"bytes": "02f2a09f73e56722d7383f18132b08b9bdb57fbec938fdf887645723bcb5679a1a"
|
||||
},
|
||||
{
|
||||
"class": "Point",
|
||||
"bytes": "032d3594512a5f8afebef528a050f41f0e3b70ddd01331bc09ecb25c397eee66cf"
|
||||
},
|
||||
{
|
||||
"class": "Point",
|
||||
"bytes": "039bf3f05cb3dfa1f0cc8da9a137dc2398221c89afab370ae96ae96617a1800c6d"
|
||||
}
|
||||
],
|
||||
"output": "372e4aa325a03f1b032eec8dcecdac8c20741bf912a107b3e1e4c66f8d1e3a30"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"name": "Test vectors for CurveBN operations",
|
||||
"params": "default",
|
||||
"first operand": "fefa97823cbf63461ae11dafbeed5145a7e04d6e3fed73581f52189863d8a1dd",
|
||||
"second operand": "7dadf98ced79c330dcae0800f138d21601527d43a52eed20ecdfa1a39a3b0df2",
|
||||
"vectors": [
|
||||
{
|
||||
"operation": "Addition",
|
||||
"result": "7ca8910f2a392676f78f25b0b026235cee83edcb35d3c03d4c5f5baf2ddd6e8e"
|
||||
},
|
||||
{
|
||||
"operation": "Subtraction",
|
||||
"result": "814c9df54f45a0153e3315aecdb47f2fa68dd02a9abe8637327276f4c99d93eb"
|
||||
},
|
||||
{
|
||||
"operation": "Multiplication",
|
||||
"result": "5c1b00ec26d54b5172d8596a00f878979b7f7d51d44cf0b93e8dff18beef99de"
|
||||
},
|
||||
{
|
||||
"operation": "Division",
|
||||
"result": "9d50e501a30f37630104e22f2b538322538936ab6a0f11fac522ac82ae050627"
|
||||
},
|
||||
{
|
||||
"operation": "Pow",
|
||||
"result": "98895419b5e6b71faa5fa7bed7f7a06ca1d2f2b4229d84eb60a27405f992e579"
|
||||
},
|
||||
{
|
||||
"operation": "Mod",
|
||||
"result": "039ea46861cbdce461850daddc7bad19a53b52e6f58f99164592d5512f6285f9"
|
||||
},
|
||||
{
|
||||
"operation": "Inverse",
|
||||
"result": "4723bfdb86bfe2e694f584bb0af93810445986840225eedbef96ea49784630c2"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
"name": "Test vectors for KFrags",
|
||||
"description": "This is a collection of KFrags generated under the enclosed delegating, verifying and receiving keys. Each of them must deserialize correctly and the call to verify() must succeed.",
|
||||
"params": "default",
|
||||
"verifying_key": "033c474922834f0a658bd238ac810bf9418ddcbb88ae9dd5df6529f4bd93aedb0e",
|
||||
"delegating_key": "02e1213d9aece5f2d2e1c827630ce291b840ba7892ebdfa3980a06992bf6ae13cb",
|
||||
"receiving_key": "025112daa3805243f5f7723a6349863965ba5e57b568dba848174752984b26254c",
|
||||
"vectors": [
|
||||
{
|
||||
"kfrag": "2f6c46acc24fbdd6a3092b8fa6dcf435b855b4b92af1c5bdaf23453001777f8fe94051df722939e0fa96db88707f64f3a84af1fa30ab7da1831d6a14632a423102c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830032d3594512a5f8afebef528a050f41f0e3b70ddd01331bc09ecb25c397eee66cf031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13a364188519b4375da9ccbaa106d0ffa022a3ad9bde81a4716ab9d4827dc63d766f8433af0e8a2fc710b4d4f927e00ed5018321706e7f8b54945264e3bdcce1b5"
|
||||
},
|
||||
{
|
||||
"kfrag": "abfe78d612b02a7a081f3d80cd0549fca9ae6687c6ae6710233406b5025da9721a816e39df3f2da6e3d2cb6cabace31a9ecaec395400fa5851bc239bbb0e10f502c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830032edca546fae717d93acd68ec33f02bd8f3cc1d0e87e7a5f3e7fcafeb78810785031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc1303e685c3f2f7631f36eb6d90f8488af0382ecdcfce046412baffb119432cea0ea15cb0dae09f53039c000d0d264b7514ca72d8f12898a555f57c5a90c2862945"
|
||||
},
|
||||
{
|
||||
"kfrag": "be626a9e0dc5ea76c2430be9f863b6819de9fc31b963af4bcd2d79b8eb57e5146e5783664bb5f367aca9798e3cec743be8632fe74279b49f4f0bb2289a5c164202c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d83002098e3b0648996766bd2ebab358c97da532ba9a39c0fdfa27f32471eaa3e2b182031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13992cb5d467a563d55cfb2a48656782f701d2045d7741ba9d8fd475e4cd90d9166cb049e14201837ad765e2c33849d6f46e1005ddda20f9563d8446d1492c5829"
|
||||
},
|
||||
{
|
||||
"kfrag": "c06ea9463377f4fdc04b326046ce381363e3aea0e69c452b064216f63e0a635cb51de15bc935215c07f85b59f29461fee4b9b694dad14f7979c8b45ce9494e2102c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d8300310749b119538e5584fd8da938a06256b4659c849ec30e50d021113a64a03ce94031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13f646380dcabbfc3506dd8e636d801bcb81bab230d224d48d8f18643d0d4fd8bf6bf84f080088600fcf2b2a9974f2d02e3eac19f5ba4416da3cb0eb5fc5a1be9c"
|
||||
},
|
||||
{
|
||||
"kfrag": "97d2ccfe608376d89f4b162c4aa664e5995a95583b51a1147a1e350c05ea2f209a0f61d5a835d0a5d7e75b5d68da16b77e6fc226c0e5fc21852eb08a1180aff402c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d8300232e29723f3d0655dc1c3bacab28f2568c096add8dde0ae75b970713942164dee031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc135dacf79be1a63302cfc5ea64c833350c894d2653aab23c4cfe8749012d69f43d52afa9575cb40f06b4e3e62c3ec6d35deb2e4ffd974d0d7ebf04ad206a5d1918"
|
||||
},
|
||||
{
|
||||
"kfrag": "1fdeed9f1bf7e4c1e8ab77033798cd36963b0ce6b7c5dee62e908d64555331c95c3008b330f297a0d9e5ec8a92b72bee00469c9ff142f8e6af9ed73e64b305a902c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830028446901953fe619ac8b87fda834dd89d77081cf6f77911f38a197ea008ae9a32031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc1356656471dbbd6f889b37c5bc80cc47c020d035280cfafaa29dbf088766a8fe9e7553d09e0f59fddacd94aa9380c20cc63282750e61f25c240f3a6952e58730a3"
|
||||
},
|
||||
{
|
||||
"kfrag": "ca12c3999c30cc05e0a0dad71edccd8505ba862e9c2780c7052702dee0a85bc91ed3d3a92c82742049c54d0fae0e367979917b32f4186bd2ba63235d06090cfe02c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d8300334d856f88ba924baf47fe363a12da4d47cc995c9946a6becaf48b5963a955f21031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc136529a026e168545c9605317f7e30efb81547bdb8d9cb57036b9e067c7bd4cb7c6285a7511341df2bc4763b5d35ca62fc763fdf50d14a98c259ee1e8f4fa94ce8"
|
||||
},
|
||||
{
|
||||
"kfrag": "9932185ce2ea4ab966cfce946cc4c9a13c99071894dc65cd9f128ec19414dd0f7b6409d1b6adda5d5e8c1330d6b5d41ac94c22b488971b733b99c6b4f5c9a11f02c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d830020d1f93dbefc85466baa076db4bf4fcef6ad5b940f48ed9418985191fe8ec639c031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13478e78ea8cca28d77b2ece22708080eb2522c3081a086d0bb9857191579c21f5fead826a1d2f36b50fd49f0c807fb4578d1248fb9070447c05ff009f42fbc8a7"
|
||||
},
|
||||
{
|
||||
"kfrag": "9ba7090185a6bea8ea79e30c0546d92d6f1d10a429005cc214c3beff68bd4bfa4171f49dae69f5312ef8d5477d69e0a3ec6fc67585f8fa65fd00c96817d9dedb02c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d83002950229e6c8b88b04ff9809aedb67ffb58de0fd0bd169a25c057fc3e5bc2eecb4031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc13712c233f571e88f94be1afc054b3908a8d4ff1a454892cd7687629615aae0bd949217c1537fd375682194cb134944fb41bb1e734621479cd88303d244b17c2d2"
|
||||
},
|
||||
{
|
||||
"kfrag": "9e91d97a8bf18f16b8fbdeb9f639184eb09c27673c60bb6e45dce7f0e5365a5e1784b3833bf5b76510f7bc11e902c4c4dbb7c67e2aa53fddab52c826909d8c8b02c418a5b6cb8f753ae7499201bf1d9705e6cd12184f1bfa6aeef398fdd8f0d83002d1925b1d1f94786c3c6dbefa880b71b78020aad1dc7d094b8c9bb82c1d734c76031ba678d6e20de30cf86ed292639657b92b1cf2c0b67201fdb81137a3cdfdcc132ef7cc33a275d687d22c5d4b107b29481bfc1982576c76dab2d0c72e5d8590f92feafe0fe4cd3d549509b2453d8f3ceae48719cd61a69bdbb518638374786ace"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"name": "Test vectors for Point operations",
|
||||
"params": "default",
|
||||
"first Point operand": "0226e0220d8d032a20709a1df30f29cce34bef7e93eea3a765117a62072eabdf3a",
|
||||
"second Point operand": "03ac5e5fd1ad7e4cd4287a2d976c39b5debb3d367899eb06d43c7d3200fbba5882",
|
||||
"CurveBN operand": "fefa97823cbf63461ae11dafbeed5145a7e04d6e3fed73581f52189863d8a1dd",
|
||||
"vectors": [
|
||||
{
|
||||
"operation": "Addition",
|
||||
"result": "027227bc5ddb309312d31f99b423d98c3f6d37b15e4df902937a8d6a2d594688d1"
|
||||
},
|
||||
{
|
||||
"operation": "Subtraction",
|
||||
"result": "022404a8eaf41ebe7b105e3955b49521c76170b4b37e96002a689ff9ed9e0fd8bf"
|
||||
},
|
||||
{
|
||||
"operation": "Multiplication",
|
||||
"result": "02cae0eda7037a641d7c8e191ee069fab0959f2b47e31a9ae27d0ab406e74e7080"
|
||||
},
|
||||
{
|
||||
"operation": "Inversion",
|
||||
"result": "0326e0220d8d032a20709a1df30f29cce34bef7e93eea3a765117a62072eabdf3a"
|
||||
},
|
||||
{
|
||||
"operation": "To_affine.X",
|
||||
"result": "26e0220d8d032a20709a1df30f29cce34bef7e93eea3a765117a62072eabdf3a"
|
||||
},
|
||||
{
|
||||
"operation": "To_affine.Y",
|
||||
"result": "cb316261090d3a066e6efd7b8ff29a0a133aceab1bf0887121d9e10a78d7270e"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue