Commit Graph

96 Commits

Author SHA1 Message Date
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
Matthew Liu
479a3319d9 format changes 2023-06-27 17:10:52 -07:00
Matthew Liu
02baf6d961 added support for node group ids in fhe compiler 2023-06-27 17:10:42 -07:00
Matthew Liu
70b5d21d7c finished support for group id in zkp programs 2023-06-27 14:27:04 -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
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
Sam Tay
9346677d5d Expose ZkpContextOps 2023-03-29 10:08:52 -07:00
rickwebiii
8b43c6db24 chi sq and unshield proofs (#225)
chi sq and unshield proofs
2023-03-09 13:46:09 -08:00
rickwebiii
af4849ddb5 Time shield circuits (#224)
* Time shield/unshield circuits
2023-03-08 19:19:59 -08:00
rickwebiii
c034f761e7 Rweber/zkp (#223)
* Add smart FHE TX benchmark
2023-03-08 17:49:08 -08:00
rickwebiii
8930295453 Rweber/zkp (#219)
* Add ZKP benchmarks for comparing fractional values
2023-03-03 09:49:51 -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
48ebc52576 Rweber/zkp (#211)
Metal GPU accelerated scalar multiplication
2023-02-16 14:31:55 -08:00
rickwebiii
4e236f7a39 CR comments (#206) 2023-01-20 13:55:41 -08:00
rickwebiii
61032735f8 Rweber/zkp (#205)
Can create pure R1CS BFV proof.
2023-01-20 13:38:04 -08:00
rickwebiii
b36480f0b0 Rweber/zkp (#204)
Can compute quotient and remainder in ZKP.
2023-01-18 17:03:50 -08:00
rickwebiii
e7b82bf6db Can do more comparison operations (#203)
Can do more comparison operations
2023-01-17 16:09:35 -08:00