data61 / MP-SPDZ

Versatile framework for multi-party computation
Other
944 stars 280 forks source link

issue on how to export more data on spdz2k protocol #1496

Closed shiina3301 closed 1 month ago

shiina3301 commented 2 months ago

Hi @mkskeller, I'm trying to export data on spdz2k protocol. I use "write_to_file()" to export the share of secret and the MAC. but how can I export other data like the share of beaver used in protocol and the share of MAC keys and the MAC parameter?

mkskeller commented 2 months ago

There is no general functionality to access Beaver triples. This is because they are only to be used once. If you use online-only benchmarking however, you can see the triples in Player-Data/<no of parties>-Z<K>-,<S>-<K>/Triples-Z<K>,<S>-<K>-P<party number> where <K> and <S> denote the SPDZ2k parameters. Similarly , Player-MAC-Keys-R-P<party number> in the same directory contains the MAC keys.