Files
tlsn/mpc-core
Dan ce66d2c419 KOS15 check (#29)
* KOS15 check

* prost->core try_into
misc rename

* add new states
replace unwrap

* fix xor()

* add clmul crate

* remove debug info

* add license file

* replace unwrap with match

* move emptool ref clmul128 into clmul.rs to avoid cfg_if in lib.rs
test all backends from lib.rs

* idiomatic error assert in tests

* 6x speed up with clmul_reuse. add benchmarks

* simplify autodetection logic

* resolve endianness issue

* add a dummy "tests" dir to make mod tests happy

* fix path

* add MIT license and README

Co-authored-by: themighty1 <you@example.com>
Co-authored-by: sinuio <>
2022-06-15 12:27:41 -07:00
..
2022-06-15 12:27:41 -07:00
2022-06-15 12:27:41 -07:00
2022-04-11 17:34:38 -07:00
2022-06-15 12:27:41 -07:00

tlsn-mpc-core

This crate contains core components for performing MPC, or more specifically 2PC.

Building

If you're on a Mac:

  • brew install gmp
  • If you're on an M1 Mac, make sure to add /opt/homebrew/lib to your LIBRARY_PATH environment variable.

Usage

Garbled Circuits

todo!

Oblivious Transfer

todo!

References

Garbled Circuits

This crate implements so-called "Half Gate" boolean garbled circuits as described here.

Oblivious Transfer

This crate implements Oblivious Transfer Extension using ideas from:

Existing Works

These projects were referred to heavily during the initial development of this crate: