{
  "id": "khazad-64",
  "name": "Khazad",
  "family_id": "khazad",
  "description": "Khazad with a 64-bit block, 128-bit key and 8 rounds of an involutional SPN (involutional S-box and MDS diffusion layer). Deprecated: the 64-bit block makes long CBC sessions vulnerable to Sweet32 (2^32 blocks, ~32 GB); the best shortcut attacks reach 6 of 8 rounds (multiset-algebraic; weak keys with 2^32 CP and 2^43 S-box lookups).",
  "status": "deprecated",
  "parameters": {
    "block_bits": 64,
    "key_bits": 128,
    "rounds": 8,
    "structure": "Involutional SPN (Rijndael-style, MDS diffusion)",
    "standard": "NESSIE submission (2000)"
  },
  "references": [
    {
      "title": "The KHAZAD Legacy-Level Block Cipher",
      "url": "https://www.cosic.esat.kuleuven.be/nessie/",
      "authors": [
        "Paulo S. L. M. Barreto",
        "Vincent Rijmen"
      ],
      "quote_location": "NESSIE submission (2000), 64-bit block, 128-bit key, 8-round involutional SPN"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "khazad-64-bhargavan-leurent-2016-sweet32",
      "target_id": "khazad-64",
      "title": "Sweet32 birthday collision attack on 64-bit CBC sessions (2^32 blocks)",
      "goal": "plaintext-recovery",
      "attack_family": "birthday-collision",
      "setting": "Birthday-bound collision attack on long-lived CBC sessions using a 64-bit block cipher, recovering plaintext after about 2^32 blocks (~32 GB)",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2016-10-24",
      "authors": [
        "Karthikeyan Bhargavan",
        "Gaëtan Leurent"
      ],
      "references": [
        {
          "title": "On the Practical (In-)Security of 64-bit Block Ciphers: Collision Attacks on HTTP over TLS and OpenVPN",
          "url": "https://doi.org/10.1145/2976749.2978423",
          "authors": [
            "Karthikeyan Bhargavan",
            "Gaëtan Leurent"
          ],
          "eprint_id": "2016/798",
          "doi": "10.1145/2976749.2978423",
          "quote_location": "ACM CCS 2016 / ePrint 2016/798"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "symmetric_rounds",
        "rounds_attacked": 8,
        "total_rounds": 8,
        "log2_data": 32,
        "log2_time": 32,
        "time_unit": "64-bit CBC block birthday collisions (~32 GB)"
      },
      "notes": "A generic mode-of-operation attack on any 64-bit block cipher, not a weakness of the Khazad round function; it is the reason for the deprecated status. Date approximates the ACM CCS 2016 conference."
    },
    {
      "id": "khazad-64-biryukov-2016-6r-multiset-algebraic",
      "target_id": "khazad-64",
      "title": "6-round multiset-algebraic cryptanalysis of Khazad",
      "goal": "key-recovery",
      "attack_family": "multiset-algebraic",
      "setting": "Multiset-algebraic cryptanalysis exploiting the structure of Khazad's involutional components, reaching 6 of 8 rounds",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2016-06-01",
      "authors": [
        "Alex Biryukov",
        "Dmitry Khovratovich",
        "Léo Perrin"
      ],
      "references": [
        {
          "title": "Multiset-Algebraic Cryptanalysis of Reduced Kuznyechik, Khazad, and secret SPNs",
          "url": "https://doi.org/10.13154/tosc.v2016.i2.226-247",
          "authors": [
            "Alex Biryukov",
            "Dmitry Khovratovich",
            "Léo Perrin"
          ],
          "eprint_id": "2015/646",
          "doi": "10.13154/tosc.v2016.i2.226-247",
          "quote_location": "ToSC 2016(2) / ePrint 2015/646"
        },
        {
          "title": "The KHAZAD Legacy-Level Block Cipher",
          "url": "https://www.cosic.esat.kuleuven.be/nessie/",
          "authors": [
            "Paulo S. L. M. Barreto",
            "Vincent Rijmen"
          ],
          "quote_location": "NESSIE submission (2000), 64-bit block, 128-bit key, 8-round involutional SPN"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "symmetric_rounds",
        "rounds_attacked": 6,
        "total_rounds": 8,
        "log2_time": 128,
        "time_unit": "Khazad encryptions (conservative exhaustive-search upper bound)"
      },
      "notes": "log2_time: 128 is a conservative exhaustive-search upper bound; the exact data / time figures were not transcribed. Date approximates the ToSC 2016(2) issue."
    },
    {
      "id": "khazad-64-muller-2003-5r-integral",
      "target_id": "khazad-64",
      "title": "5-round integral / multiset key recovery on Khazad",
      "goal": "key-recovery",
      "attack_family": "integral",
      "setting": "Integral (multiset) key recovery on 5 of 8 Khazad rounds with 2^64 known plaintexts and 2^91 time",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2003-11-30",
      "authors": [
        "Frédéric Muller"
      ],
      "references": [
        {
          "title": "A New Attack against Khazad",
          "url": "https://doi.org/10.1007/978-3-540-40961-0_22",
          "authors": [
            "Frédéric Muller"
          ],
          "doi": "10.1007/978-3-540-40961-0_22",
          "quote_location": "ASIACRYPT 2003"
        },
        {
          "title": "The KHAZAD Legacy-Level Block Cipher",
          "url": "https://www.cosic.esat.kuleuven.be/nessie/",
          "authors": [
            "Paulo S. L. M. Barreto",
            "Vincent Rijmen"
          ],
          "quote_location": "NESSIE submission (2000), 64-bit block, 128-bit key, 8-round involutional SPN"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "symmetric_rounds",
        "rounds_attacked": 5,
        "total_rounds": 8,
        "log2_data": 64,
        "log2_time": 91,
        "time_unit": "Khazad encryptions"
      },
      "notes": "Uses the full 2^64 known-plaintext codebook. Memory was not transcribed. Date approximates ASIACRYPT 2003."
    },
    {
      "id": "khazad-64-burov-pogorelov-2016-6r-weak-key",
      "target_id": "khazad-64",
      "title": "6-round weak-key attack on Khazad",
      "goal": "key-recovery",
      "attack_family": "weak-key",
      "setting": "Weak-key key recovery on 6 of 8 Khazad rounds with 2^32 chosen plaintexts and 2^43 S-box lookups, valid only for a class of weak keys",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2016-01-01",
      "authors": [
        "Burov",
        "Pogorelov"
      ],
      "references": [
        {
          "title": "6-round weak-key attack on Khazad (Burov–Pogorelov, Mat. Vopr. Kriptogr. 2016)",
          "url": "https://doi.org/10.4213/mvk181",
          "authors": [
            "Burov",
            "Pogorelov"
          ],
          "doi": "10.4213/mvk181",
          "quote_location": "Matematicheskie Voprosy Kriptografii 2016"
        },
        {
          "title": "The KHAZAD Legacy-Level Block Cipher",
          "url": "https://www.cosic.esat.kuleuven.be/nessie/",
          "authors": [
            "Paulo S. L. M. Barreto",
            "Vincent Rijmen"
          ],
          "quote_location": "NESSIE submission (2000), 64-bit block, 128-bit key, 8-round involutional SPN"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "symmetric_rounds",
        "rounds_attacked": 6,
        "total_rounds": 8,
        "log2_data": 32,
        "log2_time": 43,
        "time_unit": "S-box lookups (weak-key class only)"
      },
      "notes": "Applies only to a weak-key class (its size was not transcribed). Given names are not transcribed for Burov and Pogorelov; the reference title is descriptive. Date approximates the 2016 volume."
    }
  ],
  "frontiers": [
    {
      "id": "khazad-64-beyond-6-rounds",
      "target_id": "khazad-64",
      "title": "Shortcut attacks on 7 or more rounds of Khazad",
      "description": "The best indexed shortcut attacks reach 6 of 8 rounds (multiset-algebraic; weak keys only). Whether any attack faster than exhaustive search reaches 7 or 8 rounds of Khazad for all keys remains open.",
      "references": [
        {
          "title": "Multiset-Algebraic Cryptanalysis of Reduced Kuznyechik, Khazad, and secret SPNs",
          "url": "https://doi.org/10.13154/tosc.v2016.i2.226-247",
          "authors": [
            "Alex Biryukov",
            "Dmitry Khovratovich",
            "Léo Perrin"
          ],
          "eprint_id": "2015/646",
          "doi": "10.13154/tosc.v2016.i2.226-247",
          "quote_location": "ToSC 2016(2) / ePrint 2015/646"
        },
        {
          "title": "6-round weak-key attack on Khazad (Burov–Pogorelov, Mat. Vopr. Kriptogr. 2016)",
          "url": "https://doi.org/10.4213/mvk181",
          "authors": [
            "Burov",
            "Pogorelov"
          ],
          "doi": "10.4213/mvk181",
          "quote_location": "Matematicheskie Voprosy Kriptografii 2016"
        },
        {
          "title": "A New Attack against Khazad",
          "url": "https://doi.org/10.1007/978-3-540-40961-0_22",
          "authors": [
            "Frédéric Muller"
          ],
          "doi": "10.1007/978-3-540-40961-0_22",
          "quote_location": "ASIACRYPT 2003"
        }
      ]
    }
  ],
  "dead_ends": [],
  "lifecycle_stage": "legacy"
}
