mirror of
https://github.com/tlsnotary/tlsn.git
synced 2026-04-28 03:00:14 -04:00
* 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 <>
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/libto yourLIBRARY_PATHenvironment 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: