[RWC’20] General Purpose Frameworks for MPC

Second day of Real World Crypto 2020 was also full of great talks covering MPC, symmetric crypto, privacy-preserving primitives, side channels, certificates, and enterprise security. The very first talk of the day by Marcella Hastings was of particular interest to me. This talk is about their findings in the paper titled “SoK: General Purpose Compilers for Secure Multi-Party Computation.”

She presented their findings regarding 9 MPC frameworks: EMP-toolkit, Obliv-C, ObliVM, TinyGarble, SCALE-MAMBA (developed here at COSIC by Prof. Nigel Smart and his team), Wysteria, Sharemind, PICCO, and ABY. These frameworks are classified into 3 protocol families: Garbled Circuits based protocols, Multiparty Circuit based protocols, and Hybrid  protocols.

These frameworks are carefully evaluated based on their:

  • Usability
    • Based on language documentation.
  • Sample programs
    • To evaluate usability, expressiveness, architecture, and cryptographic design of the frameworks.
  • Functionality
    • Assessed the expressive ability of the high-level language used to define secure functions based on supported data types, operators, and grammar.
  • Implementation Criteria
    • From architectural, computational model, I/O point of view.
  • Performance
    • Evaluated based on usability, due to, among others, the reason that a quantitative evaluation of the sample programs would not serve to accurately benchmark the performance of the frameworks in terms of run-time, bandwidth, memory-usage, circuit depth, etc.

In addition, she and her colleagues make specific recommendations regarding each framework for users, as well as for future directions in compiler development.

In her talk, Marcella praised SCALE-MAMBA (along with ABY and Sharemind) for its extensive documentation.

The paper SoK: General Purpose Compilers for Secure Multi-Party Computation is highly recommended for those who are interested in finding the right MPC framework to choose for their real world secure computatioanal needs.