Skip to content

Commit

Permalink
Assorted cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cygnusv committed Sep 20, 2024
1 parent ce71fac commit 5d9bc8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions ferveo-tdec/src/key_share.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pub struct BlindedKeyShare<E: Pairing> {
}

impl<E: Pairing> BlindedKeyShare<E> {
// TODO: Salvage and cleanup
// pub fn verify_blinding<R: RngCore>(
// &self,
// public_key: &PublicKey<E>,
Expand Down
8 changes: 0 additions & 8 deletions ferveo/src/refresh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,6 @@ impl<E: Pairing> UpdateTranscript<E> {
// TODO: Cast return elements into ShareRecoveryUpdate
}

// let validator_set = HashSet::from_iter(validator_public_keys.values().cloned());
// let transcript_validators = self.updates.values()
// .map(|share_update| {
// updates.get(&(p.index as u32)).cloned().unwrap()
// })
// .collect();
// let transcript_validator_set = HashSet::from_iter(.cloned());

// TODO: Unit tests
pub fn verify_recovery(
&self,
Expand Down

0 comments on commit 5d9bc8d

Please sign in to comment.