mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-05 18:39:23 +00:00
Use variable time for verifying PoKs in the DKG
This commit is contained in:
parent
7d12c785b7
commit
5a9a42f025
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ impl<C: Ciphersuite> SecretShareMachine<C> {
|
||||||
})
|
})
|
||||||
.collect::<HashMap<_, _>>();
|
.collect::<HashMap<_, _>>();
|
||||||
|
|
||||||
batch.verify_with_vartime_blame().map_err(FrostError::InvalidProofOfKnowledge)?;
|
batch.verify_vartime_with_vartime_blame().map_err(FrostError::InvalidProofOfKnowledge)?;
|
||||||
|
|
||||||
commitments.insert(self.params.i, self.our_commitments.drain(..).collect());
|
commitments.insert(self.params.i, self.our_commitments.drain(..).collect());
|
||||||
Ok(commitments)
|
Ok(commitments)
|
||||||
|
|
Loading…
Reference in a new issue