{
  "id": "midori-64",
  "name": "Midori64",
  "family_id": "midori",
  "description": "Midori variant with a 64-bit block, 128-bit key, 4-bit S-box (Sb0), and 16 rounds. Admits full-round invariant subspace and nonlinear invariant attacks on large weak-key classes (2^32 and 2^64 keys out of 2^128).",
  "status": "weakened",
  "parameters": {
    "block_bits": 64,
    "key_bits": 128,
    "rounds": 16,
    "sbox_bits": 4
  },
  "references": [
    {
      "title": "Midori: A Block Cipher for Low Energy (Extended Version)",
      "url": "https://eprint.iacr.org/2015/1142",
      "authors": [
        "Subhadeep Banik",
        "Andrey Bogdanov",
        "Takanori Isobe",
        "Kyoji Shibutani",
        "Harunaga Hiwatari",
        "Toru Akishita",
        "Francesco Regazzoni"
      ],
      "eprint_id": "2015/1142",
      "quote_location": "Section 2 (Midori64 specification)"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "midori-64-lin-2015-mitm",
      "target_id": "midori-64",
      "title": "12-round meet-in-the-middle attack on Midori64",
      "goal": "key-recovery",
      "attack_family": "meet-in-the-middle",
      "setting": "Single-key full-key-space model using a 7-round MITM distinguisher",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2015-12-05",
      "authors": [
        "Li Lin",
        "Wenling Wu"
      ],
      "references": [
        {
          "title": "Meet-in-the-Middle Attacks on Reduced-Round Midori-64",
          "url": "https://eprint.iacr.org/2015/1165",
          "authors": [
            "Li Lin",
            "Wenling Wu"
          ],
          "eprint_id": "2015/1165",
          "quote_location": "Abstract and Section 4 (12-round key-recovery complexity)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "preprint",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "symmetric_rounds",
        "rounds_attacked": 12,
        "total_rounds": 16,
        "log2_data": 55.5,
        "log2_time": 125.5,
        "log2_memory": 106,
        "time_unit": "12-round Midori64 encryptions"
      },
      "notes": "Memory measured in 64-bit blocks; covers the full 128-bit key space without weak-key restrictions."
    },
    {
      "id": "midori-64-guo-2015-invariant",
      "target_id": "midori-64",
      "title": "Full 16-round invariant subspace attack on Midori64 (weak-key class)",
      "goal": "key-recovery",
      "attack_family": "invariant-subspace",
      "setting": "Weak-key class of 2^32 keys (2^-96 of the 2^128 key space); probability-1 nibble subspace invariant",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2015-12-16",
      "authors": [
        "Jian Guo",
        "Jérémy Jean",
        "Ivica Nikolić",
        "Kexin Qiao",
        "Yu Sasaki",
        "Siang Meng Sim"
      ],
      "references": [
        {
          "title": "Invariant Subspace Attack Against Full Midori64",
          "url": "https://eprint.iacr.org/2015/1189",
          "authors": [
            "Jian Guo",
            "Jérémy Jean",
            "Ivica Nikolić",
            "Kexin Qiao",
            "Yu Sasaki",
            "Siang Meng Sim"
          ],
          "eprint_id": "2015/1189",
          "quote_location": "Abstract and Section 3 (2^32 weak keys, 2^1 data, 2^16 time key recovery)"
        },
        {
          "title": "Invariant Subspace Attack Against Midori64 and The Resistance Criteria for S-box Designs",
          "url": "https://eprint.iacr.org/2016/973",
          "authors": [
            "Jian Guo",
            "Jérémy Jean",
            "Ivica Nikolić",
            "Kexin Qiao",
            "Yu Sasaki",
            "Siang Meng Sim"
          ],
          "eprint_id": "2016/973"
        }
      ],
      "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": 16,
        "total_rounds": 16,
        "log2_data": 1,
        "log2_time": 16,
        "time_unit": "full-round Midori64 evaluations (conditional on weak key)",
        "success_prob": 1
      },
      "notes": "Distinguishing succeeds with a single query; conditional key recovery takes 2^16 time over the 2^32 weak-key class, lowering PRP security from 128 to 96 bits. Todo, Leander, and Sasaki (ePrint 2016/732, ASIACRYPT 2016) later expanded the weak-key class to 2^64 keys via nonlinear invariants."
    }
  ],
  "frontiers": [
    {
      "id": "midori-64-full-keyspace-vs-weak-key",
      "target_id": "midori-64",
      "title": "Closing the full-keyspace gap beyond 12 rounds vs. nonlinear invariants",
      "description": "In the full 128-bit key space, single-key MITM attacks reach 12 of 16 rounds. In the weak-key setting, invariant subspace (2^32 keys) and nonlinear invariant attacks (2^64 keys, Todo et al. 2016/732) break all 16 rounds with probability 1; extending zero-restriction attacks to 13-16 rounds remains open.",
      "references": [
        {
          "title": "Nonlinear Invariant Attack — Practical Attack on Full SCREAM, iSCREAM, and Midori64",
          "url": "https://eprint.iacr.org/2016/732",
          "authors": [
            "Yosuke Todo",
            "Gregor Leander",
            "Yu Sasaki"
          ],
          "eprint_id": "2016/732",
          "quote_location": "ASIACRYPT 2016; Section 5 (2^64 weak keys on full Midori64)"
        },
        {
          "title": "Meet-in-the-Middle Attacks on Reduced-Round Midori-64",
          "url": "https://eprint.iacr.org/2015/1165",
          "authors": [
            "Li Lin",
            "Wenling Wu"
          ],
          "eprint_id": "2015/1165"
        }
      ]
    }
  ],
  "dead_ends": [
    {
      "id": "midori-64-binary-round-constants-and-sbox-invariants",
      "target_id": "midori-64",
      "title": "Vulnerability of binary-nibble round constants and involutive Sb0 to invariants",
      "description": "Using a single involutive 4-bit S-box (Sb0) together with round constants restricted to 0/1 nibble values fails to destroy affine and quadratic subspace invariants across all 16 rounds, establishing S-box and round-constant resistance criteria against invariant attacks.",
      "scope": "Full-round Midori64 key-schedule and round-constant structure.",
      "references": [
        {
          "title": "Invariant Subspace Attack Against Midori64 and The Resistance Criteria for S-box Designs",
          "url": "https://eprint.iacr.org/2016/973",
          "authors": [
            "Jian Guo",
            "Jérémy Jean",
            "Ivica Nikolić",
            "Kexin Qiao",
            "Yu Sasaki",
            "Siang Meng Sim"
          ],
          "eprint_id": "2016/973",
          "quote_location": "ToSC 2016(1); S-box resistance criteria against invariant subspaces"
        }
      ],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      }
    }
  ]
}
