From 5a9a42f0252587d2c57a8fce270351d89add1c50 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Tue, 7 Mar 2023 03:48:16 -0500 Subject: [PATCH] Use variable time for verifying PoKs in the DKG --- crypto/dkg/src/frost.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/dkg/src/frost.rs b/crypto/dkg/src/frost.rs index f137e04b..2c4d74d4 100644 --- a/crypto/dkg/src/frost.rs +++ b/crypto/dkg/src/frost.rs @@ -274,7 +274,7 @@ impl SecretShareMachine { }) .collect::>(); - 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)