Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

aroundthecode / pycryptodome   python

Repository URL to install this package:

Version: 3.7.2 

/ SelfTest / Cipher / test_vectors / wycheproof / aes_siv_cmac_test.json

{
  "algorithm" : "AES-SIV-CMAC",
  "generatorVersion" : "0.4",
  "numberOfTests" : 442,
  "notes" : {
    "EdgeCaseSiv" : "The SIV of this test vector has an edge case value. One purpose of these test vectors is to detect implementations where integer overflows of the counter is incorrectly implemented. AES-SIV itself prevents such overflow problems by clearing some msbs in the IV."
  },
  "header" : [],
  "testGroups" : [
    {
      "keySize" : 256,
      "type" : "DaeadTest",
      "tests" : [
        {
          "tcId" : 1,
          "comment" : "RFC 5297",
          "key" : "fffefdfcfbfaf9f8f7f6f5f4f3f2f1f0f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff",
          "aad" : "101112131415161718191a1b1c1d1e1f2021222324252627",
          "msg" : "112233445566778899aabbccddee",
          "ct" : "85632d07c6e8f37f950acd320a2ecc9340c02b9690c4dc04daef7f6afe5c",
          "result" : "valid"
        },
        {
          "tcId" : 2,
          "comment" : "empty message",
          "key" : "2b27e429fb6c02678e589ccc4437c5adfb44b331ab6d21ea321727e6ec03d354",
          "aad" : "",
          "msg" : "",
          "ct" : "b2b2354e3724dcdaa85ecf029b49a90c",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 3,
          "comment" : "empty message",
          "key" : "e40992eb4f649e5d49134652aecc24bafa6b45ce8dd9e9d371ede7d5de84fa72",
          "aad" : "8268c5194a71aed0fc1dafe3",
          "msg" : "",
          "ct" : "92bc07ee200fbd488b7f70a10da26a21",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 4,
          "comment" : "empty message",
          "key" : "99037935e620da1d67faf1e26d5a0e2c5ac2eae5eec7cbb7b7a613056f6719e3",
          "aad" : "24ab40e7966c5bfe8a5d2b0a6a9765",
          "msg" : "",
          "ct" : "f44934d6f5ba77122f198599cd0e5e52",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 5,
          "comment" : "empty message",
          "key" : "7bf9e536b66a215c22233fe2daaa743a898b9acb9f7802de70b40e3d6e43ef97",
          "aad" : "9ffff196befb5ffba01afa9235418d57",
          "msg" : "",
          "ct" : "c11ab0ae193018d2c9c7985aec3f8a5b",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 6,
          "comment" : "empty message",
          "key" : "ea7081db53ce49559f9fd2b53e00f91b68c2bdba946961da1a5bc70918297a43",
          "aad" : "a9efd155159b533f2b649b2e5fbf87e6a2c11ee8",
          "msg" : "",
          "ct" : "cf52a3c9e2d3d99a66f74135f39e28bb",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 7,
          "comment" : "empty message",
          "key" : "1e225cafb90339bba1b24076d4206c3e79c355805d851682bc818baa4f5a7779",
          "aad" : "896dcdb367f3c76d60093dc5ae09bc4f30e5cb88e3434e6eb0f0700ac752cd97",
          "msg" : "",
          "ct" : "8f603b65e767ef178b4dd11db6c114c1",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 8,
          "comment" : "message size divisible by block size",
          "key" : "612e837843ceae7f61d49625faa7e7494f9253e20cb3adcea686512b043936cd",
          "aad" : "865d39ae9b5e9ff8d6308e00208745bc",
          "msg" : "cc37fae15f745a2f40e2c8b192f2b38d",
          "ct" : "c79c86cd7509e60a16ca8cec6bcaa1c58fbd6099718991fe775bf5a659d30a24",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 9,
          "comment" : "message size divisible by block size",
          "key" : "96e1e4896fb2cd05f133a6a100bc5609a7ac3ca6d81721e922dadd69ad07a892",
          "aad" : "8ee21f1a5e2b3f8b8f2064e5cecac81d",
          "msg" : "91a17e4dfcc3166a1add26ff0e7c12056e8a654f28a6de24f4ba739ceb5b5b18",
          "ct" : "849195031e8927a1af4f64cbdd8048461c03598bfba441312776a4e8ac959bee44c521801287a2fd95e2329b1c694441",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 10,
          "comment" : "message size divisible by block size",
          "key" : "649e373e681ef52e3c10ac265484750932a9918f28fb824f7cb50adab39781fe",
          "aad" : "3a8363f51bce891eba7bcc0aa4311e10",
          "msg" : "39b447bd3a01983c1cb761b456d69000948ceb870562a536126a0d18a8e7e49b16de8fe672f13d0808d8b7d957899917",
          "ct" : "9f66765a019277a7a7acb92e80f8300baa724c92560951eb09d855f471fe1b589928e51f7a8a4bbc6cc9f55fabb2eca2ebb4faca14d1ae20cfdc31b9602e9891",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 11,
          "comment" : "small plaintext size",
          "key" : "298962335a075e9eacb7a7627beafa4ee5a02242423cdfb0b4f106eb61cf5663",
          "aad" : "4c375fd3c4d45c5cfff16d55",
          "msg" : "49",
          "ct" : "f5c8155c7dd7f47c61d980ccd2175beb9b",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 12,
          "comment" : "small plaintext size",
          "key" : "ea1a7831e6fd080456507a996b6d71668c2cec43c757539c3b5342fadbe64dc4",
          "aad" : "599f61c649e7cc5cbbd7a78f",
          "msg" : "7c0c",
          "ct" : "130e8de11080a3b27cc1ef1272586c24717c",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 13,
          "comment" : "small plaintext size",
          "key" : "009e8288da0a3d22aeaa231fbbfde9ed901d22df9f3ab707e15aa2fc390d0679",
          "aad" : "9a582245b46c6170e3f5ca53",
          "msg" : "2f5c53",
          "ct" : "b98902dc89e6811dfba5eafb1561186dc1849e",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 14,
          "comment" : "small plaintext size",
          "key" : "b6202ef3dad5a42667f020f0e4bd89d845711da77f98c747eb914de869638bcf",
          "aad" : "eab41f3417c79bc7262c7b64",
          "msg" : "41ec7178",
          "ct" : "cd824717886f3363622937bcd118960a0e2605fe",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 15,
          "comment" : "small plaintext size",
          "key" : "fa82aef8c8d6e3cd8f8d053ea6b1b07ca3bc0152506d464926630d6fd83e8a72",
          "aad" : "e9a4b08a8e2ebbb13f82f870",
          "msg" : "ebe656a97b",
          "ct" : "85288834b25f27e96083e2f360d3c7e7486519b4f5",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 16,
          "comment" : "small plaintext size",
          "key" : "4ed237ae3d066df766bea923116bf9d2ce6f63d34a4f56ed8631baccabd70647",
          "aad" : "fca537f50d5fce3cdc994b70",
          "msg" : "82f0d49b77a5",
          "ct" : "9acd6ee8a827c2c5d0da7bf7815dbd8511bd8c5a79c1",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 17,
          "comment" : "small plaintext size",
          "key" : "56df5d41a110a63acc7b7c045be9f35a8f2faf16d83fb559268eb8963484f552",
          "aad" : "95dceafcd426a9bcbe99b842",
          "msg" : "1d635248014c3b",
          "ct" : "f7c739f6a0e20e94265ecbbdaec36cd597088967917d47",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 18,
          "comment" : "small plaintext size",
          "key" : "2e94a84c78be80cd598366058d4f6cdf8095666dcac7a00ad832d9f33e20d13c",
          "aad" : "0c784125715b7f9b1067b077",
          "msg" : "b978587bf028558d",
          "ct" : "163833ac904d30589cad9a002bd702f5c7809b04693fd8fb",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 19,
          "comment" : "small plaintext size",
          "key" : "60bf711a162cf6a1b108d1351f9fd2ee5022a9df3c5e494268226b17518a93b7",
          "aad" : "53353976f18ae8c8cbc7e066",
          "msg" : "078a6a3d7d1d312004",
          "ct" : "87a37e3de3690b11fba089c068e1c1ea17a4d05ecfb0a97631",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 20,
          "comment" : "small plaintext size",
          "key" : "5aadf8dd380e4287582155f11165b31dc8ed76946889a2bb8633990fb62fc46f",
          "aad" : "0baed8c06718697b4e845acb",
          "msg" : "435e101a1a4416abe5ce",
          "ct" : "1ee7891afbc92d52282eb3fdada6f886ae613f6d60e5d8c1a3a6",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 21,
          "comment" : "small plaintext size",
          "key" : "b099c4a613f5efda82b069d9a76c02a4049c12310e25f272dbd9d155aedd8d52",
          "aad" : "30699dc6f497215acda15441",
          "msg" : "ccb3e3e1bbf6c3b03c257b",
          "ct" : "a78a01331bb6da90967319859434dbfdd2f9b9c68265c190e28ba3",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 22,
          "comment" : "small plaintext size",
          "key" : "dd0655b5099c4acb60c8afacede1b6ac04283c4fcdd1fee2f5aaa6d86bf6c025",
          "aad" : "164400936032de67a4660b87",
          "msg" : "6c9a0029bfc98973676d4208",
          "ct" : "1a104a2de459a3aa9f7b501438b120602de27a8d259ae4f58ef50294",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 23,
          "comment" : "small plaintext size",
          "key" : "aa6285693fc40a59ebc2bdab16f1e9111ec794ce5ec63b8f89fafe1b7fedfacf",
          "aad" : "009002fcf132820ad3838938",
          "msg" : "9e9813cd498166220bd0d49da9",
          "ct" : "3d8175b843301690089b8aa54136d698ccd3d88a5d02a3a65f2b115b00",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 24,
          "comment" : "small plaintext size",
          "key" : "18a4688da2ad1e112ea56ef6da9107e0f1094eeed3f6b868202952d56e0f8239",
          "aad" : "52dfc32bab8bc1502d18a334",
          "msg" : "2e7a1b4c808c1cf4e64e8c5ce54f",
          "ct" : "9fc042a08918741e2b7beab9cd79d7626214d8960091cf305256e549ee36",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 25,
          "comment" : "small plaintext size",
          "key" : "95b330aa5fffa6c0e29fd6fa0debdcb9cf6b448820bea24875089ec8ca5a2387",
          "aad" : "4dbf5c20ce4caeedfefcae1d",
          "msg" : "c96596ebba6f89761b9d14dfcc8fb4",
          "ct" : "91a7f5c4585351b8b76d4a4836a3199aa761e5f9ee1cdd84258a6a3696f7e9",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 26,
          "comment" : "plaintext size > 16",
          "key" : "b3b7c2c6d3d80918218afcd8bf2a71cf0220e2e8084ead8ba1abfb893ae36d40",
          "aad" : "a5c2f6cf309f29c25f5ce35d",
          "msg" : "dbcf98254157727c35f367fe6e15a2d089",
          "ct" : "96bf5dd0c28dbd6072b70e2b5b72d3eb9f41adc6d5d877e808fbf15ed4117b5007",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 27,
          "comment" : "plaintext size > 16",
          "key" : "2700a20ef5c3eb4df123568d0df042c35d32b42437efb1032a6a1fe5359767cc",
          "aad" : "e40e09fea86442dcf2cd176d",
          "msg" : "3de21865217c94c4f82208ccd62ad57f13ba1f5e",
          "ct" : "be366ca76d9afe36c7d017c1221e1be41a594e1d853574c06d235775b71cc0b56a7da631",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 28,
          "comment" : "plaintext size > 16",
          "key" : "cc5d599aecbed35bb4e13a2f79586dfe42e6382e8fa8326b674f34716d6376f2",
          "aad" : "34eafb781863d85649f8c9b0",
          "msg" : "8a69fb2ab53b995daf2cd43fc316690f71e171ffc5ab84f68bae3c038a9fd7",
          "ct" : "73fb501f903d90c35039c065563a0b8f274610f05b8d988a193460658d325a255e808847f3faf937e0354a93201ab0",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 29,
          "comment" : "plaintext size > 16",
          "key" : "71a7adc7222f471c28f682c12d45feed45556000a986035922924ad154ba5fa5",
          "aad" : "46a65672d2699267ab27da82",
          "msg" : "227e714e3efa84e48049142edaa311dab285407f9b628b146f1d6132c2500ca28497fbd6e386679c",
          "ct" : "b30ec3b9c85402c356728391acf04fcc0d02ba85b6a9e90cf846155d4ab3158952bd1791885370bf23ba26d8d23359637b6e24e8763ed107",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 30,
          "comment" : "plaintext size > 16",
          "key" : "83bc39bf7b5faaf0f9223ed2aa761ab32c04993e3fbccd34ee616ffd28ce5766",
          "aad" : "ed9ec561ecf5e289a1516c9f",
          "msg" : "f70ef1598f403902dcab4cc23bb1265f34e825b99abc61b26a22b9bbf478c3c1e61e67e98201bc564d022b87b4106aad0c4ca2d30e8927fba5b52a76971ef79a92a1eb6cf4ef87aea6b551567a2c4c41",
          "ct" : "fafea55bba0680a510ce095d5c8a40a84a76071b8938dcfe99c8c73b049230ac52df7e09769852a6057353a7df7b8d18882ce5369c6bb855f271d88108719a1b5ea5765f549c282639c8bfacc34b5b10991b8fbdae2e42429fb7f0554e0e5611",
          "result" : "valid",
          "flags" : []
        },
        {
          "tcId" : 31,
          "comment" : "edge case SIV",
          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
          "aad" : "",
          "msg" : "1d7f9cc81b316c518efcd7927e8f7b88",
          "ct" : "00000000000000000000000000000000f0dcac3115ddbd3d8ec28822e54088d0",
          "result" : "valid",
          "flags" : [
            "EdgeCaseSiv"
          ]
        },
        {
          "tcId" : 32,
          "comment" : "edge case SIV",
          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
          "aad" : "000102030405060708090a0b0c0d0e0f",
          "msg" : "f16d4958e933778c54aabcd6fda1cabc",
          "ct" : "000000000000000000000000000000001cce79a1e7dfa6e05494e366666e39e4",
          "result" : "valid",
          "flags" : [
            "EdgeCaseSiv"
          ]
        },
        {
          "tcId" : 33,
          "comment" : "edge case SIV",
          "key" : "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
          "aad" : "",
          "msg" : "110d3aa6f558c30977870672804064e0",
          "ct" : "ffffffffffffffffffffffffffffffff01f74b8e43a262001d8357f95489432e",
          "result" : "valid",
          "flags" : [
Loading ...