mbedtls_ssl_conf_ciphersuites() function
Set the list of allowed ciphersuites and the preference order. First in the list has the highest preference. (Overrides all version-specific lists) The ciphersuites array is not copied, and must remain valid for the lifetime of the ssl_config. Note: The server uses its own preferences over the preference of the client unless MBEDTLS_SSL_SRV_RESPECT_CLIENT_PREFERENCE is defined!
Arguments
conf
SSL configuration
ciphersuites
0-terminated list of allowed ciphersuites
Data read by mbedtls_ssl_conf_ciphersuites()
mbedtls_ssl_conf_ciphersuites()