Skip to content

mahnushm/obliv-c

 
 

Repository files navigation

Obliv-C Secure Computation Compiler (oblivcc)

Obliv-C is a simple GCC wrapper that makes it easy to embed secure computation protocols inside regular C programs. The idea is simple: if you are performing a multi-party distributed computation with sensitive data, just write it in our Obliv-C langauge and compile/link it with your project. The result will be a secure cryptographic protocol that performs this operation without revealing any of the inputs or intermediate values of the computation to any of the parties. Only the outputs are finally shared.

Installation

Step 1) Installation of dependencies (on Ubuntu systems) sudo apt-get install ocaml libgcrypt20-dev ocaml-findlib.

Step 2) Git-clone this repository, and do a ./configure && make RELEASE=1.

Step 3) Start using it! The compiler is a GCC wrapper script found in bin/oblivcc. Example codes are in test/oblivc. A language tutorial is found here.

Most of this code was forked from the project CIL (C Intermediate Language). You can diff with the master branch to see which part was added on later.

Benchmarks

This repository includes several example programs using Obliv-C in the test/oblivc directory. See obliv-c/test/oblivc/README.txt for details.

Help

Please let us know if you are using Obliv-C. If you have any questions, either open an issue here on GitHub or just send me an email at samee@virginia.edu.

About

No description, website, or topics provided.

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE-cil
Unknown
LICENSE-oblivcc

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • OCaml 50.9%
  • C 42.3%
  • Perl 2.9%
  • Shell 1.0%
  • CSS 1.0%
  • Makefile 0.8%
  • Other 1.1%