[][src]Function frost_dalek::precomputation::generate_commitment_share_lists

pub fn generate_commitment_share_lists(
    mut csprng: impl CryptoRng + Rng,
    participant_index: u32,
    number_of_shares: usize
) -> (PublicCommitmentShareList, SecretCommitmentShareList)

Pre-compute a list of CommitmentShares for single-round threshold signing.

Inputs

  • participant_index is the index of the threshold signing participant who is publishing this share.
  • number_of_shares denotes the number of commitments published at a time.

Returns

A tuple of (PublicCommitmentShareList, SecretCommitmentShareList).