Searched +full:thread +full:- +full:cert (Results 1 – 5 of 5) sorted by relevance
4 * SPDX-License-Identifier: Apache-2.025 #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 identifiers51 * - 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 …]
2 * Copyright (c) 2019-2020 Foundries.io4 * SPDX-License-Identifier: Apache-2.091 /* 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 …]
4 * SPDX-License-Identifier: Apache-2.046 #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 …]
9 * Copyright (c) 2017-2018 Linaro Limited12 * SPDX-License-Identifier: Apache-2.075 /** 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 containing129 /** 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 - none138 * - 1 - optional139 * - 2 - required[all …]
13 * Added support for 64-bit ARCv314 * Split ARM32 and ARM64, ARM64 is now a top-level architecture15 * Added initial support for Arm v8.1-m and Cortex-M5522 https://github.com/zephyrproject-rtos/example-application34 * CVE-2021-3581: Under embargo until 2021-09-0441 <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 change194 * Added support for null pointer dereferencing detection in Cortex-M.[all …]