Skip to main content

compute_client_proof

Function compute_client_proof 

Source
pub fn compute_client_proof(psk: &[u8; 32], client_nonce: &[u8; 32]) -> [u8; 32]
Expand description

Compute the HMAC-SHA256 proof for the PSK handshake (client side).

Formula: HMAC-SHA256(client_nonce || AUTH_CONTEXT, PSK)