51 Commits

Author SHA1 Message Date
Andrew Morris
704bcbf03d change m2pc test to use sha1 2025-06-12 15:16:03 +10:00
Andrew Morris
6ebafc07a8 Improve performance by producing a binary bristol format in JS so that we don't use emscripten's super slow istringstream 2025-06-12 13:00:26 +10:00
Andrew Morris
5bf8be6426 improvements ported from perf-testing: buffer and flush the io, accept bytes than needed into buffer when available, improve c++ to js error propagation, default to mpc mode 2025-06-12 09:57:37 +10:00
Andrew Morris
6859068021 party2 -> toParty/fromParty/otherParty 2025-02-04 14:28:18 +11:00
Andrew Morris
7d4db2f0bd use valid sha1 2025-02-04 14:28:18 +11:00
Andrew Morris
1bd398656b fix test_mpc.cpp 2025-02-04 14:28:18 +11:00
Andrew Morris
27ebd85a25 add todo 2025-02-04 14:28:18 +11:00
Andrew Morris
4da3407b28 input -> inputBits 2025-02-04 14:28:18 +11:00
Andrew Morris
a76bc3cb23 Add 2pc specialization 2025-02-03 15:17:41 +11:00
Andrew Morris
63ff747be4 Set up 2pc/mpc specialization 2025-02-03 14:40:04 +11:00
Andrew Morris
2732bf6613 fix m2pc 2025-01-31 17:23:43 +11:00
Andrew Morris
fbea53b627 fix memory getting rewritten before it's received by js 2025-01-30 16:17:50 +11:00
Andrew Morris
162a1f8940 Connect io properly, connect exceptions, remove debugging output 2025-01-30 13:30:14 +11:00
Andrew Morris
d640e8da61 wip hooking up more things 2025-01-29 17:55:54 +11:00
Andrew Morris
7f4f3d2ff9 Draft new jslib.cpp 2025-01-29 16:06:31 +11:00
Andrew Morris
9af7281d6d Use IMultiIO interface instead of concrete NetIOMP 2025-01-29 14:05:52 +11:00
Andrew Morris
3f2c1a86dc just use one NetIOMP 2025-01-29 13:43:53 +11:00
Andrew Morris
6c937c9129 replace netmp::count 2025-01-29 13:38:03 +11:00
Andrew Morris
124c76222d Remove nP_deprecated templates 2025-01-28 18:16:26 +11:00
Andrew Morris
26d8382804 Remove nP template from FlexOut 2025-01-28 18:01:42 +11:00
Andrew Morris
0c00b8433b Remove nP template from FlexIn 2025-01-28 17:55:50 +11:00
Andrew Morris
9b75975fbe Remove nP template from NetIOMP 2025-01-28 17:39:29 +11:00
Andrew Morris
b00d157a60 Start using Vec, NVec to avoid nP template 2025-01-28 17:07:50 +11:00
Andrew Morris
e329689224 test 4 parties 2025-01-24 16:27:21 +11:00
Andrew Morris
debc351961 use flexio to specify input sources and output to all, fix flexio deadlocks 2025-01-24 16:12:55 +11:00
Andrew Morris
c54d68f880 specify inputs 2025-01-24 15:05:59 +11:00
Andrew Morris
e9c24b4fc3 wip: threading removed but causes deadlock 2025-01-16 17:45:38 +11:00
Andrew Morris
1f5cdacec4 remove trailing whitespace 2025-01-16 15:15:59 +11:00
Andrew Morris
0acb236706 tabs -> spaces 2025-01-16 15:01:49 +11:00
Andrew Morris
0af266cf69 add mpc_test.sh and get it working 2025-01-16 14:55:36 +11:00
Andrew Morris
8ffdac01fa rename to match convention 2025-01-16 14:55:35 +11:00
Andrew Morris
7bac01e196 copy emp-toolkit/emp-agmpc files unmodified 2025-01-16 14:55:35 +11:00
Andrew Morris
f461d9b5f9 Remove redundant license header (See LICENSE) 2025-01-16 14:55:35 +11:00
Andrew Morris
2adb185382 fix alice,bob order 2024-10-15 10:43:06 +11:00
Andrew Morris
53e2d8c049 simplify demo 2024-10-14 09:23:35 +11:00
Andrew Morris
639e4d551c improve js<->cpp interface 2024-10-14 07:51:10 +11:00
Andrew Morris
fc57d48a7f reorganize code 2024-10-11 14:02:23 +11:00
Andrew Morris
5130f5196f remove unused code 2024-10-11 13:29:52 +11:00
Andrew Morris
2e635e2732 include output for alice 2024-10-10 15:37:56 +11:00
Andrew Morris
d40d292de4 don't import net_io unless needed 2024-10-10 13:22:20 +11:00
Andrew Morris
f28db695c0 replace tabs with 4 spaces, remove trailing whitespace 2024-10-10 13:06:08 +11:00
Andrew Morris
c0244bdb59 remove templated io 2024-10-10 11:24:53 +11:00
Andrew Morris
bb09158a47 remove redundant set_nodelay 2024-10-10 11:02:53 +11:00
Andrew Morris
83ba4322ec use out.size() instead of hardcoded value 2024-10-09 17:18:38 +11:00
Andrew Morris
90cda115ac use vector<bool> for io 2024-10-09 17:17:37 +11:00
Andrew Morris
10acbaea9b make inputs and outputs easier to understand 2024-10-09 17:17:12 +11:00
Andrew Morris
2429ebd480 spacing, remove inlines from test program 2024-10-09 16:17:20 +11:00
Andrew Morris
e5634e2ce3 improve output 2024-10-09 16:15:36 +11:00
Andrew Morris
dd0508cd33 test 2pc via script (outputs "GOOD!", seems to be undocumented test) 2024-10-09 16:05:43 +11:00
Andrew Morris
05398d03cd license updates 2024-10-05 08:48:13 +10:00