Function s2n_tls_sys::s2n_psk_set_hmac
source · [−]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.