{
  "id": "2013/407",
  "url": "https://opencryptology.org/2013/407",
  "original_url": "https://eprint.iacr.org/2013/407",
  "title": "Automated Security Proofs for Almost-Universal Hash for MAC verification",
  "authors": [
    "Martin Gagné",
    "Pascal Lafourcade",
    "Yassine Lakhnech"
  ],
  "affiliations": null,
  "abstract": "Message authentication codes (MACs) are an essential primitive in cryptography. They are used to ensure the integrity and authenticity of a message, and can also be used as a building block for larger schemes, such as chosen-ciphertext secure encryption, or identity-based encryption. MACs are often built in two steps: first, the `front end' of the MAC produces a short digest of the long message, then the `back end' provides a mixing step to make the output of the MAC unpredictable for an attacker. Our verification method follows this structure. We develop a Hoare logic for proving that the front end of the MAC is an almost-universal hash function. The programming language used to specify these functions is fairly expressive and can be used to describe many block-cipher and compression function-based MACs. We implemented this method into a prototype that can automatically prove the security of almost-universal hash functions. This prototype can prove the security of the front-end of many CBC-based MACs (DMAC, ECBC, FCBC and XCBC to name only a few), PMAC and HMAC. We then provide a list of options for the back end of the MAC, each consisting of only two or three instructions, each of which can be composed with an almost-universal hash function to obtain a secure MAC.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Automated Security Proofs for Almost-Universal Hash for MAC verification” by Martin Gagné, Pascal Lafourcade, Yassine Lakhnech, Cryptology ePrint Archive, Paper 2013/407, https://eprint.iacr.org/2013/407. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2013-06-25T15:50:50Z",
    "updated": "2013-06-25T15:50:50Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2013/407.pdf",
    "sha256": "d6d411a26ead910af4bd5d530d500191d43d35d89132393bc77fd735371f5e0b",
    "size": 432851,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:45:55Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2013/407/versions/20190225T164555Z.pdf",
      "captured_at": "2019-02-25T16:45:55Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2013/407.pdf",
      "size": 432851,
      "sha256": "d6d411a26ead910af4bd5d530d500191d43d35d89132393bc77fd735371f5e0b",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261002114521id_/https://eprint.iacr.org/2013/407.pdf",
      "captured_at": "2026-10-02T11:45:21Z",
      "size": 422829
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2013/407.pdf",
      "captured_at": "2019-02-25T16:45:55Z",
      "size": 432851
    }
  ],
  "bibtex": "@misc{cryptoeprint:2013/407,\n      author = {Martin Gagné and Pascal Lafourcade and Yassine Lakhnech},\n      title = {Automated Security Proofs for Almost-Universal Hash for MAC verification},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2013/407},\n      year = {2013},\n      url = {https://eprint.iacr.org/2013/407}\n}"
}
