Skip to content

Commit 0aea61d

Browse files
curiecryptiquerejeta
authored andcommitted
benches on progress
1 parent e981167 commit 0aea61d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

mithril-core/benches/size_benches.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,11 @@ where
5858
// Aggregate with random parties
5959
let aggr = clerk.aggregate(&sigs, &msg).unwrap();
6060

61-
let sig = sigs[0].clone();
62-
6361
println!(
64-
"k = {} | nr parties = {}; total size of single signatures {} bytes | aggregate signature {} bytes",
62+
"k = {} | m = {} | nr parties = {}; {} bytes",
63+
m,
6564
k,
6665
nparties,
67-
sig.to_bytes().len() * k as usize,
6866
aggr.to_bytes().len() as usize,
6967
);
7068
}
@@ -79,7 +77,7 @@ fn main() {
7977
println!("|-------------------|");
8078
println!("| Trivial proofs |");
8179
println!("+-------------------+");
82-
println!("| This gives and upper bound of the size\n| as it assumes that at most one signature\n| is provided by each participant.");
80+
println!("| Results obtained by using the parameters suggested in paper.");
8381
println!("+-------------------+");
8482

8583
let params: [(u64, u64, usize); 2] = [(445, 2728, 3000), (554, 3597, 3000)];

0 commit comments

Comments
 (0)