Commit Graph

144 Commits

Author SHA1 Message Date
720b13faba Add parallelism to aggregate_non_interactive_multi_party_server_key_shares
For example,

In a `12 cores` server with `48GB RAM`,
the call to `aggregate_server_key_shares`:
- for `examples/if_and_else`:
  - prior to this commit it took `47.56s`
  - with this commit it takes `4.66s`
- for `examples/non_interactive_fheuint8`:
  - prior to this commit it took `158.15s`
  - with this commit it takes `14.96s`

so about `~10x` reduction.

In a `4 cores` laptop with `8GB RAM` (low capacity laptop, with multiple other apps running    ),
the call to `aggregate_server_key_shares`:
- for `examples/if_and_else`:
  - prior to this commit it took `48.65s`
  - with this commit it takes `23.11s`

so about `~2x` reduction.

Co-authored-by: Carlos Pérez <c.perezbaro@gmail.com>
2024-07-26 00:15:44 +02:00
Janmajaya Mall
b9cfe7536e add fhe bool example 2024-07-24 15:46:43 -07:00
Janmajaya Mall
3587c563dc add fhebool example + fix BatchedFheBool's SampleExtract infinite loop 2024-07-24 15:46:25 -07:00
Janmajaya Mall
a1f966a172 make non-interactive/interactive batched fhe bools struct public 2024-07-24 10:55:09 -07:00
Janmajaya Mall
97daa79f5c impl user facing Encryptor, Decrytor, KeySwitch, SampleExtract for FheBools 2024-07-24 10:44:47 -07:00
Janmajaya Mall
9903232212 add get_active_parameter_set 2024-07-23 15:03:26 -07:00
Janmajaya Mall
8fb7ab3072 update lock 2024-07-23 11:19:21 -07:00
Janmajaya Mall
1b5a2129e0 move num-bigint-dig to dev dependency 2024-07-23 11:15:00 -07:00
Janmajaya Mall
b3eb7e2109 add non-standard FHE bool apis 2024-07-23 11:02:33 -07:00
Janmajaya Mall
06474f9cae make necessary things pub for bool enc 2024-07-16 12:16:08 -07:00
Janmajaya Mall
2239fbe004 fix apis for mp-interactive 2024-07-08 16:28:19 +05:30
Janmajaya Mall
40a442592a update toml 2024-07-08 16:17:41 +05:30
Janmajaya Mall
010a76171a minor 2024-07-08 15:56:00 +05:30
Janmajaya Mall
655c04394c update readme 2024-07-08 15:27:19 +05:30
Janmajaya Mall
9804933068 update readme 2024-07-07 19:45:31 +05:30
Janmajaya Mall
c38d910846 fix examples 2024-07-06 22:29:45 +05:30
Janmajaya Mall
d3b2c5d3a8 remove noise 2024-07-06 09:30:19 +05:30
Janmajaya Mall
811fd3fe7d minor update readme 2024-07-05 16:36:09 +05:30
Janmajaya Mall
ea6afd1b91 update readme 2024-07-05 16:27:40 +05:30
Janmajaya Mall
48466b2568 add readme 2024-07-05 13:08:19 +05:30
Janmajaya Mall
da07898fed make build work with no features 2024-07-05 12:24:34 +05:30
Janmajaya Mall
6776391395 add interactive_mp_bool_gates inside print noise 2024-07-05 10:46:16 +05:30
Janmajaya Mall
66b4dedb5a perform ni boostrtapping 100K times 2024-07-05 10:08:37 +05:30
Janmajaya Mall
56c4276cba add more MP params 2024-07-04 19:01:57 +05:30
Janmajaya Mall
b2814392ab add more multi-party parameters 2024-07-02 19:56:42 +05:30
Janmajaya Mall
7cbe55691f change LWE secret distribution to Error distribution for all parameters 2024-07-02 16:15:09 +05:30
Janmajaya Mall
4e6a9aa3a7 amend interactive fhe uint8 example 2024-07-02 15:28:46 +05:30
Janmajaya Mall
0406a4b47c add NonInteractiveBatchedFheUInt8s for non-interactive MPC; Make multi-party decyrption protocol independent of bool evaluator 2024-07-02 14:13:13 +05:30
Janmajaya Mall
a517dfb83d add div_by_zero example and if_and_else example 2024-07-02 11:53:10 +05:30
Janmajaya Mall
d8d5e40f00 implement min, max, mux 2024-07-02 10:30:11 +05:30
Janmajaya Mall
d74c96d08a remove counts from pbs 2024-07-01 20:21:35 +05:30
Janmajaya Mall
0faa3d027a improve bomberman example 2024-07-01 20:13:02 +05:30
Janmajaya Mall
8877c4a438 elaborate non-interactive mpc example 2024-07-01 20:00:56 +05:30
Janmajaya Mall
3d735fd082 add more SampleExtract functions 2024-07-01 19:12:42 +05:30
Janmajaya Mall
00e431484e add bomberman example 2024-07-01 17:48:35 +05:30
Janmajaya Mall
72d8cafa95 add bool frontend 2024-07-01 15:26:10 +05:30
Janmajaya Mall
c5a28bd7b3 add meeting long distance friends example 2024-07-01 13:56:25 +05:30
Janmajaya Mall
f2be81f7eb add div by zero 2024-07-01 11:48:10 +05:30
Janmajaya Mall
d260910299 separate ParameterSelector for non-interactive mp and interactive mp 2024-06-30 19:11:42 +05:30
Janmajaya Mall
fef9fa4b6e add more comments 2024-06-30 17:54:01 +05:30
Janmajaya Mall
978c0e2f7d add KeySize trait (in test cfg) and describe fields in keys 2024-06-30 15:18:58 +05:30
Janmajaya Mall
1ff98541c8 implement DoubleDecomposer for Rlwe Decomposer 2024-06-30 11:17:18 +05:30
Janmajaya Mall
f5f3700ea4 add more comments in traits inside rgdw/runtime 2024-06-29 20:11:49 +05:30
Janmajaya Mall
bc02262f9d modify rgsw/runtime ot use traits 2024-06-29 19:22:15 +05:30
Janmajaya Mall
e4ceab23d8 remove is_trivial from shoup ops 2024-06-29 10:21:35 +05:30
Janmajaya Mall
71901378b0 clean rgsw/runtime 2024-06-28 19:55:42 +05:30
Janmajaya Mall
acc51ce402 clean rgsw/keygen 2024-06-28 18:43:58 +05:30
Janmajaya Mall
8e6cde2d89 clean lwe 2024-06-28 17:51:40 +05:30
Janmajaya Mall
3eeae8b47f update NI_2P parameters 2024-06-27 18:46:38 +05:30
Janmajaya Mall
89f5dbc461 non-interactive RGSW ct works with different bases 2024-06-27 18:39:49 +05:30