Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.44 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.44 KB

PQ-MPC

This repository contains the code for the paper "Secure Two-Party Computation in a Quantum World" by Niklas Büscher, Daniel Demmler, Nikolaos P. Karvelas, Stefan Katzenbeisser, Juliane Krämer, Deevashwer Rathee, Thomas Schneider, and Patrick Struck, which will appear at ACNS'20.

Required packages:

  • libgmp-dev
  • SEAL (version 3.1.0)

Compilation

To compile the library:

mkdir build && cd build
cmake ..
make
// or make -j 4 for faster compilation

Tests

To compile the tests, run cmake -DBUILD_TESTS=ON .. && make in build/. Then run the test binaries in build/bin/ as follows to make sure everything works as intended:

./<test> 1 <port> [circuit] [iterations] & ./<test> 2 <port> [circuit] [iterations]

Acknowledgements

The following directories contain code from external repositories:

  • emp-tool: This is a modified stripped-down version of emp-tool with changes to support 256-bit labels and substitute AES-128 with AES-256.
  • pq-yao: This is a modified version of emp-sh2pc with changes for integration with PQ-OT and addition of support for PQ-Yao garbling.
  • test: This directory contains test files from emp-sh2pc/test.