{
  "id": "2016/586",
  "url": "https://opencryptology.org/2016/586",
  "original_url": "https://eprint.iacr.org/2016/586",
  "title": "A Modular Treatment of Cryptographic APIs: The Symmetric-Key Case",
  "authors": [
    "Thomas Shrimpton",
    "Martijn Stam",
    "Bogdan Warinschi"
  ],
  "affiliations": null,
  "abstract": "Application Programming Interfaces (APIs) to cryptographic tokens like smartcards and Hardware Security Modules (HSMs) provide users with commands to manage and use cryptographic keys stored on trusted hardware. Their design is mainly guided by industrial standards without clear security promises.\n\nIn this paper we propose cryptographic models for the security of such APIs. The key feature of our approach is that it enables modular analysis. Specifically, we show that a secure cryptographic API can be obtained by combining a secure API for key-management together with secure implementations of, for instance, encryption or message authentication.\nOur models are the first to provide such compositional guarantees\nwhile considering realistic adversaries that can adaptively corrupt\nkeys stored on tokens.  We also provide a proof of concept\ninstantiation (from a deterministic authenticated-encryption scheme) of the key-management portion of cryptographic API.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A Modular Treatment of Cryptographic APIs: The Symmetric-Key Case” by Thomas Shrimpton, Martijn Stam, Bogdan Warinschi, Cryptology ePrint Archive, Paper 2016/586, https://eprint.iacr.org/2016/586. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2016-06-06T15:03:19Z",
    "updated": "2016-06-08T02:19:06Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/586.pdf",
    "sha256": "335f50b34d078f8a625b8fc47f5ae8854b70a66df3a184c62a00aea25bd848db",
    "size": 329768,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:24:56Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2016/586/versions/20190225T172456Z.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/586.pdf",
      "size": 329768,
      "sha256": "335f50b34d078f8a625b8fc47f5ae8854b70a66df3a184c62a00aea25bd848db",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260924174702id_/https://eprint.iacr.org/2016/586.pdf",
      "captured_at": "2026-09-24T17:47:02Z",
      "size": 331087
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/586.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 329768
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/586,\n      author = {Thomas Shrimpton and Martijn Stam and Bogdan Warinschi},\n      title = {A Modular Treatment of Cryptographic APIs: The Symmetric-Key Case},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/586},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/586}\n}"
}
