Skip to content

Rabbit through the mirror Protocol Implementations. This includes basic random sampling using dabits in Mamba. This is to the best of our knowledge the first implementation of its kind

License

Notifications You must be signed in to change notification settings

abdelrahamanaly/beyond_rabbit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beyond_rabbit (an MPC SCALE-MAMBA Implementation)

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.

Pre-requisites

  • SCALE-MAMBA 1.11 or above.
  • numpy 1.16 or above. (exclusively to test, which in this context means, execute test_relu.mpc).

Installation and Configuration

  1. Download and configure SCALE-MAMBA:

  2. Append the contents of library.py, on the namesake original file in your installation of SCALE-MAMBA, accordinly. That is add the imports on top of the file, and the additional functions at the bottom.

  3. Do the same with the comparisons.py. In this case, just append the contetent at the end of the namesake file in SCALE-MAMBA. No importas are needed here.

  4. Copy both remaining .py files as is directly in the Compiler folder in SCALE-MAMBA.

  5. Copy the tests folders in the Programs folder of your SCALE-MAMBA installation.

  6. Copy the contents of the Bristol folder, into its namesake, in your local SCALE-MAMBA installation.

  7. You can now run them and check all tests are in green. (NOT in red.)

Contact Information:

removed to comply with anonymous submission (code has a team of mantainers)

License

Authors:

removed to comply with anonymous submission.

Licensed under the MIT license.

About

Rabbit through the mirror Protocol Implementations. This includes basic random sampling using dabits in Mamba. This is to the best of our knowledge the first implementation of its kind

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%