Searched refs:tls_config (Results 1 – 7 of 7) 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()72 if (tls_config->hostname) { in mqtt_client_tls_connect()[all …]
261 struct mqtt_sec_config *const tls_config = &client_ctx.transport.tls.config; in aws_client_setup() local263 tls_config->peer_verify = TLS_PEER_VERIFY_REQUIRED; in aws_client_setup()264 tls_config->cipher_list = NULL; in aws_client_setup()265 tls_config->sec_tag_list = sec_tls_tags; in aws_client_setup()266 tls_config->sec_tag_count = ARRAY_SIZE(sec_tls_tags); in aws_client_setup()267 tls_config->hostname = CONFIG_AWS_ENDPOINT; in aws_client_setup()268 tls_config->cert_nocopy = TLS_CERT_NOCOPY_NONE; in aws_client_setup()
147 struct mqtt_sec_config *tls_config; in client_init() local181 tls_config = &client->transport.tls.config; in client_init()183 tls_config->peer_verify = TLS_PEER_VERIFY_REQUIRED; in client_init()184 tls_config->cipher_list = NULL; in client_init()185 tls_config->sec_tag_list = m_sec_tags; in client_init()186 tls_config->sec_tag_count = ARRAY_SIZE(m_sec_tags); in client_init()187 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()
10 zephyr_include_directories(${APPLICATION_SOURCE_DIR}/src/tls_config)
145 struct mqtt_sec_config *tls_config = &client_ctx.transport.tls.config;147 tls_config->peer_verify = TLS_PEER_VERIFY_REQUIRED;148 tls_config->cipher_list = NULL;149 tls_config->sec_tag_list = m_sec_tags;150 tls_config->sec_tag_count = ARRAY_SIZE(m_sec_tags);151 tls_config->hostname = MQTT_BROKER_HOSTNAME;
29 zephyr_include_directories(${APPLICATION_SOURCE_DIR}/src/tls_config)