-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
What's the issue: in our `arithc_to_bristol`, it didn't consider different node names can be the same. For example, in `for (var i = 0; i < 16; i++)`, var i always has the same name for [0, 16) in arithc. Since we use node names as keys in circuit_info.json, different constants i=0, ..., i=15 will keep overwriting each other and finally in MP-SPDZ there was only one wire value for these different nodes and resulted that some wires wasn't assigned values. How it is fixed: jut make each constant node name distinct, by postfixing with their unique node value. E.g. i=0 might be "i_123128318238" while i=15 be "i_3824329329"
- Loading branch information
Showing
2 changed files
with
74 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters