{
  "id": "2022/1083",
  "url": "https://opencryptology.org/2022/1083",
  "original_url": "https://eprint.iacr.org/2022/1083",
  "title": "Enigmap : External-Memory Oblivious Map for Secure Enclaves",
  "authors": [
    "Afonso Tinoco",
    "Sixiang Gao",
    "Elaine Shi"
  ],
  "affiliations": null,
  "abstract": "Imagine that a privacy-conscious client would like to\nquery a key-value store residing on an untrusted server\nequipped with a secure processor. \nTo protect the privacy of the client's queries as well as the database, \none approach is to implement an {\\it oblivious map} inside a secure enclave.  \nIndeed, earlier works demonstrated \nnumerous applications of an enclaved-based oblivious map, \nincluding private contact discovery, key transparency,\nand secure outsourced databases.\n\n\nOur work is motivated by the observation \nthat the previous enclave implementations \nof oblivious algorithms are sub-optimal both asymptotically and concretely.\nWe make the key observation that for enclave applications, the {\\it number\nof page swaps} should be a primary performance metric. \nWe therefore adopt techniques from the {\\it external-memory} algorithms  \nliterature, and \nwe are the first to implement such \nalgorithms inside hardware enclaves.\nWe also devise asymptotically better algorithms for ensuring a strong\nnotion of obliviousness that resists cache-timing attacks.\nWe complement our algorithmic improvements with various \nconcrete optimizations\nthat save constant factors in practice.\nThe resulting system, called Enigmap, achieves\n15$\\times$ speedup over Signal's linear scan implementation, \nand 53$\\times$ speedup over the %state-of-the-art  \nprior best \noblivious algorithm \nimplementation, at a realistic database size of 256 million\nand a batch size of 1000. The speedup is asymptotical \nin nature and will be even greater as Signal's user base grows.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Enigmap : External-Memory Oblivious Map for Secure Enclaves” by Afonso Tinoco, Sixiang Gao, Elaine Shi, Cryptology ePrint Archive, Paper 2022/1083, https://eprint.iacr.org/2022/1083. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-08-20T01:48:54Z",
    "updated": "2023-06-09T02:27:26Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1083.pdf",
    "sha256": "5042d2651324dcf3d91f8739af33e43794e6a26e38b3f4666b84a67817368fae",
    "size": 755203,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1083/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1083.pdf",
      "size": 755203,
      "sha256": "5042d2651324dcf3d91f8739af33e43794e6a26e38b3f4666b84a67817368fae",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/1083/versions/20221019T064321Z.pdf",
      "captured_at": "2022-10-19T06:43:21Z",
      "label": "copy captured 2022-10-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20221019064321id_/https://eprint.iacr.org/2022/1083.pdf",
      "size": 689990,
      "sha256": "c35636e0848b2681f33d5de41d79de661163bb1dea20842ba8be0c55612addeb",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260217041826id_/https://eprint.iacr.org/2022/1083.pdf",
      "captured_at": "2026-02-17T04:18:26Z",
      "size": 722270
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1083.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 755203
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1083,\n      author = {Afonso Tinoco and Sixiang Gao and Elaine Shi},\n      title = {Enigmap : External-Memory Oblivious Map for Secure Enclaves},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1083},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1083}\n}"
}
