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

How to implement recursive functions?

Open AliceNCsyuk opened this issue 1 year ago • 1 comments

How to implement recursive functions in MP-SPDZ?

AliceNCsyuk avatar Dec 23 '23 11:12 AliceNCsyuk

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.

mkskeller avatar Jan 12 '24 06:01 mkskeller

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

mkskeller avatar Jul 09 '24 05:07 mkskeller