3.3.4 Use FROST context throughout Encryption

This commit is contained in:
Luke Parker
2023-02-23 07:19:55 -05:00
parent 2d56d24d9c
commit 4d6a0bbd7d
3 changed files with 64 additions and 37 deletions

View File

@@ -132,7 +132,7 @@ impl<C: Ciphersuite> KeyGenMachine<C> {
);
// Additionally create an encryption mechanism to protect the secret shares
let encryption = Encryption::new(b"FROST", self.params.i, rng);
let encryption = Encryption::new(self.context.clone(), self.params.i, rng);
// Step 4: Broadcast
let msg =