{
  "id": "2015/467",
  "url": "https://opencryptology.org/2015/467",
  "original_url": "https://eprint.iacr.org/2015/467",
  "title": "The Oblivious Machine - or: How to Put the C into MPC",
  "authors": [
    "Marcel Keller"
  ],
  "affiliations": null,
  "abstract": "We present an oblivious machine, a concrete notion for a multiparty random access machine (RAM) computation and a toolchain to allow the efficient execution of general programs written in a subset of C that allows RAM-model computation over the integers. The machine only leaks the list of possible instructions and the running time. Our work is based on the oblivious array for secret-sharing-based multiparty computation by Keller and Scholl (Asiacrypt `14). This means that we only incur a polylogarithmic overhead over the execution on a CPU.\n\nWe describe an implementation of our construction using the Clang compiler from the LLVM project and the SPDZ protocol by Damgård et al. (Crypto `12). The latter provides active security against a dishonest majority and works in the preprocessing model. The online phase clock rate of the resulting machine is 41 Hz for a memory size of 1024 64-bit integers and 2.2 Hz for a memory of 2^20 integers. Both timings have been taken for two parties in a local network. Similar work by other authors has only been in the semi-honest setting.\n\nTo further showcase our toolchain, we implemented and benchmarked private regular expression matching. Matching a string of length 1024 against a regular expression with 69270 transitions as a finite state machine takes seven hours online time, of which more than six hours are devoted to loading the reusable program.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“The Oblivious Machine - or: How to Put the C into MPC” by Marcel Keller, Cryptology ePrint Archive, Paper 2015/467, https://eprint.iacr.org/2015/467. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2015-05-18T07:47:54Z",
    "updated": "2019-07-23T02:31:25Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2015/467.pdf",
    "sha256": "c130d59f6b6c0950d50b18777a17f22a662ecd290cf5f0d140d49acdc17c1f5c",
    "size": 414436,
    "source": "github-mirror",
    "source_date": "2020-04-17T10:36:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2015/467/versions/20200417T103614Z.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "label": "copy captured 2020-04-17",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2015/467.pdf",
      "size": 414436,
      "sha256": "c130d59f6b6c0950d50b18777a17f22a662ecd290cf5f0d140d49acdc17c1f5c",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2015/467/versions/20160309T212723Z.pdf",
      "captured_at": "2016-03-09T21:27:23Z",
      "label": "copy captured 2016-03-09",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20160309212723id_/http://eprint.iacr.org/2015/467.pdf",
      "size": 323094,
      "sha256": "33a4d254a0dc719717c7559a7c9d1e8177ec95cb4098fe82dfc6062f1d7f5fba",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2015/467/versions/20150908T065548Z.pdf",
      "captured_at": "2015-09-08T06:55:48Z",
      "label": "copy captured 2015-09-08",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20150908065548id_/http://eprint.iacr.org/2015/467.pdf",
      "size": 431747,
      "sha256": "142c36f96dc9e973a433f1d66f132d94049eb7b4807b1fbe68f3f782dfa24bcb",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260908163132id_/https://eprint.iacr.org/2015/467.pdf",
      "captured_at": "2026-09-08T16:31:32Z",
      "size": 415760
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2015/467.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "size": 414436
    }
  ],
  "bibtex": "@misc{cryptoeprint:2015/467,\n      author = {Marcel Keller},\n      title = {The Oblivious Machine - or: How to Put the C into MPC},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2015/467},\n      year = {2015},\n      url = {https://eprint.iacr.org/2015/467}\n}"
}
