Commit Graph

169 Commits

Author SHA1 Message Date
Matthew Liu
59bfb1dfa0 modified visibility of Error field in lookup, cloned some values in server 2023-07-19 15:13:12 -07:00
Matthew Liu
c523f18596 skeleton for getting cipher/plaintext data 2023-07-19 14:38:33 -07:00
Matthew Liu
13a8d49f4d removed unnecessary todos 2023-07-19 13:31:37 -07:00
Matthew Liu
804275712c removed serialization of sealdata, instead created serializedsealdata struct which contains debugger info about cipher/plaintexts 2023-07-19 13:30:00 -07:00
Matthew Liu
38224850a7 stack id for node info and context changes 2023-07-19 13:20:47 -07:00
Matthew Liu
0758854c52 stack id for nodeinfo 2023-07-19 11:32:54 -07:00
Matthew Liu
cd144ed390 error handling for get_fhe_node_data and implemented idlookup trait for stackframelookup 2023-07-19 11:16:20 -07:00
Matthew Liu
f0d0fc68a2 undid some clippy changes so that code compiles 2023-07-18 17:46:13 -07:00
Matthew Liu
91a5fe1271 clippy and fmt 2023-07-18 17:44:30 -07:00
Matthew Liu
1fda57a552 removed conditional compilation from a functoin that shouldnt have it 2023-07-18 16:44:21 -07:00
Matthew Liu
27f2153902 removed secretkey from debug_fhe_program, now uses privatekey instead 2023-07-18 16:42:47 -07:00
Matthew Liu
bb59e579b1 remove more prints 2023-07-18 15:33:14 -07:00
Matthew Liu
b4208f1223 removed unnecessary prints 2023-07-18 15:32:43 -07:00
Matthew Liu
bdf8c8c415 modifying interface for lookup data structures 2023-07-18 15:14:41 -07:00
Matthew Liu
7900fff130 removed more unnecessary comments 2023-07-18 13:53:30 -07:00
Matthew Liu
cd4a529f4e addressed race conditions in run tests, now pass those tests with and without debugger feature 2023-07-18 12:38:20 -07:00
Matthew Liu
3d31f4a046 clippy fixes 2023-07-18 11:49:53 -07:00
Matthew Liu
6f628d39a1 fmt fixes 2023-07-18 11:48:15 -07:00
Matthew Liu
b00714b6ec updated fhe_program_tests to have metadata fields and group_id. need to fix construction of graph so that group ids are updated 2023-07-18 11:24:16 -07:00
Matthew Liu
f2d8f12227 rick fixes 2023-07-17 15:01:42 -07:00
Matthew Liu
c113eaf7d3 fixed async issues, now can support multiple sessions 2023-07-17 14:43:27 -07:00
Matthew Liu
4849b2682e get fhe node data impleented, still doesnt ocmpile. need to figure out how to handle sealdata stuff 2023-07-17 14:06:44 -07:00
Matthew Liu
4bf7043b77 added support for fhe program source code. in debug mode, run.rs tests wont compile because debug_fhe_program now asks for 7 arguments instead of 6 2023-07-17 12:24:56 -07:00
Matthew Liu
31c59c991d proc macro updates to be able to get source code of an fhe program with .source() 2023-07-17 12:05:32 -07:00
Matthew Liu
e5916cbde0 added support for cors so frontend can now grab data from backend. currently it only grabs a string that allows the frontend to construct a graph 2023-07-17 11:20:38 -07:00
Matthew Liu
322c51d8f7 server file 2023-07-17 04:54:52 -07:00
Matthew Liu
07ff417124 moved code from sessions.rs to server.rs 2023-07-17 04:25:24 -07:00
Matthew Liu
a4e2d1b5fb can now support dynamic paths but currently web server is not set up in a way that you can debug multiple programs 2023-07-17 03:56:51 -07:00
Matthew Liu
6cf313ada2 managed to get webserver up and running. remains to figure out how to get the graph data 2023-07-17 02:50:21 -07:00
Matthew Liu
5f66f73602 fixed compilation errors based on conditional dependencies when debugger not enabled 2023-07-17 00:46:05 -07:00
Matthew Liu
0f87062b0d modified debug_fhe_program to not return anything 2023-07-17 00:35:19 -07:00
Matthew Liu
145295584b format 2023-07-16 23:06:17 -07:00
Matthew Liu
e492a2e450 modified visibility of sealsecretkey in privatekey struct to be public 2023-07-16 15:58:14 -07:00
Matthew Liu
cb46c4b85b fixed more compilation errors and enabled debugger feature in sunscreen_backend. next step: figure out secret vs privatekey and change debug_fhe_program accordingly 2023-07-16 02:05:27 -07:00
Matthew Liu
cc90bf3548 compilation errors in graph construction test, enabled debugger feature in sunscreen_fhe_program 2023-07-14 17:57:45 -07:00
Matthew Liu
21683f2e23 enabled debugger in zkp backend 2023-07-14 16:33:46 -07:00
Matthew Liu
644d044522 fixed some depenendcy issues to enable debugger feature across workspace, now going to fix compilation results/add support with debugger feature 2023-07-14 16:26:02 -07:00
Matthew Liu
75d59ce14d created start web server function 2023-07-14 15:21:35 -07:00
Matthew Liu
61333183e7 removed nodes file from debugger 2023-07-14 14:21:48 -07:00
Matthew Liu
2eba60472a fxied remaining compilation issues in run 2023-07-14 14:10:36 -07:00
Matthew Liu
bf41566474 added fhe-debugger files as modules 2023-07-14 13:34:24 -07:00
Matthew Liu
7e0cdc212d more compilation error fixes + moved fhe-debugger into debugger module 2023-07-14 13:33:17 -07:00
Matthew Liu
a0d6e9bce3 fixed compilation rrors in tests for run.rs 2023-07-14 11:26:42 -07:00
Matthew Liu
c153222731 implemented set_data, also added calls to set_data in run unchecked 2023-07-14 00:42:02 -07:00
Matthew Liu
0cb4a82498 rick's coimments/changes 2023-07-14 00:06:40 -07:00
Matthew Liu
9f1f6b0a08 moved sessions to runtime 2023-07-13 13:29:00 -07:00
Matthew Liu
e4d22361a4 doc fixes 2023-07-12 14:19:23 -07:00
Matthew Liu
5b16f91057 clippy and format fixes 2023-07-12 14:15:15 -07:00
Matthew Liu
0f3c55fc93 fixed compilation errors for tests in run file, now does tests with secret key 2023-07-12 14:04:41 -07:00
Matthew Liu
22c163afef added run_impl and debug_fhe_program, also added debuginfo struct and added parameter for secret key in run unchecked 2023-07-12 13:57:05 -07:00