Function esp_idf_hal::sys::mbedtls_ssl_conf_encrypt_then_mac

source ยท
pub unsafe extern "C" fn mbedtls_ssl_conf_encrypt_then_mac(
    conf: *mut mbedtls_ssl_config,
    etm: i8,
)
Expand description

\brief Enable or disable Encrypt-then-MAC (Default: MBEDTLS_SSL_ETM_ENABLED)

\note This should always be enabled, it is a security improvement, and should not cause any interoperability issue (used only if the peer supports it too).

\param conf SSL configuration \param etm MBEDTLS_SSL_ETM_ENABLED or MBEDTLS_SSL_ETM_DISABLED