Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.29 KB

INSTALLmpcbenchmark.md

File metadata and controls

47 lines (34 loc) · 1.29 KB

After installing libscapi library we have to install MPC-Benchmark library in the Home directory. This library uses libscapi cryptographic primitives to implement several Secure Multi-Party protocolos, including Yao protocol.

MIRACL library:

Download the MIRACL.ZIP file from its repo here and save it into an otherwise empty "miracl" folder.

Unzip the MIRACL.ZIP file using the unix utility unzip:

$ unzip -j -aa -L miracl.zip

Perform a tailored build of the MIRACL library by opening a terminal window and typing:

$ bash linux64

Rename miracl.a to libmiracl.a and copy to /usr/local/lib:

sudo cp ./libmiracl.a /usr/local/lib

MPC-Benchmark

Download MPC-Benchmark to the Home directory:

$ cd ~
$ git clone https://github.com/manel1874/MPC-Benchmark

Change to qdev branch:

$ cd MPC-Benchmark
$ git checkout qdev

Install Semi-Honest Yao Protocol:

$ cd $~/MPC-Benchmark/SemiHonestYao
$ cmake . \&\& make

Some remarks:

TODO: Check that master branch works.