Home

Awesome

Note: MP-SPDZ includes additional functionality such as private inputs.

This repository contains code to run computation with Yao's garbled circuits optimized for AES-NI by Bellare et al..

Preface:

The main purpose of this software is to provide a quick way to benchmark the computation of some programs written in a subset of the SPDZ high-level language (using purely sint and sfix) with Yao's garbled circuits. Private inputs are not supported.

Requirements:

Compile the VM:

Run make yao (use the flag -j for faster compilation multiple threads).

Compile the circuit:

Run ./compile.py -D <program> to compile the Programs/Source/<program>.mpc. See gc_tutorial.mpc and gc_fixed_point_tutorial.mpc for examples.

Run the protocol: