Skip to main content

commitment_matches

Function commitment_matches 

Source
pub fn commitment_matches(commitment: &[u8; 32], keys: &[u8]) -> bool
Expand description

Whether revealed key bytes are the ones a commitment was made to. A mismatch is the abort path: the enrollee revealed keys it did not commit to, or the commitment was substituted.