Commit Graph

116 Commits

Author SHA1 Message Date
Matthew Liu
fa4ab0552c fmt 2023-08-01 16:14:54 -07:00
Matthew Liu
72dbd554e6 clippy 2023-08-01 16:14:45 -07:00
Matthew Liu
37393cc3d7 half of clippy fixes 2023-08-01 16:13:38 -07:00
Matthew Liu
044e1c1c75 fmt 2023-08-01 16:11:58 -07:00
Matthew Liu
0c0059c037 modify methods for unwrapping contextenum 2023-08-01 16:10:56 -07:00
Matthew Liu
c575d24c77 changed uses of current fhe and zkp contexts to generic enum 2023-08-01 13:53:26 -07:00
Matthew Liu
6da0352a84 refactor code to not have current zkp or fhe ctx, instead generic enum 2023-08-01 12:34:20 -07:00
Matthew Liu
bf129c60ff documentation for contextenum 2023-07-31 19:46:19 -07:00
Matthew Liu
2ef629d7ab removed is_multiplication from operatoin trait 2023-07-31 19:44:49 -07:00
Matthew Liu
86dab313e6 refactored some code to unwrap contextenum as an fhecontext 2023-07-31 13:03:02 -07:00
Matthew Liu
8b4d5f523c unwrap methods for context enum 2023-07-31 12:51:49 -07:00
Matthew Liu
2956560aeb contextenum for fhe and zkp ctx 2023-07-31 12:35:34 -07:00
Matthew Liu
dd68f2cc1c conditioanl compilation for debugdata 2023-07-28 12:21:23 -07:00
Matthew Liu
a2fa6df913 fmt 2023-07-28 11:10:12 -07:00
Matthew Liu
5f15507af6 clippy 2023-07-28 11:09:14 -07:00
Bryan Li
b4a2717e38 Merge branch 'mliu-backend' into bryan/zkp-backend 2023-07-28 11:02:54 -07:00
rickwebiii
1dcfdaa5be Fix lookup 2023-07-27 16:28:45 -07:00
rickwebiii
30f293d752 SessionProvider 2023-07-27 14:28:18 -07:00
Matthew Liu
e2659060d7 updated construction of expected graphs for fhe_program_tests 2023-07-27 12:55:24 -07:00
Bryan Li
1651eec0a5 added name metadata to zkp programs 2023-07-27 11:55:58 -07:00
Matthew Liu
21496d47a0 fmt 2023-07-26 03:15:36 -07:00
Matthew Liu
4f06873305 clippy 2023-07-26 03:15:29 -07:00
Matthew Liu
089eb22c2e can now display stack traces 2023-07-26 03:10:38 -07:00
Matthew Liu
9293f05e70 format 2023-07-24 11:26:42 -07:00
Matthew Liu
c571744480 changed serializable enums to be internally tagged 2023-07-24 10:27:30 -07:00
Matthew Liu
a193ab4aaf fmt changes. also can display coefficients of plaintexts 2023-07-21 15:09:29 -07:00
Matthew Liu
6dc90d80f4 more compilation errors for struct variants of Operatio nenum fixed 2023-07-20 13:53:09 -07:00
Matthew Liu
2309793881 two changes: modified Operation enum to be struct instead of tuple variants and fixed associated compilation errors, also removed multiplicaitve depth field from NOdeInfo and fixed corresponding compilation errors 2023-07-20 13:35:42 -07:00
Matthew Liu
2aff8d0f1f compile fixes, added multiplicative_depth field to nodeinfos 2023-07-20 12:30:10 -07:00
Matthew Liu
c950a0a5e6 put multiplicative depth on nodeinfo, also updated operationtrait 2023-07-20 01:27:12 -07:00
Matthew Liu
904361ff84 fmt 2023-07-19 15:39:16 -07:00
Matthew Liu
090a11834b sunscreen fhe znd zkp support for stack ids on ndoes 2023-07-19 15:16:03 -07:00
Matthew Liu
6efb216ffc removed unncessary comments from fhe_program_tests 2023-07-18 13:49:50 -07:00
Matthew Liu
6f628d39a1 fmt fixes 2023-07-18 11:48:15 -07:00
Matthew Liu
bb671603cb passes tests with debugger feature enabled and disabled 2023-07-18 11:47:53 -07:00
Matthew Liu
d73ae29146 fhe program tests now pass with debugger feature enabled, updated group counter when assigning ids to nodes 2023-07-18 11:37:49 -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
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
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
f3df943daa fixed errors due to conditional compilation with debugger feature in fhe_program_tests 2023-07-17 01:04:37 -07:00
Matthew Liu
145295584b format 2023-07-16 23:06:17 -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
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
2eba60472a fxied remaining compilation issues in run 2023-07-14 14:10:36 -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
930db4b619 format fixes 2023-07-12 15:07:33 -07:00
Matthew Liu
b9bd9cc0fe fixed some fhe program tests based on changes to compilationresult data structure 2023-07-12 15:06:21 -07:00
Matthew Liu
8f6a1d7b98 cleaned up some conditional compilation logic in context, also formatting fixes 2023-07-10 11:28:56 -07:00
Matthew Liu
243d748cdf fixed references of .0 into .graph and enabled conditional compilation of debugging structs, but this broke fhe_program proc macro 2023-07-10 11:03:09 -07:00