tss

Function construct_proof_of_knowledge

Source
pub fn construct_proof_of_knowledge(
    peer: impl ToFrostIdentifier,
    coefficients: &[Scalar],
    commitment: &VerifiableSecretSharingCommitment,
) -> Result<ProofOfKnowledge>
Expand description

Constructs a proof of knowledge for a given peer, using the provided coefficients and commitment.

Flow:

  1. Converts the peer to a FROST identifier.
  2. Uses the FROST library’s compute_proof_of_knowledge function to generate the proof of knowledge.
  3. Returns the generated proof of knowledge.