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:
- Converts the peer to a FROST identifier.
- Uses the FROST library’s compute_proof_of_knowledge function to generate the proof of knowledge.
- Returns the generated proof of knowledge.