{
  "id": "2025/930",
  "url": "https://opencryptology.org/2025/930",
  "original_url": "https://eprint.iacr.org/2025/930",
  "title": "SEEC: Memory Safety Meets Efficiency in Secure Two-Party Computation",
  "authors": [
    "Henri Dohmen",
    "Robin Hundt",
    "Nora Khayata",
    "Thomas Schneider"
  ],
  "affiliations": null,
  "abstract": "Secure Multi-Party Computation (MPC) allows multiple parties to perform privacy-preserving computation on their secret data.  MPC protocols based on secret sharing have high throughput which makes them well-suited for batch processing, where multiple instances are evaluated in parallel. \nSo far, practical implementations of secret sharing-based MPC protocols mainly focus on runtime and communication efficiency, so the memory overhead of protocol implementations is often overlooked. Established techniques to reduce the memory overhead for constant-round garbled circuit protocols cannot be directly applied to secret sharing-based protocols because they would increase the round complexity. Additionally, state-of-the-art implementations of secret sharing-based MPC protocols are implemented in C/C++ and may exhibit memory unsafety and memory leaks, which could lead to undefined behavior.\n\nIn this paper, we present SEEC: SEEC Executes Enormous Circuits, a framework for secret sharing-based MPC \nwith a novel approach to address memory efficiency and safety without compromising on runtime and communication efficiency. We realize SEEC in Rust, a language known for memory-safety at close-to-native speed. To reduce the memory footprint, we develop an in-memory representation for sub-circuits. Thus, we never inline sub-circuit calls during circuit evaluation, a common issue that blows up memory usage in MPC implementations. \nWe compare SEEC with the state-of-the-art secret sharing-based MPC frameworks ABY (NDSS'15), MP-SPDZ (CCS'20), and MOTION (TOPS'22) w.r.t. runtime, memory, and communication efficiency. Our results show that our reliable and memory-safe implementation has competitive or even better performance.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“SEEC: Memory Safety Meets Efficiency in Secure Two-Party Computation” by Henri Dohmen, Robin Hundt, Nora Khayata, Thomas Schneider, Cryptology ePrint Archive, Paper 2025/930, https://eprint.iacr.org/2025/930. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-05-22T09:42:45Z",
    "updated": "2025-05-22T09:42:45Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/930.pdf",
    "sha256": "d0e7d6f611401e66c0984c72f1cb720e4818c5860ef2031b50b950c31c72c12f",
    "size": 913659,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/930/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/930.pdf",
      "size": 913659,
      "sha256": "d0e7d6f611401e66c0984c72f1cb720e4818c5860ef2031b50b950c31c72c12f",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/930.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 913659
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260310142056id_/https://eprint.iacr.org/2025/930.pdf",
      "captured_at": "2026-03-10T14:20:56Z",
      "size": 807957
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/930,\n      author = {Henri Dohmen and Robin Hundt and Nora Khayata and Thomas Schneider},\n      title = {SEEC: Memory Safety Meets Efficiency in Secure Two-Party Computation},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/930},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/930}\n}"
}
