Home
last modified time | relevance | path

Searched refs:tls_config (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-3.5.0/subsys/net/lib/mqtt/
Dmqtt_transport_socket_tls.c24 struct mqtt_sec_config *tls_config = &client->transport.tls.config; in mqtt_client_tls_connect() local
48 &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 …]
/Zephyr-Core-3.5.0/samples/net/cloud/aws_iot_mqtt/src/
Dmain.c261 struct mqtt_sec_config *const tls_config = &client_ctx.transport.tls.config; in aws_client_setup() local
263 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()
/Zephyr-Core-3.5.0/samples/net/cloud/mqtt_azure/src/
Dmain.c147 struct mqtt_sec_config *tls_config; in client_init() local
181 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()
/Zephyr-Core-3.5.0/samples/net/mqtt_publisher/src/
Dmain.c326 struct mqtt_sec_config *tls_config = &client->transport.tls.config; in client_init() local
328 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()
/Zephyr-Core-3.5.0/tests/subsys/jwt/
DCMakeLists.txt10 zephyr_include_directories(${APPLICATION_SOURCE_DIR}/src/tls_config)
/Zephyr-Core-3.5.0/doc/connectivity/networking/api/
Dmqtt.rst145 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;
/Zephyr-Core-3.5.0/samples/tfm_integration/psa_crypto/
DCMakeLists.txt29 zephyr_include_directories(${APPLICATION_SOURCE_DIR}/src/tls_config)