{
  "id": "2011/649",
  "url": "https://opencryptology.org/2011/649",
  "original_url": "https://eprint.iacr.org/2011/649",
  "title": "On the Security of NMAC and Its Variants",
  "authors": [
    "Fanbao Liu",
    "Changxiang Shen",
    "Tao Xie",
    "Dengguo Feng"
  ],
  "affiliations": null,
  "abstract": "We first propose a general equivalent key recovery attack to a $H^2$-MAC\nvariant NMAC$_1$, which is also provable secure, by applying a generalized birthday attack. Our\nresult shows that NMAC$_1$, even instantiated with a secure Merkle-Damgård hash function, is\nnot secure. We further show that this equivalent key recovery attack to NMAC$_1$\nis also applicable to NMAC for recovering the equivalent inner key of NMAC, in a related key\nsetting. We propose and analyze a series of NMAC variants with different secret approaches and\nkey distributions, we find that a variant NMAC-E, with secret envelop approach, can withstand\nmost of the known attacks in this paper. However, all variants including NMAC itself, are vulnerable\nto on-line birthday attack for verifiable forgery. Hence, the underlying cryptographic hash functions,\nbased on Merkle-Damgård construction, should be re-evaluated seriously.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On the Security of NMAC and Its Variants” by Fanbao Liu, Changxiang Shen, Tao Xie, Dengguo Feng, Cryptology ePrint Archive, Paper 2011/649, https://eprint.iacr.org/2011/649. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2011-12-09T20:46:11Z",
    "updated": "2011-12-09T20:46:11Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2011/649.pdf",
    "sha256": "0693421719eaf70765d1b8ad3cfda94b0c87c7093d8edc26293901d90cdd01f9",
    "size": 326195,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:30:01Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2011/649/versions/20190225T163001Z.pdf",
      "captured_at": "2019-02-25T16:30:01Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2011/649.pdf",
      "size": 326195,
      "sha256": "0693421719eaf70765d1b8ad3cfda94b0c87c7093d8edc26293901d90cdd01f9",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260415051756id_/https://eprint.iacr.org/2011/649.pdf",
      "captured_at": "2026-04-15T05:17:56Z",
      "size": 306112
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2011/649.pdf",
      "captured_at": "2019-02-25T16:30:01Z",
      "size": 326195
    }
  ],
  "bibtex": "@misc{cryptoeprint:2011/649,\n      author = {Fanbao Liu and Changxiang Shen and Tao Xie and Dengguo Feng},\n      title = {On the Security of NMAC and Its Variants},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2011/649},\n      year = {2011},\n      url = {https://eprint.iacr.org/2011/649}\n}"
}
