Function s2n_quic_tls::ffi::s2n_psk_set_hmac
source · pub unsafe extern "C" fn s2n_psk_set_hmac(
psk: *mut s2n_psk,
hmac: u32
) -> i32
Expand description
Sets the hash algorithm for a given external PSK object. The supported PSK hash
algorithms are as listed in the enum s2n_psk_hmac
above.
@param psk A pointer to the external PSK object to be updated with the PSK hash algorithm. @param hmac The PSK hash algorithm being set.