Home
last modified time | relevance | path

Searched +full:thread +full:- +full:cert (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/net/socket/tls_ext/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
25 #define SECRET "forty-two"
30 #define SECRET_SIZE (sizeof(SECRET) - 1)
32 /** @brief Stack size for the server thread */
37 /** @brief TCP port for the server thread */
44 * @brief Application-dependent TLS credential identifiers
51 * - SERVER_CERTIFICATE_TAG (for both public and private keys)
52 * - CA_CERTIFICATE_TAG (only when client authentication is required)
55 * - CA_CERTIFICATE_TAG (always required, to verify the server)
56 * - CLIENT_CERTIFICATE_TAG (for both public and private keys, only when
[all …]
/Zephyr-latest/drivers/modem/
Dublox-sara-r4.c2 * Copyright (c) 2019-2020 Foundries.io
4 * SPDX-License-Identifier: Apache-2.0
91 /* RX thread structures */
97 /* RX thread work queue */
209 int rc = -1; in find_apn()
219 s--; in find_apn()
223 s--; in find_apn()
231 s--; in find_apn()
237 int len = eos - s; in find_apn()
255 int rc = -1; in modem_detect_apn()
[all …]
/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/src/
Dmqtt_client.c4 * SPDX-License-Identifier: Apache-2.0
46 #include "tls_config/cert.h"
48 /* This should match the CN field in the server's CA cert */
74 if (client->transport.type == MQTT_TRANSPORT_NON_SECURE) { in prepare_fds()
75 fds[0].fd = client->transport.tcp.sock; in prepare_fds()
78 else if (client->transport.type == MQTT_TRANSPORT_SECURE) { in prepare_fds()
79 fds[0].fd = client->transport.tls.sock; in prepare_fds()
139 evt->param.publish.message.topic.topic.utf8, payload); in on_mqtt_publish()
142 if (strcmp(evt->param.publish.message.topic.topic.utf8, in on_mqtt_publish()
151 switch (evt->type) { in mqtt_event_handler()
[all …]
/Zephyr-latest/include/zephyr/net/
Dsocket.h9 * Copyright (c) 2017-2018 Linaro Limited
12 * SPDX-License-Identifier: Apache-2.0
75 /** zsock_recv/zsock_send: Override operation to non-blocking */
85 /* Well-known values, e.g. from Linux man 2 shutdown:
118 /** Write-only socket option to set hostname. It accepts a string containing
129 /** Read-only socket option to read a ciphersuite chosen during TLS handshake.
134 /** Write-only socket option to set peer verification level for TLS connection.
137 * - 0 - none
138 * - 1 - optional
139 * - 2 - required
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-2.6.rst13 * Added support for 64-bit ARCv3
14 * Split ARM32 and ARM64, ARM64 is now a top-level architecture
15 * Added initial support for Arm v8.1-m and Cortex-M55
22 https://github.com/zephyrproject-rtos/example-application
34 * CVE-2021-3581: Under embargo until 2021-09-04
41 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
46 * Driver APIs now return ``-ENOSYS`` if optional functions are not implemented.
47 If the feature is not supported by the hardware ``-ENOTSUP`` will be returned.
48 Formerly ``-ENOTSUP`` was returned for both failure modes, meaning this change
194 * Added support for null pointer dereferencing detection in Cortex-M.
[all …]