Uh oh!
There was an error while loading. Please reload this page.
wolfHSM: add DTLS client example that uses HSM as cryptographic back end - #555
Conversation
bigbrett
commented
Mar 18, 2026
@rizlik sorry for delay on this. Pls resolve merge conflict |
padelsbach
commented
Jul 13, 2026
@rizlik, can you please resolve the conflicts? |
71c3a4a to
93063e8CompareThere 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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
93063e8 to
113482eCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
No description provided.