{
  "id": "2022/1234",
  "url": "https://opencryptology.org/2022/1234",
  "original_url": "https://eprint.iacr.org/2022/1234",
  "title": "Towards Tight Security Bounds for OMAC, XCBC and TMAC",
  "authors": [
    "Soumya Chattopadhyay",
    "Ashwin Jha",
    "Mridul Nandi"
  ],
  "affiliations": null,
  "abstract": "OMAC --- a single-keyed variant of CBC-MAC by Iwata and Kurosawa --- is a widely used and standardized (NIST FIPS 800-38B, ISO/IEC 29167-10:2017) message authentication code (MAC) algorithm. The best security bound for OMAC is due to Nandi who proved that OMAC's pseudorandom function (PRF) advantage is upper bounded by $ O(q^2\\ell/2^n) $, where $ n $, $ q $, and $ \\ell $, denote the block size of the underlying block cipher, the number of queries, and the maximum permissible query length (in terms of $ n $-bit blocks), respectively. In contrast, there is no attack with matching lower bound. Indeed, the best known attack on OMAC is the folklore birthday attack achieving a lower bound of $ \\Omega(q^2/2^n) $. In this work, we close this gap for a large range of message lengths. Specifically, we show that OMAC's PRF security is upper bounded by $ O(q^2/2^n + q\\ell^2/2^n)$. In practical terms, this means that for a $ 128 $-bit block cipher, and message lengths up to $ 64 $ Gigabyte, OMAC can process up to $ 2^{64} $ messages before rekeying (same as the birthday bound). In comparison, the previous bound only allows $ 2^{48} $  messages. As a side-effect of our proof technique, we also derive similar tight security bounds for XCBC (by Black and Rogaway) and TMAC (by Kurosawa and Iwata). As a direct consequence of this work, we have established tight security bounds (in a wide range of $\\ell$) for all the CBC-MAC variants, except for the original CBC-MAC.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Towards Tight Security Bounds for OMAC, XCBC and TMAC” by Soumya Chattopadhyay, Ashwin Jha, Mridul Nandi, Cryptology ePrint Archive, Paper 2022/1234, https://eprint.iacr.org/2022/1234. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-09-17T14:57:43Z",
    "updated": "2022-09-17T14:57:43Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1234.pdf",
    "sha256": "8588ee3f9dc3f9e8b22b2de32a31dccc94c117f73f870e4c299f376287359ccc",
    "size": 919402,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1234/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1234.pdf",
      "size": 919402,
      "sha256": "8588ee3f9dc3f9e8b22b2de32a31dccc94c117f73f870e4c299f376287359ccc",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260505114005id_/https://eprint.iacr.org/2022/1234.pdf",
      "captured_at": "2026-05-05T11:40:05Z",
      "size": 863962
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1234.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 919402
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1234,\n      author = {Soumya Chattopadhyay and Ashwin Jha and Mridul Nandi},\n      title = {Towards Tight Security Bounds for OMAC, XCBC and TMAC},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1234},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1234}\n}"
}
