mirror of
https://github.com/arnaucube/phantom-zone.git
synced 2026-01-09 23:51:30 +01:00
add more multi-party parameters
This commit is contained in:
@@ -20,14 +20,14 @@ fn function2_fhe(a: &FheUint8, b: &FheUint8, c: &FheUint8, d: &FheUint8) -> FheU
|
||||
|
||||
fn main() {
|
||||
// Select parameter set
|
||||
set_parameter_set(ParameterSelector::InteractiveLTE2Party);
|
||||
set_parameter_set(ParameterSelector::InteractiveLTE4Party);
|
||||
|
||||
// set application's common reference seed
|
||||
let mut seed = [0u8; 32];
|
||||
thread_rng().fill_bytes(&mut seed);
|
||||
set_common_reference_seed(seed);
|
||||
|
||||
let no_of_parties = 2;
|
||||
let no_of_parties = 4;
|
||||
|
||||
// Client side //
|
||||
|
||||
|
||||
Reference in New Issue
Block a user