{
  "id": "1997/010",
  "url": "https://opencryptology.org/1997/010",
  "original_url": "https://eprint.iacr.org/1997/010",
  "title": "CBC MAC for Real-Time Data Sources",
  "authors": [
    "Erez Petrank",
    "Charles Rackoff"
  ],
  "affiliations": null,
  "abstract": "The Cipher Block Chaining (CBC) Message Authentication Code (MAC)\nis an authentication method which is widely used in practice.\nIt is well known that the naive use of CBC MAC for variable\nlength messages is not secure, and a few rules of thumb for the\ncorrect use of CBC MAC are known by folklore. The first rigorous\nproof of the security of CBC MAC, when used on fixed length messages,\nwas given only recently by Bellare, Kilian and Rogaway. They also\nsuggested variants of CBC MAC that handle variable length messages\nbut in these variants the length of the message has to be known\nin advance (i.e., before the message is processed).\n\nWe study CBC authentication of real time applications in which the\nlength of the message is not known until the message ends, and\nfurthermore, since the application is real-time, it is not possible\nto start processing the authentication only after the message ends.\n\nWe first present a variant of CBC MAC, called {\\em double MAC} (DMAC)\nwhich handles messages of variable unknown lengths. Computing DMAC on\na message is virtually as simple and as efficient as computing the\nstandard CBC MAC on the message. We provide a rigorous proof that its\nsecurity is implied by the security of the underlying block cipher.\nNext, we argue that the basic CBC MAC is secure when applied to prefix\nfree message space. A message space can be made prefix free by\nauthenticating also the (usually hidden) last character which marks\nthe end of the message.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“CBC MAC for Real-Time Data Sources” by Erez Petrank, Charles Rackoff, Cryptology ePrint Archive, Paper 1997/010, https://eprint.iacr.org/1997/010. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "1997-08-15T00:00:00Z",
    "updated": "1997-08-15T00:00:00Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/1997/010.pdf",
    "sha256": "4ffccf660ba278c6226400d3512be496f0e050f3bfc31bfe411be94993de335f",
    "size": 219798,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:03:12Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/1997/010/versions/20190225T160312Z.pdf",
      "captured_at": "2019-02-25T16:03:12Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/1997/010.pdf",
      "size": 219798,
      "sha256": "4ffccf660ba278c6226400d3512be496f0e050f3bfc31bfe411be94993de335f",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/1997/010.pdf",
      "captured_at": "2019-02-25T16:03:12Z",
      "size": 219798
    }
  ],
  "bibtex": "@misc{cryptoeprint:1997/010,\n      author = {Erez Petrank and Charles Rackoff},\n      title = {CBC MAC for Real-Time Data Sources},\n      howpublished = {Cryptology {ePrint} Archive, Paper 1997/010},\n      year = {1997},\n      url = {https://eprint.iacr.org/1997/010}\n}"
}
