mbedtls_ssl_conf_ciphersuites() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesmbedTLSmbedtls_ssl_conf_ciphersuites()

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!

Syntax

void mbedtls_ssl_conf_ciphersuites( mbedtls_ssl_config *conf,     const int *ciphersuites );
Implemented in ssl_tls.c:7206

Arguments

conf

SSL configuration

ciphersuites

0-terminated list of allowed ciphersuites

References

LocationText
ssl_tls.c:7206
void mbedtls_ssl_conf_ciphersuites( mbedtls_ssl_config *conf,
ssl.h:1970
void mbedtls_ssl_conf_ciphersuites( mbedtls_ssl_config *conf,

Data Use

Data read by mbedtls_ssl_conf_ciphersuites()
mbedtls_ssl_conf_ciphersuites()