Commit Graph

126 Commits

Author SHA1 Message Date
Matthew Liu
cddc0f06db error handling for run program unchecked 2023-07-25 15:19:36 -07:00
Matthew Liu
e280a21422 added a 2nd call to mad for debugging example. also inserted some dummy keys for stack lookup 2023-07-24 14:20:58 -07:00
Matthew Liu
eaddb9d6b9 updated serialization types 2023-07-24 09:25:30 -07:00
Matthew Liu
ce542d819e WIP 2023-07-21 13:11:39 -07:00
Matthew Liu
a59b0eb892 removed some old/dead code from server and added backtrace to compiler crate 2023-07-20 00:20:57 -07:00
Matthew Liu
38224850a7 stack id for node info and context changes 2023-07-19 13:20:47 -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
c113eaf7d3 fixed async issues, now can support multiple sessions 2023-07-17 14:43:27 -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
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
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
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
0cb4a82498 rick's coimments/changes 2023-07-14 00:06:40 -07:00
Matthew Liu
8ff5b0e012 documentation, removed some unused dependencies 2023-07-13 12:07:47 -07:00
Matthew Liu
78f84fa1cf fixed dependency issues and can now return graph information of basic fhe program 2023-07-10 17:26:01 -07:00
Matthew Liu
40adf1d93f infrastructure for groups 2023-07-09 21:32:32 -07:00
Matthew Liu
a64ff7efcb support to add stack traces and updated dependencies 2023-06-29 15:04:55 -07:00
Matthew Liu
23abae90f9 added a stacktrie struct 2023-06-28 13:17:17 -07:00
Matthew Liu
5842a9f05b updated a toy example to display text from backend 2023-06-22 17:02:12 -07:00
Matthew Liu
e40a9940f6 building backend now builds frontend 2023-06-22 15:02:33 -07:00
Matthew Liu
76557c30b7 updated cargo.toml file to include fhe-debugger, updated submodules 2023-06-21 15:10:44 -07:00
Bryan Li
82d83cf238 Added Sudoku ZKP Example (#253)
* added sudoku zkp example

* edited main

* fixed style

* refactored code

* fixed formatting

* fixed lint
2023-06-13 10:36:38 -07:00
Sam Tay
66211f75b1 Fix 64-bit pointer assumptions (#243)
* Fix 64-bit pointer assumptions

* Appease clippy

* Bump proc-macro2

(Fixes wasm build)
2023-05-30 11:59:20 -07:00
rickwebiii
09ecc0a57d Update syn and a bunch of packages (#242) 2023-05-24 15:28:52 -07:00
rickwebiii
1089e00d1b Separate OpenCL shaders into multiple files (#239)
* Separate OpenCL shaders into multiple files
2023-05-12 17:06:53 -07:00
Sam Tay
60b345cc5e Make gadgets sync (#237)
* Make gadgets send/sync

This lets Application types be send/sync

* Bump curve25519 to appease clippy

* Speed up unsigned tests a tiny bit
2023-05-01 17:45:25 -07:00
Sam Tay
ace6d97140 Add a bfv::Unsigned type (#236)
* Add a bfv::Unsigned type

* Fix decoding from polynomial?

* Add prop test for addition

* Proptest sub, mul, and mixed cipher/plaintexts

* Reduce code dupe

* Add test for 0 - 1

* Add a few more tests
2023-04-24 11:57:33 -07:00
rickwebiii
ee5d6d9cdc Rweber/cuda (#235)
CUDA implementation
2023-04-10 19:54:24 +01:00
rickwebiii
9785670ae0 Cargo update (#233) 2023-03-30 12:59:01 -07:00
rickwebiii
06e9c1cb2b Rweber/opencl (#230)
OpenCL implementation of curve25519 operations
2023-03-22 14:30:45 -07:00
rickwebiii
af4849ddb5 Time shield circuits (#224)
* Time shield/unshield circuits
2023-03-08 19:19:59 -08:00
rickwebiii
d29f18fbee Rweber/zkp (#221)
* Speed up scalar inversion, move linear relation to criterion benchmark
2023-03-08 16:29:26 -08:00
rickwebiii
55dfdda88c Rweber/zkp (#220)
WebGPU implementation WIP
2023-03-05 16:39:31 -08:00
rickwebiii
6f713d6750 Rweber/zkp (#218)
Private tx range proof
2023-03-02 15:16:45 -08:00
rickwebiii
6604afbf95 ZKP array inputs (#217)
* ZKP array inputs
2023-03-01 13:33:14 -08:00
rickwebiii
745b9b6996 Rweber/zkp (#216)
* GPU accelerate Scalar inversion
* CPU-GPU work sharing
2023-02-28 09:16:07 -08:00
rickwebiii
ee830d6d70 Rweber/zkp (#215)
Bring logproofs into monorepo
2023-02-17 14:44:03 -08:00
rickwebiii
48ebc52576 Rweber/zkp (#211)
Metal GPU accelerated scalar multiplication
2023-02-16 14:31:55 -08:00
rickwebiii
a8be112cb8 Randomness range proof in R1CS now correct (#208)
* Randomness range proof now correct
2023-01-25 11:06:13 -08:00
rickwebiii
61032735f8 Rweber/zkp (#205)
Can create pure R1CS BFV proof.
2023-01-20 13:38:04 -08:00
rickwebiii
2f9acb39a7 Upgrade deps (#201) 2023-01-15 14:01:07 -08:00
rickwebiii
38a67b7d97 Can encode negative numbers onto native fields (#198)
* Can encode negative numbers onto native fields
2023-01-05 15:38:18 -08:00
rickwebiii
d03207e67e Rweber/zkp (#196)
Add BFV playground, Polynomial addition
2022-12-19 12:00:23 -08:00
rickwebiii
18fb031953 Rweber/zkp (#195)
Can now use #[constant] and #[public] inputs
2022-12-09 16:21:34 -08:00
rickwebiii
85e3a60e35 Rweber/zkp (#194)
Add to_unsigned gadget and test
2022-12-08 17:57:31 -08:00
rickwebiii
2e5b7e834b Rweber/refactor (#190)
Refactor sunscreen_fhe_program to use types and functions in sunscreen_compiler_common
2022-11-30 18:02:45 -08:00
rickwebiii
72f00391ea Rweber/zkp (#188)
ZKP works E2E
2022-11-29 13:47:29 -08:00