Giter Site home page Giter Site logo

trustworthycomputing / helm Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 1.0 3.99 MB

HELM: Navigating Homomorphic Encryption through Gates and Lookup Tables

License: MIT License

Rust 100.00%
fhe fully-homomorphic-encryption homomorphic-encryption privacy secure-computation

helm's People

Contributors

cgouert avatar jimouris avatar trustworthycomputing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

agnxsh

helm's Issues

Benchmarks evaluation

Similarly to Table 1 in Romeo, we'll need to evaluate the following using both LUTs and gates:

  • Present
  • Simon
  • Speck
  • DES
  • AES
  • Chi-squared
  • Image filter

no-expr Yosys flag

Add a warning early on if no gates are detected to prevent crashing. (like the other waring we have: "[!] No CSV file pr.....")

Combining LUTs

Combine LUTs that use similar inputs in circuit.rs after #3 is done.

Merge eval_lut_circuit with main

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.

Read input wires from file

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.