{
  "id": "2009/372",
  "url": "https://opencryptology.org/2009/372",
  "original_url": "https://eprint.iacr.org/2009/372",
  "title": "More on Key Wrapping",
  "authors": [
    "Rosario Gennaro",
    "Shai Halevi"
  ],
  "affiliations": null,
  "abstract": "We address the practice of key-wrapping, where one symmetric\ncryptographic key is used to encrypt another. This practice is used\nextensively in key-management architectures, often to create an\n``adapter layer'' between incompatible legacy systems. Although in\nprinciple any secure encryption scheme can be used for key wrapping,\npractical constraints (which are commonplace when dealing with legacy\nsystems) may severely limit the possible implementations, sometimes\nto the point of ruling out any ``secure general-purpose encryption.''\nIt is therefore desirable to identify the security requirements that\nare ``really needed'' for the key-wrapping application, and have a\nlarge variety of implementations that satisfy these requirements.\n\nThis approach was developed in a work by  Rogaway and Shrimpton at\nEUROCRYPT 2006. They focused on allowing deterministic encryption, and defined a notion of deterministic authenticated encryption (DAE),\nwhich roughly formalizes ``the strongest security that one can get\nwithout randomness.'' Although DAE is weaker than full blown\nauthenticated encryption, it seems to suffice for the case of key\nwrapping (since keys are random and therefore the encryption itself\ncan be deterministic). Rogaway and Shrimpton also described a mode of\noperation for block ciphers (called SIV) that realizes this notion.\n\nWe continue in the direction initiated by Rogaway and Shirmpton.\nWe first observe that the notion of DAE still rules\nout many practical and ``seemingly secure'' implementations. We thus\nlook for even weaker notions of security that may still suffice.\nSpecifically we consider notions that mirror the usual security\nrequirements for symmetric encryption, except that the inputs to be\nencrypted are random rather than adversarially chosen. These notions\nare all strictly weaker than DAE, yet we argue that they suffice for\nmost applications of key wrapping.\n\nAs for implementations, we begin by observing that many standard\nencryption modes satisfy the key-warpping notion that mirrors\nCPA-security, even when used with a fixed IV (with the notable\nexception of CTR mode).\nTo achieve the notion that mirrors authenticated encryption, we\ninvestigate a template of Hash-then-Encrypt (HtE), which seems\npractically appealing: In this method the key is first ``hashed''\ninto a short nonce, and then the nonce and key are encrypted using\nsome standard encryption mode. We consider a wide array of ``hash\nfunctions'', ranging from a simple XOR to collision-resistant hashing,\nand examine what ``hash function'' can be used with what encryption\nmode.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“More on Key Wrapping” by Rosario Gennaro, Shai Halevi, Cryptology ePrint Archive, Paper 2009/372, https://eprint.iacr.org/2009/372. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2009-07-31T00:52:02Z",
    "updated": "2009-07-31T00:52:02Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2009/372.pdf",
    "sha256": "f1ada6a9d3a72776279bc1a087ec4e4dc1718be24ca48871138ad25984612463",
    "size": 302479,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:20:12Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2009/372/versions/20190225T162012Z.pdf",
      "captured_at": "2019-02-25T16:20:12Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2009/372.pdf",
      "size": 302479,
      "sha256": "f1ada6a9d3a72776279bc1a087ec4e4dc1718be24ca48871138ad25984612463",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2009/372.pdf",
      "captured_at": "2019-02-25T16:20:12Z",
      "size": 302479
    }
  ],
  "bibtex": "@misc{cryptoeprint:2009/372,\n      author = {Rosario Gennaro and Shai Halevi},\n      title = {More on Key Wrapping},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2009/372},\n      year = {2009},\n      url = {https://eprint.iacr.org/2009/372}\n}"
}
