{
  "id": "2022/332",
  "url": "https://opencryptology.org/2022/332",
  "original_url": "https://eprint.iacr.org/2022/332",
  "title": "CostCO: An automatic cost modeling framework for secure multi-party computation",
  "authors": [
    "Vivian Fang",
    "Lloyd Brown",
    "William Lin",
    "Wenting Zheng",
    "Aurojit Panda",
    "Raluca Ada Popa"
  ],
  "affiliations": null,
  "abstract": "The last decade has seen an explosion in the number of new secure multi-party computation (MPC) protocols that enable collaborative computation on sensitive data. No single MPC protocol is optimal for all types of computation. As a result, researchers have created hybrid-protocol compilers that translate a program into a hybrid protocol that mixes different MPC protocols. Hybrid-protocol compilers crucially rely on accurate cost models, which are handwritten by the compilers' developers, to choose the correct schedule of protocols.\n\nIn this paper, we propose CostCO, the first automatic MPC cost modeling framework. CostCO develops a novel API to interface with a variety of MPC protocols, and leverages domain-specific properties of MPC in order to enable efficient and automatic cost-model generation for a wide range of MPC protocols. CostCO employs a two-phase experiment design to efficiently synthesize cost models of the MPC protocol’s runtime as well as its memory and network usage. We verify CostCO’s modeling accuracy for several full circuits, characterize the engineering effort required to port existing MPC protocols, and demonstrate how hybrid-protocol compilers can leverage CostCO’s cost models.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“CostCO: An automatic cost modeling framework for secure multi-party computation” by Vivian Fang, Lloyd Brown, William Lin, Wenting Zheng, Aurojit Panda, Raluca Ada Popa, Cryptology ePrint Archive, Paper 2022/332, https://eprint.iacr.org/2022/332. 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-03-14T11:49:36Z",
    "updated": "2022-03-15T22:50:17Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/332.pdf",
    "sha256": "5a6d1536e7621379b84eeecdf3ec555790391370cb90e15c2262473421e3402d",
    "size": 1088439,
    "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/332/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/332.pdf",
      "size": 1088439,
      "sha256": "5a6d1536e7621379b84eeecdf3ec555790391370cb90e15c2262473421e3402d",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/332/versions/20220314T132833Z.pdf",
      "captured_at": "2022-03-14T13:28:33Z",
      "label": "copy captured 2022-03-14",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220314132833id_/https://eprint.iacr.org/2022/332.pdf",
      "size": 1080169,
      "sha256": "9a9d9a92f0023d6bdf5de4db135a0861f1ed0be95c96161c6b8a473506943992",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260309093612id_/https://eprint.iacr.org/2022/332.pdf",
      "captured_at": "2026-03-09T09:36:12Z",
      "size": 1077857
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/332.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 1088439
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/332,\n      author = {Vivian Fang and Lloyd Brown and William Lin and Wenting Zheng and Aurojit Panda and Raluca Ada Popa},\n      title = {CostCO: An automatic cost modeling framework for secure multi-party computation},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/332},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/332}\n}"
}
