@@ -70,7 +70,7 @@ mod tests {
70
70
// encryption
71
71
let ( segments, encryptions_secret_party1) = party_one_master_key
72
72
. private
73
- . to_encrypted_segment ( & segment_size, 32 , & Y , & G ) ;
73
+ . to_encrypted_segment ( segment_size, 32 , & Y , & G ) ;
74
74
// proof and verify test:
75
75
76
76
let proof = Proof :: prove ( & segments, & encryptions_secret_party1, & G , & Y , & segment_size) ;
@@ -106,12 +106,12 @@ mod tests {
106
106
let ( _, encryptions_secret_party1) =
107
107
party_one_master_key
108
108
. private
109
- . to_encrypted_segment ( & segment_size, 32 , & Y , & G ) ;
109
+ . to_encrypted_segment ( segment_size, 32 , & Y , & G ) ;
110
110
// encryption
111
111
let ( _, encryptions_secret_party2) =
112
112
party_two_master_key
113
113
. private
114
- . to_encrypted_segment ( & segment_size, 32 , & Y , & G ) ;
114
+ . to_encrypted_segment ( segment_size, 32 , & Y , & G ) ;
115
115
116
116
// first case: party one is dead, party two wants to recover the full key.
117
117
// In practice party two will recover party_one_master_key and from that point will run both logic parties locally
0 commit comments