pub unsafe extern "C" fn s2n_psk_set_hmac(
    psk: *mut s2n_psk,
    hmac: Type
) -> c_int
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.