Commit Graph

115 Commits

Author SHA1 Message Date
Matthew Liu
a2fa6df913 fmt 2023-07-28 11:10:12 -07:00
Bryan Li
51d5cede04 functional zkp debugger 2023-07-28 10:49:51 -07:00
Matthew Liu
5a1db2d812 set up params that cause noise budget exceeded in debugger example 2023-07-26 13:20:16 -07:00
Matthew Liu
825212b7ab examples for overflow and chaining 2023-07-26 11:44:12 -07:00
Matthew Liu
5bc777f27b overflow can now only be true for ciphertexts that are the output of an arithmetic operation 2023-07-26 11:29:37 -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
9c5cb9117e format 2023-07-24 11:35:59 -07:00
Matthew Liu
d0043a2c79 remove default cals from chi_sq example 2023-07-24 11:33:38 -07:00
Matthew Liu
e763046e41 added sleep calls in infinite loop to reduce cpu usage 2023-07-24 11:32:53 -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
7900fff130 removed more unnecessary comments 2023-07-18 13:53:30 -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
757f9febb3 clippy fixes 2023-07-17 12:46:42 -07:00
Matthew Liu
71bb374add fmt fixes 2023-07-17 12:45:25 -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
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
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
75d59ce14d created start web server function 2023-07-14 15:21:35 -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
aadde9d162 Offer a simpler API for runtime creation (#246)
* Offer a simpler API for runtime creation

* Update docs and examples to use `FheRuntime::new`
2023-06-06 18:56:46 -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
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
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
3543b88387 Rweber/zkp (#187)
Refactor APIs to support ZKPs
2022-11-22 15:44:00 -08:00
Sam Tay
2db8e90a8d Allow type complexity for macro generated code 2022-10-31 15:30:34 -07:00
Sam Tay
5fcba12967 Simplify example code 2022-10-31 15:30:34 -07:00
Sam Tay
e2e5da3f60 Manually fix the rest of the clippy warnings 2022-10-31 15:30:34 -07:00
Sam Tay
4b53103953 Auto fix clippy warnings 2022-10-31 15:30:34 -07:00
rickwebiii
989fe1c578 Update mean/variance example to use serialization (#173)
* Update mean/variance example to use serialization

* cargo fmt
2022-09-02 15:38:03 -07:00
rickwebiii
3d5385fdd9 Cargo fmt 2022-08-09 16:08:57 -07:00
rickwebiii
7d4495859d Remove unwraps 2022-08-09 16:08:28 -07:00
rickwebiii
18c9b62b1d Add mean_variance example 2022-08-09 14:38:13 -07:00
rickwebiii
121e7be325 Rweber/multiprogram (#130)
Allow compiling multiple FHE programs to use the same parameters.
2022-07-06 17:04:43 -07:00
Rick Weber
12d1b9da5e Add assertion to example 2022-04-26 16:13:40 -07:00
Rick Weber
c15a8c2a1f WASM works 2022-04-25 17:48:54 -07:00
Rick Weber
6387e52acd Move SEAL bench to seperate repo 2022-04-25 10:33:16 -07:00
Rick Weber
18131f5646 PIR 2022-04-23 18:21:15 -07:00
Rick Weber
70b843bc1e Rename compiled_query 2022-04-18 11:34:52 -07:00
Rick Weber
813630a28c cargo fmt 2022-04-14 16:05:55 -07:00
Rick Weber
ab71f63403 Fix comments 2022-04-13 10:24:31 -07:00
Rick Weber
0c9e23b573 Add PIR example 2022-04-13 09:59:30 -07:00
Rick Weber
ad930251dc Add array support 2022-04-12 11:09:59 -07:00