@@ -30,13 +30,6 @@ pub mod dkgith_decls {
30
30
use super :: BatchedHashedElgamalCiphertext ;
31
31
use verifiable_encryption:: tz_21:: dkgith:: { CompressedCiphertext , DkgithProof } ;
32
32
33
- // Very large values for repetitions cause stack overflow
34
- // pub const NUM_PARTIES: usize = 4;
35
- // pub const NUM_REPS: usize = 64;
36
- // pub const SUBSET_SIZE: usize = 48;
37
- // pub const DEPTH: usize = 2;
38
- // pub const NUM_NODES: usize = 7;
39
-
40
33
pub const NUM_PARTIES : usize = 16 ;
41
34
pub const NUM_REPS : usize = 32 ;
42
35
pub const SUBSET_SIZE : usize = 30 ;
@@ -64,16 +57,16 @@ pub mod rdkgith_decls {
64
57
use dock_crypto_utils:: elgamal:: BatchedHashedElgamalCiphertext ;
65
58
use verifiable_encryption:: tz_21:: rdkgith:: { CompressedCiphertext , RdkgithProof } ;
66
59
67
- // Very large values cause stack overflow
68
- // pub const NUM_PARTIES: usize = 192;
69
- // pub const THRESHOLD: usize = 36;
70
- // pub const NUM_PARTIES_MINUS_THRESHOLD: usize = 156;
71
- // pub const SUBSET_SIZE: usize = 145;
60
+ pub const NUM_PARTIES : usize = 192 ;
61
+ pub const THRESHOLD : usize = 36 ;
62
+ pub const NUM_PARTIES_MINUS_THRESHOLD : usize = 156 ;
63
+ pub const SUBSET_SIZE : usize = 145 ;
72
64
73
- pub const NUM_PARTIES : usize = 50 ;
74
- pub const THRESHOLD : usize = 35 ;
75
- pub const NUM_PARTIES_MINUS_THRESHOLD : usize = 15 ;
76
- pub const SUBSET_SIZE : usize = 10 ;
65
+ // Very large values cause stack overflow so use them when testing on smaller stack
66
+ // pub const NUM_PARTIES: usize = 50;
67
+ // pub const THRESHOLD: usize = 35;
68
+ // pub const NUM_PARTIES_MINUS_THRESHOLD: usize = 15;
69
+ // pub const SUBSET_SIZE: usize = 10;
77
70
78
71
pub type Proof < G > = RdkgithProof <
79
72
G ,
0 commit comments