trustworthycomputing / helm Goto Github PK
View Code? Open in Web Editor NEWHELM: Navigating Homomorphic Encryption through Gates and Lookup Tables
License: MIT License
HELM: Navigating Homomorphic Encryption through Gates and Lookup Tables
License: MIT License
Similarly to Table 1 in Romeo, we'll need to evaluate the following using both LUTs and gates:
Instead of having to set each bit separately, we can set the whole array to an integer and let HELM figure it out.
Add a warning early on if no gates are detected to prevent crashing. (like the other waring we have: "[!] No CSV file pr....."
)
Combine LUTs that use similar inputs in circuit.rs after #3 is done.
eval_lut_circuit
has a lot of duplicate code with the main in helm.rs. We should merge these two and use if/else with the has_luts
variable to differentiate between the two cases (e.g., for the keygen, or for the evaluation function). Most of the code is the same (like decrypting) and it doesn't make sense to have that much duplicate code.
nice to have
Add a csv file like:
wire_name, value
i0, false
i1, true
....
Parse this file in helm.rs and assign to both ptxt and ctxt input wires. Check if every wire in the input wires map exists in the CSV and throw an error if the CSV is missing a wire so that the user can easily add that.
Check if LUTs are topologically sorted or use Yosys for it.
Look into adding GPUs
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.