Abstract
Secure multi-party computation (MPC) allows multiple parties to securely evaluate a public function on their private inputs. The field has steadily moved forward and real-world applications have become practical. However, MPC implementations are often hand-built and require cryptographic knowledge. Thus, special compilers like HyCC (Büscher et al., CCS’18) have been developed, which automatically compile high-level programs to combinations of Boolean and arithmetic circuits required for mixed-protocol (hybrid) MPC. In this work, we explore the advantages of extending MPC compilers with an intermediate representation (IR) as commonly used in modern compiler infrastructures. For this, we extend HyCC with a graph-based IR that facilitates the implementation of well-known algorithms from compiler design as well as further MPC-specific optimizations. We demonstrate the benefits by implementing arithmetic decomposition based on our new IR that automatically extracts arithmetic expressions and then compiles them into separate circuits. For a line intersection algorithm, we require 40 % less run-time and improve total communication by a factor of 3× compared to regular HyCC when securely evaluating the corresponding circuit with the hybrid MPC framework ABY (Demmler et al., NDSS’15).
Author supplied keywords
Cite
CITATION STYLE
Demmler, D., Katzenbeisser, S., Schneider, T., Schuster, T., & Weinert, C. (2021). Improved Circuit Compilation for Hybrid MPC via Compiler Intermediate Representation. In Proceedings of the International Conference on Security and Cryptography (Vol. 1, pp. 444–451). Science and Technology Publications, Lda. https://doi.org/10.5220/0010540504440451
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.