Paper 2025/930

SEEC: Memory Safety Meets Efficiency in Secure Two-Party Computation

Henri Dohmen, TU Darmstadt
Robin Hundt, TU Darmstadt
Nora Khayata, TU Darmstadt
Thomas Schneider, TU Darmstadt
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. So 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. In this paper, we present SEEC: SEEC Executes Enormous Circuits, a framework for secret sharing-based MPC with 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. We 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.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Published elsewhere. ASIA CCS'25
DOI
10.1145/3708821.3736224
Contact author(s)
henri dohmen @ stud tu-darmstadt de
robin hundt @ encrypto cs tu-darmstadt de
khayata @ encrypto cs tu-darmstadt de
schneider @ encrypto cs tu-darmstadt de
History
2025-05-23: approved
2025-05-22: received
See all versions
Short URL
https://ia.cr/2025/930
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/930,
      author = {Henri Dohmen and Robin Hundt and Nora Khayata and Thomas Schneider},
      title = {{SEEC}: Memory Safety Meets Efficiency in Secure Two-Party Computation},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/930},
      year = {2025},
      doi = {10.1145/3708821.3736224},
      url = {https://eprint.iacr.org/2025/930}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.