esp_idf_svc::sys

Function mbedtls_ssl_get_ciphersuite_id

Source
pub unsafe extern "C" fn mbedtls_ssl_get_ciphersuite_id(
    ciphersuite_name: *const u8,
) -> i32
Expand description

\brief Return the ID of the ciphersuite associated with the given name

\param ciphersuite_name SSL ciphersuite name

\return the ID with the ciphersuite or 0 if not found