{
  "id": "warp-128",
  "name": "WARP",
  "family_id": "warp",
  "description": "Lightweight 128-bit block cipher with a 128-bit key and 41 rounds using a 32-nibble Type-2 Generalized Feistel Network and 4-bit S-box.",
  "status": "intact",
  "parameters": {
    "block_bits": 128,
    "key_bits": 128,
    "rounds": 41,
    "branches": 32,
    "sbox_bits": 4
  },
  "references": [
    {
      "title": "WARP: Revisiting GFN for Lightweight 128-bit Block Cipher",
      "url": "https://eprint.iacr.org/2020/1320",
      "authors": [
        "Subhadeep Banik",
        "Zhenzhen Bao",
        "Takanori Isobe",
        "Hiroyasu Kubo",
        "Fukang Liu",
        "Kazuhiko Minematsu",
        "Kosei Sakamoto",
        "Nao Shibata",
        "Maki Shigeri"
      ],
      "eprint_id": "2020/1320",
      "quote_location": "SAC 2020; Section 2 (Specification of WARP)"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "warp-128-teh-2021-rect",
      "target_id": "warp-128",
      "title": "24-round rectangle attack on WARP",
      "goal": "key-recovery",
      "attack_family": "rectangle",
      "setting": "Single-key chosen-plaintext model using a 21-round boomerang distinguisher via FBCT",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2021-12-17",
      "authors": [
        "Je Sen Teh",
        "Alex Biryukov"
      ],
      "references": [
        {
          "title": "Differential Cryptanalysis of WARP",
          "url": "https://eprint.iacr.org/2021/1641",
          "authors": [
            "Je Sen Teh",
            "Alex Biryukov"
          ],
          "eprint_id": "2021/1641",
          "quote_location": "24-round rectangle key-recovery attack on WARP"
        }
      ],
      "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": 24,
        "total_rounds": 41,
        "log2_data": 26.06,
        "log2_time": 122.49,
        "log2_memory": 27.06,
        "time_unit": "24-round WARP encryptions"
      },
      "notes": "Later published in Journal of Information Security and Applications (2022). Memory measured in 128-bit blocks."
    },
    {
      "id": "warp-128-lallemand-2022-rect",
      "target_id": "warp-128",
      "title": "26-round rectangle attack on WARP",
      "goal": "key-recovery",
      "attack_family": "rectangle",
      "setting": "Single-key chosen-plaintext model using an automated 23-round boomerang distinguisher (prob. 2^-124)",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2022-06-01",
      "authors": [
        "Virginie Lallemand",
        "Marine Minier",
        "Loïc Rouquette"
      ],
      "references": [
        {
          "title": "Automatic Search of Rectangle Attacks on Feistel Ciphers: Application to WARP",
          "url": "https://doi.org/10.46586/tosc.v2022.i2.113-140",
          "authors": [
            "Virginie Lallemand",
            "Marine Minier",
            "Loïc Rouquette"
          ],
          "doi": "10.46586/tosc.v2022.i2.113-140",
          "quote_location": "IACR ToSC 2022(2), pp. 113-140 (26-round rectangle attack on WARP)"
        }
      ],
      "supersedes": [
        "warp-128-teh-2021-rect"
      ],
      "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": 26,
        "total_rounds": 41,
        "log2_data": 120.6,
        "log2_time": 115.9,
        "time_unit": "26-round WARP encryptions"
      },
      "notes": "Exploits WARP's post-S-box key addition in outer rounds; exact memory exponent omitted."
    },
    {
      "id": "warp-128-shi-2024-id",
      "target_id": "warp-128",
      "title": "32-round impossible differential attack on WARP",
      "goal": "key-recovery",
      "attack_family": "impossible-differential",
      "setting": "Single-key chosen-plaintext model using a 21-round truncated impossible differential",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2024-01-01",
      "authors": [
        "Jiali Shi",
        "Guoqiang Liu",
        "Chao Li"
      ],
      "references": [
        {
          "title": "Constructing the Impossible Differential of Type-II GFN with Boolean Function and Its Application to WARP",
          "url": "https://doi.org/10.23919/cje.2022.00.132",
          "authors": [
            "Jiali Shi",
            "Guoqiang Liu",
            "Chao Li"
          ],
          "doi": "10.23919/cje.2022.00.132",
          "quote_location": "Chinese Journal of Electronics, Vol. 33, Issue 1, pp. 80-89 (32-round WARP attack)"
        }
      ],
      "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": 32,
        "total_rounds": 41,
        "log2_data": 125.69,
        "log2_time": 126.68,
        "time_unit": "32-round WARP encryptions"
      },
      "notes": "Reported memory requirement is 2^100 bits; 9 rounds remain untouched out of 41."
    }
  ],
  "frontiers": [
    {
      "id": "warp-128-beyond-32-rounds",
      "target_id": "warp-128",
      "title": "Closing the 9-round margin beyond 32-round impossible differentials",
      "description": "Single-key impossible differential key recovery reaches 32 of 41 rounds at 2^125.69 chosen plaintexts and 2^126.68 time, while rectangle attacks reach 26 rounds. Extending any single-key attack beyond 33 rounds within 2^128 data and time remains open.",
      "references": [
        {
          "title": "Constructing the Impossible Differential of Type-II GFN with Boolean Function and Its Application to WARP",
          "url": "https://doi.org/10.23919/cje.2022.00.132",
          "authors": [
            "Jiali Shi",
            "Guoqiang Liu",
            "Chao Li"
          ],
          "doi": "10.23919/cje.2022.00.132",
          "quote_location": "Chinese Journal of Electronics, Vol. 33, Issue 1, pp. 80-89"
        },
        {
          "title": "Automatic Search of Rectangle Attacks on Feistel Ciphers: Application to WARP",
          "url": "https://doi.org/10.46586/tosc.v2022.i2.113-140",
          "authors": [
            "Virginie Lallemand",
            "Marine Minier",
            "Loïc Rouquette"
          ],
          "doi": "10.46586/tosc.v2022.i2.113-140"
        }
      ]
    }
  ],
  "dead_ends": [
    {
      "id": "warp-128-boomerang-probability-limit",
      "target_id": "warp-128",
      "title": "Boomerang probability saturation past 23 distinguisher rounds",
      "description": "Even though WARP places subkey addition after the S-box (making outer-round key recovery cheaper than pre-S-box placement), the 23-round boomerang distinguisher already decays to probability 2^-124, preventing single-key rectangle attacks from scaling close to 41 rounds.",
      "scope": "Single-key boomerang/rectangle distinguisher and key-recovery scaling on 41-round WARP.",
      "references": [
        {
          "title": "Automatic Search of Rectangle Attacks on Feistel Ciphers: Application to WARP",
          "url": "https://doi.org/10.46586/tosc.v2022.i2.113-140",
          "authors": [
            "Virginie Lallemand",
            "Marine Minier",
            "Loïc Rouquette"
          ],
          "doi": "10.46586/tosc.v2022.i2.113-140",
          "quote_location": "IACR ToSC 2022(2), pp. 113-140 (23-round boomerang distinguisher bound)"
        }
      ],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      }
    }
  ]
}
