add KeySize trait (in test cfg) and describe fields in keys

This commit is contained in:
Janmajaya Mall
2024-06-30 15:18:58 +05:30
parent 1ff98541c8
commit 978c0e2f7d
12 changed files with 402 additions and 146 deletions

View File

@@ -11,8 +11,8 @@ fn fhe_circuit(fhe_a: &FheUint8, fhe_b: &FheUint8, fhe_c: &FheUint8) -> FheUint8
}
fn main() {
set_parameter_set(ParameterSelector::MultiPartyLessThanOrEqualTo16);
let no_of_parties = 8;
set_parameter_set(ParameterSelector::InteractiveLTE2Party);
let no_of_parties = 2;
let client_keys = (0..no_of_parties)
.into_iter()
.map(|_| gen_client_key())