This repository provides a framework to express high-level MPC protocol descriptions and compute the associated communication costs. It accompanies the paper MPC for $Q_2$ Access Structures over Rings and Fields, and was used to generate the tables contained therein.
Custom secret sharing schemes can be defined, following the template in GenericThreshold
.
For threshold schemes, one can follow the example of Replicated
or Shamir
to prevent
repetitive implementations.
On the secret sharing schemes, different (passively or actively) secure multiplication protocols
may be defined, which can then be used to derive the costs for new offline and online protocols.
The computation of offline/online/total bit costs for several settings is provided as an example at the end of the file.