3 releases

Uses old Rust 2015

0.1.2 Feb 19, 2018
0.1.1 Dec 13, 2017
0.1.0 Dec 13, 2017

#47 in #build-time

AGPL-3.0

6MB
139K SLoC

C 91K SLoC // 0.0% comments OCaml 39K SLoC // 0.2% comments Python 5K SLoC // 0.0% comments Perl 2.5K SLoC // 0.1% comments Rust 390 SLoC // 0.1% comments M4 274 SLoC // 0.1% comments Shell 241 SLoC // 0.1% comments Vim Script 11 SLoC SWIG 4 SLoC // 0.5% comments Forge Config 3 SLoC

Rust wrapper for Obliv-C

Crates.io Build Status

Obliv-C is a language for expressing Multi-Party Computation protocols as C-like programs. This wrapper allows to develop Rust programs that call Obliv-C protocols.

If an Obliv-C installation is passed via the OBLIVC_PATH environment variable at build time, that installation is used. Otherwise, Obliv-C is built from source.

For information on how to use this library, have a look at the crate documentation, as well as the examples in test-oblivc and their documentation.


lib.rs:

Obliv-C bindings for Rust

Obliv-C is a language for expressing Multi-Party Computation protocols as C-like programs. This wrapper allows to develop Rust programs that call Obliv-C protocols.

If an Obliv-C installation is passed via the OBLIVC_PATH environment variable at build time, that installation is used. Otherwise, Obliv-C is built from source.

A small example using this library can be found here.

Dependencies

~7.5MB
~131K SLoC