{
  "id": "2023/299",
  "url": "https://opencryptology.org/2023/299",
  "original_url": "https://eprint.iacr.org/2023/299",
  "title": "Approximate Modeling of Signed Difference and Digraph based Bit Condition Deduction: New Boomerang Attacks on BLAKE",
  "authors": [
    "Yonglin Hao",
    "Qingju Wang",
    "Lin Jiao",
    "Xinxin Gong"
  ],
  "affiliations": null,
  "abstract": "The signed difference is a powerful tool for analyzing the Addition, XOR, Rotation (ARX) cryptographic primitives. Currently, solving the accurate model for the signed difference propagation is infeasible.\nWe propose an approximate MILP modeling method capturing the propagation rules of signed differences. Unlike the accurate signed difference model, the approximate model only focuses on active bits and ignores the possible bit conditions on inactive bits.\nTo overcome the negative effect of a lower accuracy arising from ignoring bit conditions on inactive bits, we propose an additional tool for deducing all bit conditions automatically.\nSuch a tool is based on a directed-graph capturing the whole computation process of ARX primitives by drawing links among intermediate words and operations.\nThe digraph is also applicable in the MILP model construction process:\nit enables us to identify the parameters upper bounding the number of bit conditions so as to define the objective function; it is further used to connect the boomerang top and bottom signed differential paths by introducing proper constraints to avoid incompatible intersections.\nBenefiting from the approximate model and the directed-graph based tool, the solving time of the new MILP model is significantly reduced,\nenabling us to deduce signed differential paths efficiently and accurately.\n\nTo show the utility of our method, we propose boomerang attacks on the keyed permutations of three ARX hash functions of BLAKE.\nFor the first time we mount an attack on the full 7 rounds of BLAKE3, with the complexity as low as $2^{180}$.\nOur best attack on BLAKE2s can improve the previously best result by 0.5 rounds but with lower complexity.\nThe attacks on BLAKE-256 cover the same 8 rounds with the previous best result but with complexity $2^{16}$ times lower.\nAll our results are verified practically with round-reduced boomerang quartets.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Approximate Modeling of Signed Difference and Digraph based Bit Condition Deduction: New Boomerang Attacks on BLAKE” by Yonglin Hao, Qingju Wang, Lin Jiao, Xinxin Gong, Cryptology ePrint Archive, Paper 2023/299, https://eprint.iacr.org/2023/299. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-02-28T10:32:29Z",
    "updated": "2023-02-28T10:32:29Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/299.pdf",
    "sha256": "d2e1de8fe019f4a6c0921cc5c8dced2de99257731ca6a3ef3071e5817729cff3",
    "size": 362320,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/299/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/299.pdf",
      "size": 362320,
      "sha256": "d2e1de8fe019f4a6c0921cc5c8dced2de99257731ca6a3ef3071e5817729cff3",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260224124702id_/https://eprint.iacr.org/2023/299.pdf",
      "captured_at": "2026-02-24T12:47:02Z",
      "size": 363617
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/299.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 362320
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/299,\n      author = {Yonglin Hao and Qingju Wang and Lin Jiao and Xinxin Gong},\n      title = {Approximate Modeling of Signed Difference and Digraph based Bit Condition Deduction: New Boomerang Attacks on BLAKE},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/299},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/299}\n}"
}
