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
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
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
d3b2c5d3a8
remove noise
2024-07-06 09:30:19 +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
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
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
Janmajaya Mall
082a08f3d8
in middle of modifying ni mp to use different bases for RLWE x RGSW and RGSW x RGSW
2024-06-26 10:40:59 +07:00
Janmajaya Mall
c8cdd4c291
add CollectRuntimeServerKeyStats trait
2024-06-25 17:36:06 +07:00
Janmajaya Mall
af8fa716b3
add print_noise to collect server key statistics
2024-06-25 11:34:33 +07:00
Janmajaya Mall
53a0ec49af
add high but fast communication for 2pc
2024-06-24 16:13:17 +07:00
Janmajaya Mall
1d7099600a
add differing base feature for RLWExRGSw and RGSWxRGSW for interactive mpc
2024-06-24 15:26:53 +07:00
Janmajaya Mall
5d5100e6d1
move multi-party crs to puncturing
2024-06-23 15:26:15 +07:00
Janmajaya Mall
ab7b1ca40f
fix rounding in decom
2024-06-23 13:38:04 +07:00
Janmajaya Mall
2a62351ba3
decomp checks
2024-06-20 11:53:38 +05:30
Janmajaya Mall
1bfb6dc7a5
fix secret HW and clean a bit
2024-06-20 09:49:28 +05:30
Janmajaya Mall
3236fccd7e
non-interactive example
2024-06-19 13:19:48 +05:30
Janmajaya Mall
656a2d270b
move fhe uint8 api tests
2024-06-19 11:32:02 +05:30
Janmajaya Mall
f40a2ec5d6
rough
2024-06-18 23:01:17 +05:30