MP-SPDZ icon indicating copy to clipboard operation
MP-SPDZ copied to clipboard

How to program by C++?

Open TanYuzhen opened this issue 1 year ago • 1 comments

Hello author, I am a beginner in MP-SPDZ and would like to ask how to use MP-SPDZ library as a linked library using C++ language instead of Python language ending in .mpc? Is there any documentation or sample program for this? Thanks for your help.

TanYuzhen avatar Sep 24 '24 16:09 TanYuzhen

This section in the documentation is the starting point for using the C++ interface: https://mp-spdz.readthedocs.io/en/latest/low-level.html Some functionality from lowest level is compiled to libSPDZ.so, but much of MP-SPDZ is template/meta-code, so you would need to create your own facilities for a linked library.

mkskeller avatar Sep 25 '24 03:09 mkskeller