Commit Graph

286 Commits

Author SHA1 Message Date
sinuio
daaffedef4 fix mpc-aio 2022-07-13 19:17:39 -07:00
sinuio
ed357a78e8 rename Kos15Message back to Message 2022-07-13 19:17:08 -07:00
sinuio
fa85dd52c5 fix benches, export impls at ot mod root 2022-07-13 18:27:17 -07:00
Michael Rosenberg
39202aebfa Merge pull request #37 from rozbb/dev
Refactor of `mpc-core`
2022-07-13 13:14:36 -04:00
Michael Rosenberg
2c7dde950c Added more length checks to KOS15 sender 2022-07-13 02:47:41 -04:00
Michael Rosenberg
fe36f1c30b Removed all OTE traits 2022-07-11 23:58:07 -04:00
Michael Rosenberg
dc2f17e1df Renamed SenderState::ReadyToSend back to Setup 2022-07-11 23:51:44 -04:00
Michael Rosenberg
9c4d61cc39 Added forgotten length check to base OT send 2022-07-11 15:51:31 -04:00
Michael Rosenberg
30c2bc873f Cleaned up OT state checks 2022-07-11 15:33:12 -04:00
Michael Rosenberg
5ba6757464 Improved state checks in base OT 2022-07-08 16:53:27 -04:00
sinuio
0f5d49402a relocate hs msgs 2022-07-07 15:42:19 -07:00
Michael Rosenberg
050ecb3b1a Finished renaming protobufs messages 2022-07-07 04:49:34 -04:00
sinu.eth
b8906cd490 Standard Crypto implementation for testing (#36)
* initial work on std crypto

* enable tls12 for rustls

* clean up unused

* temp disable kx groups

* set server random

* setup record layer in ExpectServerDone

* refactor enc/decrypter setup

* disable currently unsupported version and suites

* enable RSA

* fix decrypt keys

* use constructor

* fix comment

* disable some cipher suites from tests

* prepare decrypter

* begin support for ems

Co-authored-by: themighty1 <>
2022-07-05 13:15:42 -07:00
Michael Rosenberg
b50190ae5a Removed printlns from previous debugging 2022-07-04 18:25:46 -04:00
Michael Rosenberg
bece3b03f7 Made naming more consistent 2022-07-04 17:58:03 -04:00
Michael Rosenberg
91114deb82 Undid reversion 2022-06-28 02:59:47 -04:00
Michael Rosenberg
ec8250a72e Reverted to 6569a0e 2022-06-28 02:54:51 -04:00
Michael Rosenberg
b4c46e1cb7 Tests passing 2022-06-28 02:48:11 -04:00
Michael Rosenberg
20e200f71e Tests compiling; not passing 2022-06-28 02:31:40 -04:00
Michael Rosenberg
08dc29462d Refactor compiling; tests not compiling 2022-06-28 01:46:12 -04:00
Michael Rosenberg
4f28ddeef8 Restructured base OT; not compiling yet 2022-06-20 15:37:35 -04:00
sinuio
6569a0e815 fix lint flag 2022-06-15 17:04:00 -07:00
sinuio
d3f123710b rename module to crypto 2022-06-15 16:57:34 -07:00
sinuio
3a15db1a04 use new trait 2022-06-15 16:57:34 -07:00
sinuio
66ed4b646c ignore warnings in key log tests 2022-06-15 16:57:34 -07:00
sinuio
b25643e132 remove unused import, expose cipher modes, change Crypto trait 2022-06-15 16:57:34 -07:00
sinuio
452db97dd2 consolidate traits, convert functions to fallible, and remove recursion 2022-06-15 16:57:34 -07:00
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
sinuio
d396755886 remove resolver 2022-06-14 23:19:48 -07:00
sinuio
2d59054928 update README 2022-06-14 23:18:44 -07:00
sinuio
3cfca2fa53 rename file 2022-06-14 23:17:17 -07:00
sinuio
34ceea075e rename prover to requester 2022-06-14 23:10:50 -07:00
sinuio
0232af9aa6 disable deadcode warnings for WIP crates 2022-06-14 22:50:22 -07:00
sinuio
604afc68b7 allow dead code 2022-06-14 22:50:22 -07:00
sinuio
8bf4e15dde fix warnings, allow deadcode for now 2022-06-14 22:50:22 -07:00
sinuio
a490674b81 more boilerplate 2022-06-14 22:50:22 -07:00
sinuio
93c3191dd6 remove sync trait bound 2022-06-14 22:50:22 -07:00
sinuio
e06a755918 expose encrypt/decrypt traits 2022-06-14 22:50:22 -07:00
sinuio
1e5341c990 comments for handshake trait 2022-06-14 22:50:22 -07:00
sinuio
2148300e37 expose Handshake trait 2022-06-14 22:50:22 -07:00
sinuio
1795820671 add protocol version and cipher suite signals to handshake trait 2022-06-14 22:50:22 -07:00
sinuio
328f675882 initial work on protocol 2022-06-14 22:50:22 -07:00
sinuio
de0c3bb0ae remove tls-aio 2022-06-14 22:50:22 -07:00
sinuio
9f99468595 rename common to core 2022-06-14 22:50:22 -07:00
sinuio
a57749a48f small fixes 2022-06-14 22:50:22 -07:00
sinuio
997d41e095 update workspace 2022-06-14 22:50:22 -07:00
sinuio
9a25ab9677 rename tls-aio to tls-2pc-aio 2022-06-14 22:50:22 -07:00
sinuio
d824d0c927 move traits back into tls-client 2022-06-14 22:50:22 -07:00
sinuio
98b60805e7 further refactoring, client builds 2022-06-14 22:50:22 -07:00
sinuio
98255cb4b1 move 2pc tls components into tls-2pc-core 2022-06-14 22:50:22 -07:00