Function esp_idf_svc::sys::esp_transport_ssl_set_psk_key_hint

source ยท
pub unsafe extern "C" fn esp_transport_ssl_set_psk_key_hint(
    t: *mut esp_transport_item_t,
    psk_hint_key: *const psk_key_hint,
)
Expand description

@brief Set PSK key and hint for PSK server/client verification in esp-tls component. Important notes: - This function stores the pointer to data, rather than making a copy. So this data must remain valid until after the connection is cleaned up - ESP_TLS_PSK_VERIFICATION config option must be enabled in menuconfig - certificate verification takes priority so it must not be configured to enable PSK method.

@param t ssl transport @param[in] psk_hint_key psk key and hint structure defined in esp_tls.h