/Zephyr-Core-2.7.6/subsys/net/lib/mqtt/ |
D | mqtt_transport_socket_tls.c | 24 struct mqtt_sec_config *tls_config = &client->transport.tls.config; in mqtt_client_tls_connect() 27 client->transport.tls.sock = zsock_socket(broker->sa_family, in mqtt_client_tls_connect() 29 if (client->transport.tls.sock < 0) { in mqtt_client_tls_connect() 33 MQTT_TRC("Created socket %d", client->transport.tls.sock); in mqtt_client_tls_connect() 37 ret = setsockopt(client->transport.tls.sock, in mqtt_client_tls_connect() 47 ret = zsock_setsockopt(client->transport.tls.sock, SOL_TLS, TLS_PEER_VERIFY, in mqtt_client_tls_connect() 55 ret = zsock_setsockopt(client->transport.tls.sock, SOL_TLS, in mqtt_client_tls_connect() 64 ret = zsock_setsockopt(client->transport.tls.sock, SOL_TLS, in mqtt_client_tls_connect() 73 ret = zsock_setsockopt(client->transport.tls.sock, SOL_TLS, in mqtt_client_tls_connect() 87 ret = zsock_connect(client->transport.tls.sock, client->broker, in mqtt_client_tls_connect() [all …]
|
/Zephyr-Core-2.7.6/arch/x86/core/ia32/ |
D | tls.c | 27 sd->base_low = thread->tls & 0xFFFFU; in z_x86_tls_update_gdt() 28 sd->base_mid = (thread->tls >> 16) & 0xFFU; in z_x86_tls_update_gdt() 29 sd->base_hi = (thread->tls >> 24) & 0xFFU; in z_x86_tls_update_gdt()
|
/Zephyr-Core-2.7.6/subsys/net/lib/sockets/ |
D | sockets_tls.c | 340 struct tls_context *tls = NULL; in tls_alloc() local 346 tls = &tls_contexts[i]; in tls_alloc() 347 (void)memset(tls, 0, sizeof(*tls)); in tls_alloc() 348 tls->is_used = true; in tls_alloc() 349 tls->options.verify_level = -1; in tls_alloc() 350 tls->sock = -1; in tls_alloc() 352 NET_DBG("Allocated TLS context, %p", tls); in tls_alloc() 359 if (tls) { in tls_alloc() 360 k_sem_init(&tls->tls_established, 0, 1); in tls_alloc() 362 mbedtls_ssl_init(&tls->ssl); in tls_alloc() [all …]
|
/Zephyr-Core-2.7.6/samples/net/sockets/http_get/ |
D | README.rst | 47 ``overlay-tls.conf`` overlay file enabled, for example, using these commands: 52 :conf: "prj.conf overlay-tls.conf" 56 An alternative way is to specify ``-DOVERLAY_CONFIG=overlay-tls.conf`` when 60 ``overlay-tls-offload.conf`` instead of ``overlay-tls.conf``.
|
/Zephyr-Core-2.7.6/arch/riscv/core/ |
D | tls.c | 32 new_thread->tls = POINTER_TO_UINT(stack_ptr); in arch_tls_stack_setup()
|
D | CMakeLists.txt | 20 zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE tls.c)
|
/Zephyr-Core-2.7.6/arch/sparc/core/ |
D | tls.c | 16 new_thread->tls = POINTER_TO_UINT(stack_ptr); in arch_tls_stack_setup()
|
D | CMakeLists.txt | 20 zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE tls.c)
|
/Zephyr-Core-2.7.6/arch/arc/core/ |
D | tls.c | 39 new_thread->tls = POINTER_TO_UINT(stack_ptr); in arch_tls_stack_setup()
|
D | CMakeLists.txt | 31 zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE tls.c)
|
D | thread.c | 127 regs->r26 = thread->tls; in arch_setup_callee_saved_regs() 130 regs->r30 = thread->tls; in arch_setup_callee_saved_regs()
|
/Zephyr-Core-2.7.6/arch/arm64/core/ |
D | tls.c | 40 new_thread->tls = POINTER_TO_UINT(stack_ptr); in arch_tls_stack_setup()
|
D | CMakeLists.txt | 23 zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE tls.c)
|
/Zephyr-Core-2.7.6/arch/arm/core/common/ |
D | tls.c | 50 new_thread->tls = POINTER_TO_UINT(stack_ptr);
|
/Zephyr-Core-2.7.6/tests/kernel/threads/tls/ |
D | CMakeLists.txt | 5 project(tls) project
|
/Zephyr-Core-2.7.6/arch/x86/core/ |
D | tls.c | 38 new_thread->tls = POINTER_TO_UINT(self_ptr); in arch_tls_stack_setup()
|
D | CMakeLists.txt | 24 zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE tls.c)
|
/Zephyr-Core-2.7.6/arch/xtensa/core/ |
D | tls.c | 44 new_thread->tls = POINTER_TO_UINT(stack_ptr); in arch_tls_stack_setup()
|
D | CMakeLists.txt | 18 zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE tls.c)
|
/Zephyr-Core-2.7.6/samples/net/sockets/http_client/ |
D | README.rst | 39 ``overlay-tls.conf`` overlay file enabled using these commands: 44 :conf: "prj.conf overlay-tls.conf" 48 An alternative way is to specify ``-DOVERLAY_CONFIG=overlay-tls.conf`` when
|
/Zephyr-Core-2.7.6/samples/net/sockets/websocket_client/ |
D | README.rst | 40 ``overlay-tls.conf`` overlay file enabled using these commands: 45 :conf: "prj.conf overlay-tls.conf" 49 An alternative way is to specify ``-DOVERLAY_CONFIG=overlay-tls.conf`` when
|
/Zephyr-Core-2.7.6/samples/net/sockets/echo_server/ |
D | README.rst | 54 - :file:`overlay-tls.conf` 99 ``overlay-tls.conf`` overlay file enabled, for example, using these commands: 104 :conf: "prj.conf overlay-tls.conf" 108 An alternative way is to specify ``-DOVERLAY_CONFIG=overlay-tls.conf`` when
|
/Zephyr-Core-2.7.6/arch/arm/core/aarch32/ |
D | CMakeLists.txt | 21 zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE ../common/tls.c)
|
/Zephyr-Core-2.7.6/samples/net/sockets/echo_client/ |
D | README.rst | 50 - :file:`overlay-tls.conf` 94 ``overlay-tls.conf`` overlay file enabled, for example, using these commands: 99 :conf: "prj.conf overlay-tls.conf" 103 An alternative way is to specify ``-DOVERLAY_CONFIG=overlay-tls.conf`` when
|
/Zephyr-Core-2.7.6/samples/net/sockets/big_http_download/ |
D | README.rst | 68 ``overlay-tls.conf`` overlay file enabled, for example, using these commands: 73 :conf: "prj.conf overlay-tls.conf" 77 An alternative way is to specify ``-DOVERLAY_CONFIG=overlay-tls.conf`` when
|