MP-SPDZ
MP-SPDZ copied to clipboard
How to implement recursive functions?
How to implement recursive functions in MP-SPDZ?
There isn't a straightforward way currently. This has been less of a priority as recursive functions require branching which isn't possible with plain MPC.
You should find that version 0.3.9 now allows for recursive functions without return values: https://mp-spdz.readthedocs.io/en/latest/Compiler.html#Compiler.library.function