{
  "id": "2020/1145",
  "url": "https://opencryptology.org/2020/1145",
  "original_url": "https://eprint.iacr.org/2020/1145",
  "title": "Improved Security Analysis for Nonce-based Enhanced Hash-then-Mask MACs",
  "authors": [
    "Wonseok Choi",
    "Byeonghak Lee",
    "Yeongmin Lee",
    "Jooyoung Lee"
  ],
  "affiliations": null,
  "abstract": "In this paper, we prove that the nonce-based enhanced hash-then-mask MAC ($\\mathsf{nEHtM}$) is secure up to $2^{\\frac{3n}{4}}$ MAC queries and $2^n$ verification queries (ignoring logarithmic factors) as long as the number of faulty queries $\\mu$ is below $2^\\frac{3n}{8}$, significantly improving the previous bound by Dutta et al. Even when $\\mu$ goes beyond $2^{\\frac{3n}{8}}$, $\\mathsf{nEHtM}$ enjoys graceful degradation of security.\n\nThe second result is to prove the security of PRF-based $\\mathsf{nEHtM}$; when $\\mathsf{nEHtM}$ is based on an $n$-to-$s$ bit random function for a fixed size $s$ such that $1\\leq s\\leq n$, it is proved to be secure up to any number of MAC queries and $2^s$ verification queries, if (1) $s=n$ and $\\mu<2^{\\frac{n}{2}}$ or (2) $\\frac{n}{2}<s<2^{n-s}$ and $\\mu<\\max\\{2^{\\frac{s}{2}},2^{n-s}\\}$, or (3) $s\\leq \\frac{n}{2}$ and $\\mu<2^{\\frac{n}{2}}$. This result leads to the security proof of truncated $\\mathsf{nEHtM}$ that returns only $s$ bits of the original tag since a truncated permutation can be seen as a pseudorandom function. In particular, when $s\\leq\\frac{2n}{3}$, the truncated $\\mathsf{nEHtM}$ is secure up to $2^{n-\\frac{s}{2}}$ MAC queries and $2^s$ verification queries as long as $\\mu<\\min\\{2^{\\frac{n}{2}},2^{n-s}\\}$. For example, when $s=\\frac{n}{2}$ (resp. $s=\\frac{n}{4}$), the truncated $\\mathsf{nEHtM}$ is secure up to $2^{\\frac{3n}{4}}$ (resp. $2^{\\frac{7n}{8}}$) MAC queries. So truncation might provide better provable security than the original $\\mathsf{nEHtM}$ with respect to the number of MAC queries.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Improved Security Analysis for Nonce-based Enhanced Hash-then-Mask MACs” by Wonseok Choi, Byeonghak Lee, Yeongmin Lee, Jooyoung Lee, Cryptology ePrint Archive, Paper 2020/1145, https://eprint.iacr.org/2020/1145. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2020-09-21T08:29:12Z",
    "updated": "2020-09-21T08:29:12Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/1145.pdf",
    "sha256": "8ee9a1c2c68fd270099bb88f6e0298d53879e8d2beecae56192be602f7179443",
    "size": 605682,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/1145/versions/20240114T061314Z.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/1145.pdf",
      "size": 605682,
      "sha256": "8ee9a1c2c68fd270099bb88f6e0298d53879e8d2beecae56192be602f7179443",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260301043327id_/https://eprint.iacr.org/2020/1145.pdf",
      "captured_at": "2026-03-01T04:33:27Z",
      "size": 607003
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/1145.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 605682
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/1145,\n      author = {Wonseok Choi and Byeonghak Lee and Yeongmin Lee and Jooyoung Lee},\n      title = {Improved Security Analysis for Nonce-based Enhanced Hash-then-Mask MACs},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/1145},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/1145}\n}"
}
