wolfHSM: add DTLS client example that uses HSM as cryptographic back end#555
Open
rizlik wants to merge 1 commit into
Open
wolfHSM: add DTLS client example that uses HSM as cryptographic back end#555rizlik wants to merge 1 commit into
rizlik wants to merge 1 commit into
Conversation
bigbrett
previously approved these changes
Mar 18, 2026
Contributor
|
@rizlik sorry for delay on this. Pls resolve merge conflict |
Contributor
|
@rizlik, can you please resolve the conflicts? |
rizlik
force-pushed
the
dtls_wolfhsm_client_example
branch
from
July 14, 2026 13:06
71c3a4a to
93063e8
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces a new hsm/ area to the examples repository, adding a DTLS client example that demonstrates using wolfHSM as the cryptographic backend (keeping private key operations on the HSM), and wires the new area into the top-level documentation.
Changes:
- Added a new
hsm/documentation entry and anhsm/README.mdlanding page for wolfHSM-related examples. - Added a DTLS client example (
hsm/dtls_client/) including build/run tooling (Makefile) and required wolfSSL/wolfHSM configuration headers. - Implemented a DTLS client that offloads ECC signing to wolfHSM via PK callbacks.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds a new “HSM” section to the top-level directory listing. |
| hsm/README.md | Introduces wolfHSM examples landing documentation and a quick-start. |
| hsm/dtls_client/Makefile | Provides build/run automation, including cloning wolfSSL/wolfHSM and building the DTLS client + servers. |
| hsm/dtls_client/README.md | Documents build/run steps and architecture for the DTLS client example. |
| hsm/dtls_client/user_settings.h | Supplies wolfSSL user settings needed for DTLS + crypto-callback/HSM integration. |
| hsm/dtls_client/wolfhsm_cfg.h | Sets wolfHSM compile-time configuration for the DTLS client example. |
| hsm/dtls_client/wh_dtls_client.c | Implements the DTLS client using wolfHSM for ECC signing operations. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
rizlik
force-pushed
the
dtls_wolfhsm_client_example
branch
from
July 14, 2026 13:23
93063e8 to
113482e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.