-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Dictionaries as a data structure #29
Comments
Unfortunately not. The virtual machine currently supports neither the dynamic memory allocation needed for a tree-based or a hash-based map. |
Right, however, I see that when I use normal dictionaries like in Python, the code still does compile and run. So, how does that work then? |
The Python code is executed at compile time. So you can always use Python dictionaries, but if you use e.g. |
Okay, thank you. I guess I'll have to play around with it a bit more. |
Is the 'limitation' of the virtual machine to non-dynamic memory allocation based on some basic theoretical limitations or could it in principle be extended? |
The only theoretical limitation is that memory accesses by secret addresses are rather expensive because that requires oblivious RAM. For the rest, there is no theoretical limitation, it is simply not a priority at this stage. Regarding documentation of the VM, all instructions for arithmetic computation are defined in |
Ok, thank you for the information. I had a closer look at several source code parts. |
The oblivious RAM is implemented in |
Ok thanks. |
What's the status of this? It appears to me that MP-SPDZ in its current state can be used to implement an oblivious dictionary as described in https://eprint.iacr.org/2014/137.pdf. |
Only partially because the keys have to fixed-length for the solution in said paper. I think the original question was also more geared towards public keys by referring to |
I wanted to know if there exists a way to use dictionaries in the .mpc format files like the Matrix and Array ones.
The text was updated successfully, but these errors were encountered: