Skip to main content

check_key_commitment

Function check_key_commitment 

Source
pub fn check_key_commitment(
    group_key: &[u8; 32],
    nonce: &[u8; 12],
    expected: &[u8; 16],
) -> bool
Expand description

Check key commitment for fast rejection before AEAD.

Uses constant-time comparison to avoid timing side-channels.