Paper 2024/1420

Privacy-Preserving Breadth-First-Search and Maximal-Flow

Vincent Ehrmanntraut, RWTH Aachen University
Ulrike Meyer, RWTH Aachen University
Abstract

We present novel Secure Multi-Party Computation (SMPC) protocols to perform Breadth-First-Searches (BFSs) and determine maximal flows on dense secret-shared graphs. In particular, we introduce a novel BFS protocol that requires only $\mathcal{O}(\log n)$ communication rounds on graphs with $n$ nodes, which is a big step from prior work that requires $\mathcal{O}(n \log n)$ rounds. This BFS protocol is then used in a maximal flow protocol based on the Edmonds-Karp algorithm, which requires $\mathcal{O}(n^3 \log n)$ rounds. We further optimize the protocol for cases where an upper bound $U$ on the capacities is publicly known by using a capacity scaling approach. This yields a new protocol which requires $\mathcal{O}(n^2 \log n \log U)$ rounds. Finally, we introduce a novel max flow protocol based on algorithms by Dinic and Tarjan with round complexity $\mathcal{O}(n^3)$. All protocols presented in this paper use SMPC primitives as a black-box, allowing our protocols to be used as building blocks in a wide range of settings and applications. We evaluate our protocols with semi-honest and malicious security in different network settings. Our logarithmic BFS protocol is up to 69 times faster than prior protocols on small graphs with less than 100 nodes, but is outperformed by protocols with lower computational complexity on graphs with thousands of nodes. Further, we find our Dinic-Tarjan protocol to be faster than the Edmonds-Karp and capacity scaling protocols in our evaluation, albeit trends indicating capacity scaling protocols to be faster on graph sizes not reached in our evaluation.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Published elsewhere. Proceedings of the 23rd Workshop on Privacy in the Electronic Society
DOI
10.1145/3689943.3695041
Keywords
secure multi-party computationbreadth first searchmax flow
Contact author(s)
ehrmanntraut @ itsec rwth-aachen de
meyer @ itsec rwth-aachen de
History
2024-09-11: approved
2024-09-11: received
See all versions
Short URL
https://ia.cr/2024/1420
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/1420,
      author = {Vincent Ehrmanntraut and Ulrike Meyer},
      title = {Privacy-Preserving Breadth-First-Search and Maximal-Flow},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1420},
      year = {2024},
      doi = {10.1145/3689943.3695041},
      url = {https://eprint.iacr.org/2024/1420}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.