{
  "id": "2026/2918",
  "url": "https://opencryptology.org/2026/2918",
  "original_url": "https://eprint.iacr.org/2026/2918",
  "title": "Nonlinear Invariant Attacks on Full CRAFT: Chosen-Tweak Key Recovery",
  "authors": [
    "Roberto Civino"
  ],
  "affiliations": null,
  "abstract": "A nonlinear invariant is a Boolean function of the state that every round preserves, up to a constant, for a class of keys. It then relates plaintext and ciphertext with correlation one, whatever the number of rounds. Finding one is in general a problem about the whole state.\n\nWe study a family of invariants of the tweakable block cipher CRAFT for which this problem splits into independent pieces. Each function reads half of the state linearly and the other half through components of the S-box, one nibble at a time, so that the condition for a round to preserve it becomes one small condition per S-box, read once from the algebraic normal form of the S-box. The family can therefore be analysed by hand and enumerated by computer.\n\nThe simplest member uses a single quadratic component of the S-box and survives all thirty-two rounds on a class of $2^{108}$ keys. Allowing cubic components and a pattern that alternates between even and odd rounds yields an invariant that survives all thirty-two rounds for half of all keys, with suitably chosen tweaks. Both classes are determined exactly, and a computer classification shows that none in the family is larger. Since the conditions are periodic with the tweakey, these invariants pass any number of rounds, not only the thirty-two of CRAFT, so increasing the round count would not remove them.\n\nThe invariants give key recovery. Almost every key of CRAFT satisfies a great many of them at once, and the classification yields a library of hundreds of thousands. Running the library against an unknown key and collecting the linear relations each invariant reveals recovers, for essentially every key, an average of 61.3 of the 64 low key bits with about $2^{14.5}$ chosen-tweak queries and negligible time. Over a sample of 5000 random keys every one was broken, the remaining search staying below the 124-bit security claim in every case. All programs and data that reproduce these results are available in a public repository.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Nonlinear Invariant Attacks on Full CRAFT: Chosen-Tweak Key Recovery” by Roberto Civino, Cryptology ePrint Archive, Paper 2026/2918, https://eprint.iacr.org/2026/2918. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-11-16T20:21:12Z",
    "updated": "2026-11-22T17:46:09Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/2918.pdf",
    "sha256": "d597e985e226a9c216e00399e285f028ddf955247f844bafcd4605dda4d70d42",
    "size": 647849,
    "source": "upload",
    "source_date": "2026-11-23T07:17:01.116Z",
    "maybe_stale": false,
    "newer_on_eprint": false,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/2918/versions/20261123T071701Z.pdf",
      "captured_at": "2026-11-23T07:17:01.116Z",
      "label": "copy captured 2026-11-23",
      "source": "upload",
      "source_url": null,
      "size": 647849,
      "sha256": "d597e985e226a9c216e00399e285f028ddf955247f844bafcd4605dda4d70d42",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2026/2918/versions/20261122T033104Z.pdf",
      "captured_at": "2026-11-22T03:31:04.010Z",
      "label": "copy captured 2026-11-22",
      "source": "upload",
      "source_url": null,
      "size": 648084,
      "sha256": "bbf2c52f386fa4ebad196815a959a6a6a0421814505212abac119b6a97d06553",
      "is_default_pdf": false
    }
  ],
  "other_sources": [],
  "bibtex": "@misc{cryptoeprint:2026/2918,\n      author = {Roberto Civino},\n      title = {Nonlinear Invariant Attacks on Full CRAFT: Chosen-Tweak Key Recovery},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2918},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/2918}\n}"
}
