pub fn verify_proof_of_knowledge(
peer: impl ToFrostIdentifier,
commitment: &VerifiableSecretSharingCommitment,
proof_of_knowledge: ProofOfKnowledge,
) -> Result<()>
Expand description
Verifies a proof of knowledge for a given peer, using the provided commitment and proof of knowledge.
Flow:
- Converts the peer to a FROST identifier.
- Uses the FROST library’s verify_proof_of_knowledge function to verify the proof of knowledge.
- Returns the result of the verification.