{
  "id": "2025/550",
  "url": "https://opencryptology.org/2025/550",
  "original_url": "https://eprint.iacr.org/2025/550",
  "title": "Exact Formula for RX-Differential Probability through Modular Addition for All Rotations",
  "authors": [
    "Alex Biryukov",
    "Baptiste Lambin",
    "Aleksei Udovenko"
  ],
  "affiliations": null,
  "abstract": "This work presents an exact and compact formula for the probability of rotation-xor differentials (RX-differentials) through modular addition, for arbitrary rotation amounts, which has been a long-standing open problem. The formula comes with a rigorous proof and is also verified by extensive experiments.\n\nOur formula uncovers error in a recent work from 2022 proposing a formula for rotation amounts bigger than 1. Surprisingly, it also affects correctness of the more studied and used formula for the rotation amount equal to 1 (from TOSC 2016). Specifically, it uncovers rare cases where the assumptions of this formula do not hold. Correct formula for arbitrary rotations now opens up a larger search space where one can often find better trails.\n\nFor applications, we propose automated mixed integer linear programming (MILP) modeling techniques for searching optimal RX-trails based on our exact formula. They are consequently applied to several ARX designs, including Salsa, Alzette and a small-key variant of Speck, and yield many new RX-differential distinguishers, some of them based on provably optimal trails. In order to showcase the relevance of the RX-differential analysis, we also design Malzette, a 12-round Alzette-based permutation with maliciously chosen constants, which has a practical RX-differential distinguisher, while standard differential/linear security arguments suggest sufficient security.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Exact Formula for RX-Differential Probability through Modular Addition for All Rotations” by Alex Biryukov, Baptiste Lambin, Aleksei Udovenko, Cryptology ePrint Archive, Paper 2025/550, https://eprint.iacr.org/2025/550. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-03-25T11:53:37Z",
    "updated": "2025-03-26T20:02:23Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/550.pdf",
    "sha256": "0a2576a2a12bd856ace8dad08499f69dd67cfa655f3f1564ee8369400b424db0",
    "size": 850606,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/550/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/550.pdf",
      "size": 850606,
      "sha256": "0a2576a2a12bd856ace8dad08499f69dd67cfa655f3f1564ee8369400b424db0",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/550.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 850606
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260305121900id_/https://eprint.iacr.org/2025/550.pdf",
      "captured_at": "2026-03-05T12:19:00Z",
      "size": 826573
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/550,\n      author = {Alex Biryukov and Baptiste Lambin and Aleksei Udovenko},\n      title = {Exact Formula for RX-Differential Probability through Modular Addition for All Rotations},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/550},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/550}\n}"
}
