Badges removed to comply with anonymous submission.
A Through the mirror full implementation. eprint to be added, shortly. This repository includes:
- Basic random sampling using dabits in MAMBA.
- VHDL Circuits and Bristol Fashion Files.
- Constant Round implementations of Rabbit and Catrina comparison protocols from Through the Mirror.
- A
relu
implementation, and a complementing library. - Easy to use test files, to verify your installation/configuration is correct.
- Repo will be deanonymized once sumbission is accepted.
This is to the best of our knowledge the first implementation of any support for the dabits
instruction in mamba.
SCALE-MAMBA
1.11 or above.numpy
1.16 or above. (exclusively to test, which in this context means, executetest_relu.mpc
).
-
Download and configure
SCALE-MAMBA
: -
Append the contents of
library.py
, on the namesake original file in your installation ofSCALE-MAMBA
, accordinly. That is add the imports on top of the file, and the additional functions at the bottom. -
Do the same with the
comparisons.py
. In this case, just append the contetent at the end of the namesake file inSCALE-MAMBA
. No importas are needed here. -
Copy both remaining
.py
files as is directly in theCompiler
folder inSCALE-MAMBA
. -
Copy the tests folders in the
Programs
folder of yourSCALE-MAMBA
installation. -
Copy the contents of the Bristol folder, into its namesake, in your local
SCALE-MAMBA
installation. -
You can now run them and check all tests are in green. (NOT in red.)
removed to comply with anonymous submission (code has a team of mantainers)
removed to comply with anonymous submission.
Licensed under the MIT license.