Skip to content

A repository for a few basic packed secret sharing implementations

Notifications You must be signed in to change notification settings

becgabri/packed-ss-template

Repository files navigation

packed-ss-template

A repository for two basic packed secret sharing implementations. This is very much "research code". The main purpose of this is really just in case it can help people out with understanding how you can implement packed SS, sort of as a reference guide.

Some of the code provided here comes directly or with small modifications from libscapi. See the LICENSES directory for more details.

Dependencies

To run this code you will need a working version of openssl, boost(works with at least 1.71.0) and ntl(version >=11.0.0). Depending on your OS you may also need to install GMP. You will also need CMake with a version >=3.20.

Build Instructions

After ensuring you have installed the necessary dependencies:

// for a linux/unix system using apt for package management
sudo apt-get update
sudo apt-get install zlib1g-dev libgmp-dev
git clone https://github.com/becgabri/packed-ss-template.git
cd packed-ss-template
cmake .
make 
./MicroBench

Other Info

There's some discussion about MPC, what packed secret sharing is, and the implementation itself in the pdf located in this repo. It also contains other resources that may be helpful.

The two programs built are simply one to do benchmarking (called MicroBench) and then another that does testing (called PackedSSTest). In an ideal world, the testing would be done with a c++ test runner like google test or boost. However, as it's just a template, I've decided to leave it the way it is.

About

A repository for a few basic packed secret sharing implementations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published