privacy-scaling-explorations / acceleration-program

Accelerate Early Stage Programmable Cryptography Talents
92 stars 7 forks source link

Proposal: Replicating circom-MP-SPDZ to support tfhe-rs #67

Open Vishalkulkarni45 opened 1 month ago

Vishalkulkarni45 commented 1 month ago

General Grant Proposal

Project Overview :page_facing_up:

Overview

replicate circom-MP-SPDZ to support tfhe-rs

Project Details

Team members

Team members

Team's experience

Development Roadmap :nut_and_bolt:

Overview

Milestone 1 : Understanding tfhe-rs and Documentation

Deliverables and Specifications

1a. Documentation

Milestone 2 : Adaptation of circom-MP-SPDZ to circom-tfhe-rs

Deliverables and Specifications

2a. Functionality: Generate Circuits for tfhe-rs from Bristol Circuit

Modify circom-MP-SPDZ code to generate tfhe-rs circuit output from circom-2-arithc.

2b. Functionality: Generate Inputs for tfhe-rs from circom-MP-SPDZ Inputs

Modify circom-MP-SPDZ code to generate inputs for tfhe-rs from the inputs defined in circom-MP-SPDZ.

2c. Functionality: Run the Generated tfhe-rs Circuits and Inputs

Modify circom-MP-SPDZ code to run tfhe-rs and get parsed outputs.

Application

Component 2c runs tfhe-rs with the circuits generated by component 2a with the inputs generated from component 2b.

2d. Testing Guide
mhchia commented 1 month ago

@Vishalkulkarni45

Can you make a few adjustments to the milestones?

  1. The Total Estimated Duration is currently 7 weeks (7*40*0.5=140 hours), which is slightly shorter than the 150 hours required. Would you consider extending the duration to 8 weeks or more? This would provide a buffer. The working hours would remain the same, but the due date would be adjusted accordingly. Of course, you can still finish earlier as long as the milestone is completed.

  2. Milestone duration adjustments:

    • Milestone 1 should be 45 hours.
    • Milestone 2 should be 105 hours.
  3. For both milestones, please ensure "Total Estimated Duration" reflects the number of weeks and add a "Total Estimated Working Hours" section for the exact hours.

    • Example for Milestone 1:
      • Total Estimated Duration: 6.5 weeks
      • Total Estimated Working Hours: 45 hours

NOTE: The "Expected Start Date" and "Expected End Date" might be subject to changes since they could be finalized after the grant is confirmed.

mhchia commented 1 month ago

Looks good to us! cc @NOOMA-42