{
  "id": "2011/202",
  "url": "https://opencryptology.org/2011/202",
  "original_url": "https://eprint.iacr.org/2011/202",
  "title": "Cycling Attacks on GCM, GHASH and Other Polynomial MACs and Hashes",
  "authors": [
    "Markku-Juhani O. Saarinen"
  ],
  "affiliations": null,
  "abstract": "The Galois/Counter Mode (GCM) of operation has been standardized\nby NIST to provide single-pass authenticated encryption.\nThe GHASH authentication component of GCM belongs to a\nclass of Wegman-Carter polynomial hashes that operate\nin the field $\\mathrm{GF}(2^{128})$. We present message forgery attacks\nthat are made possible by its extremely smooth-order multiplicative\ngroup which splits into 512 subgroups. GCM uses the same block cipher key\n$K$ to both encrypt data and to derive the generator $H$ of the\nauthentication polynomial for GHASH. In present literature, only the\ntrivial weak key $H=0$ has been considered. We show that GHASH has\nmuch wider classes of weak keys in its 512 multiplicative subgroups,\nanalyze some of their properties, and give experimental results\non AES-GCM weak key search. Our attacks can be used not only to\nbypass message authentication with garbage but also to target\nspecific plaintext bits if a polynomial MAC is used in conjunction\nwith a stream cipher. These attacks can also be applied with\nvarying efficiency to other polynomial hashes and MACs, depending on\ntheir field properties. Our findings show that especially the use of\nshort polynomial-evaluation MACs should be avoided\nif the underlying field has a smooth multiplicative order.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Cycling Attacks on GCM, GHASH and Other Polynomial MACs and Hashes” by Markku-Juhani O. Saarinen, Cryptology ePrint Archive, Paper 2011/202, https://eprint.iacr.org/2011/202. 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-04-25T19:29:37Z",
    "updated": "2012-03-16T20:11:04Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2011/202.pdf",
    "sha256": "67dd0de45ac4f13bf27d531f2a3a7c1fdfd54a8c6bc3122da5fa71a7ac5c8583",
    "size": 325736,
    "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/202/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/202.pdf",
      "size": 325736,
      "sha256": "67dd0de45ac4f13bf27d531f2a3a7c1fdfd54a8c6bc3122da5fa71a7ac5c8583",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2011/202/versions/20111206T143746Z.pdf",
      "captured_at": "2011-12-06T14:37:46Z",
      "label": "copy captured 2011-12-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20111206143746id_/http://eprint.iacr.org/2011/202.pdf",
      "size": 243527,
      "sha256": "d8a7a598fb453b43970dfd1dba728ed9f00787d1aceafb874baf06b8a97863f3",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2011/202/versions/20111005T041443Z.pdf",
      "captured_at": "2011-10-05T04:14:43Z",
      "label": "copy captured 2011-10-05",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20111005041443id_/http://eprint.iacr.org:80/2011/202.pdf",
      "size": 228535,
      "sha256": "dbc1f19f6f22d8be6fd137385f17a266cef5e229ba74dc93db01750aba849abc",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260311004436id_/https://eprint.iacr.org/2011/202.pdf",
      "captured_at": "2026-03-11T00:44:36Z",
      "size": 327022
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2011/202.pdf",
      "captured_at": "2019-02-25T16:30:01Z",
      "size": 325736
    }
  ],
  "bibtex": "@misc{cryptoeprint:2011/202,\n      author = {Markku-Juhani O. Saarinen},\n      title = {Cycling Attacks on GCM, GHASH and Other Polynomial MACs and Hashes},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2011/202},\n      year = {2011},\n      url = {https://eprint.iacr.org/2011/202}\n}"
}
