Skip to content

Add support for Zephyr 4.4#343

Open
Frauschi wants to merge 2 commits into
wolfSSL:masterfrom
Frauschi:zephyr-4.4
Open

Add support for Zephyr 4.4#343
Frauschi wants to merge 2 commits into
wolfSSL:masterfrom
Frauschi:zephyr-4.4

Conversation

@Frauschi

Copy link
Copy Markdown
Contributor

Add a patch for Zephyr secure_socket API support for the latest 4.4.1 Zephyr version. This also splits the patch in a core patch and an optional additional testing patch.

The 4.3 patch is also split into the new core + testing patches.

Latest wolfssl master is required for the 4.4 patches.

Frauschi added 2 commits June 11, 2026 19:36
Repackage the wolfSSL TLS-sockets patch as two patches so applications
that only use the integration no longer have to carry the test
infrastructure:

- zephyr-tls-4.3.0.patch now contains only the core backend (the
  BSD-sockets TLS layer and the RNG/CSPRNG).
- zephyr-tls-4.3.0-tests.patch adds the wolfSSL Twister scenarios and
  the echo_server sample overlay; apply it only to run the tests.

Also drop the unnecessary <wolfssl/internal.h> include from the sockets
TLS backend: the verify callbacks use only the public
WOLFSSL_X509_STORE_CTX surface, so the backend depends solely on
<wolfssl/ssl.h>. Both patches are regenerated against a clean Zephyr
4.3.0 tree, and the README documents the core-required / tests-optional
flow.
Add the wolfSSL TLS-sockets integration for Zephyr 4.4, generated
against the Zephyr 4.4.1 release. Like the 4.3 bundle it ships as two
patches:

- zephyr-tls-4.4.1.patch: the core backend (the BSD-sockets TLS layer
  and the wolfSSL CSPRNG generator).
- zephyr-tls-4.4.1-tests.patch: the wolfSSL Twister scenarios and the
  echo_server sample overlay; apply it only to run the tests.

The integration follows Zephyr 4.4's per-session TLS context refactor
(with DTLS multi-client server support), the ZSOCK_TLS_* socket-option
naming, and the new RNG subsystem. The wolfSSL module fixes it needs are
in wolfSSL upstream (master), so no module patch is bundled. See the
README for the apply flow and details.
@dgarske dgarske requested a review from night1rider June 11, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants