Implementation of the PSImple protocol: https://eprint.iacr.org/2021/122
Running the protocol (we used ubuntu 18.04) :
-
Clone the repository
git clone https://github.com/ArielCyber/Malicious_MPSI.git
Go to the Malicious_MPSI directory, by using the commandcd Malicious_MPSI
-
Run the command
sudo bash install.sh
-
After the installation, a folder named libOTe should be created.
Run the commandsudo cp -r simple/* libOTe/
-
Go to the libOTe folder, by using the command
cd libOTe
-
clone the google test library, by running the command
sudo git clone https://github.com/google/googletest.git
-
Run the command
sudo make
. A file named bin/main will be created. -
Change the ips in the file ip.txt to the parties' ips.
Each party will get a number in range [0..(parties-1)], accordingly to the order in the file. -
You should change the data in the data.txt, to the data of each party (comma separated numbers).
-
You can change the parameters in the cfg.txt file.
-
To activate the protocol-
Run at every computer the command./bin/main <party number> cfg.txt