Use variable time for verifying PoKs in the DKG

This commit is contained in:
Luke Parker 2023-03-07 03:48:16 -05:00
parent 7d12c785b7
commit 5a9a42f025
No known key found for this signature in database

View file

@ -274,7 +274,7 @@ impl<C: Ciphersuite> SecretShareMachine<C> {
})
.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());
Ok(commitments)