Searched refs:tls_config (Results 1 – 9 of 9) sorted by relevance
24 struct mqtt_sec_config *tls_config = &client->transport.tls.config; in mqtt_client_tls_connect() local48 &tls_config->peer_verify, in mqtt_client_tls_connect()49 sizeof(tls_config->peer_verify)); in mqtt_client_tls_connect()54 if (tls_config->cipher_list != NULL && tls_config->cipher_count > 0) { in mqtt_client_tls_connect()56 TLS_CIPHERSUITE_LIST, tls_config->cipher_list, in mqtt_client_tls_connect()57 sizeof(int) * tls_config->cipher_count); in mqtt_client_tls_connect()63 if (tls_config->sec_tag_list != NULL && tls_config->sec_tag_count > 0) { in mqtt_client_tls_connect()65 TLS_SEC_TAG_LIST, tls_config->sec_tag_list, in mqtt_client_tls_connect()66 sizeof(sec_tag_t) * tls_config->sec_tag_count); in mqtt_client_tls_connect()73 if (tls_config->alpn_protocol_name_list != NULL && in mqtt_client_tls_connect()[all …]
265 struct mqtt_sec_config *const tls_config = &client_ctx.transport.tls.config; in aws_client_setup() local267 tls_config->peer_verify = TLS_PEER_VERIFY_REQUIRED; in aws_client_setup()268 tls_config->cipher_list = NULL; in aws_client_setup()269 tls_config->sec_tag_list = sec_tls_tags; in aws_client_setup()270 tls_config->sec_tag_count = ARRAY_SIZE(sec_tls_tags); in aws_client_setup()271 tls_config->hostname = CONFIG_AWS_ENDPOINT; in aws_client_setup()272 tls_config->cert_nocopy = TLS_CERT_NOCOPY_NONE; in aws_client_setup()274 tls_config->alpn_protocol_name_list = alpn_list; in aws_client_setup()275 tls_config->alpn_protocol_name_count = ARRAY_SIZE(alpn_list); in aws_client_setup()
487 struct mqtt_sec_config *tls_config; in app_mqtt_init() local497 tls_config = &client->transport.tls.config; in app_mqtt_init()498 tls_config->peer_verify = TLS_PEER_VERIFY_REQUIRED; in app_mqtt_init()499 tls_config->cipher_list = NULL; in app_mqtt_init()500 tls_config->sec_tag_list = m_sec_tags; in app_mqtt_init()501 tls_config->sec_tag_count = ARRAY_SIZE(m_sec_tags); in app_mqtt_init()503 tls_config->hostname = TLS_SNI_HOSTNAME; in app_mqtt_init()505 tls_config->hostname = NULL; in app_mqtt_init()
148 struct mqtt_sec_config *tls_config; in client_init() local182 tls_config = &client->transport.tls.config; in client_init()184 tls_config->peer_verify = TLS_PEER_VERIFY_REQUIRED; in client_init()185 tls_config->cipher_list = NULL; in client_init()186 tls_config->sec_tag_list = m_sec_tags; in client_init()187 tls_config->sec_tag_count = ARRAY_SIZE(m_sec_tags); in client_init()188 tls_config->hostname = TLS_SNI_HOSTNAME; in client_init()
326 struct mqtt_sec_config *tls_config = &client->transport.tls.config; in client_init() local328 tls_config->peer_verify = TLS_PEER_VERIFY_REQUIRED; in client_init()329 tls_config->cipher_list = NULL; in client_init()330 tls_config->sec_tag_list = m_sec_tags; in client_init()331 tls_config->sec_tag_count = ARRAY_SIZE(m_sec_tags); in client_init()333 tls_config->hostname = TLS_SNI_HOSTNAME; in client_init()335 tls_config->hostname = NULL; in client_init()
11 zephyr_include_directories(${APPLICATION_SOURCE_DIR}/src/tls_config)
88 - In :file:`tls_config/cert.h`, set ``ca_certificate[]`` to the contents of the cert.
10 zephyr_include_directories(${APPLICATION_SOURCE_DIR}/src/tls_config)
146 struct mqtt_sec_config *tls_config = &client_ctx.transport.tls.config;148 tls_config->peer_verify = TLS_PEER_VERIFY_REQUIRED;149 tls_config->cipher_list = NULL;150 tls_config->sec_tag_list = m_sec_tags;151 tls_config->sec_tag_count = ARRAY_SIZE(m_sec_tags);152 tls_config->hostname = MQTT_BROKER_HOSTNAME;