add demo for DTLS server that offloads all crypto to wolfHSM server#283
Draft
JacobBarthelmeh wants to merge 1 commit intowolfSSL:mainfrom
Draft
add demo for DTLS server that offloads all crypto to wolfHSM server#283JacobBarthelmeh wants to merge 1 commit intowolfSSL:mainfrom
JacobBarthelmeh wants to merge 1 commit intowolfSSL:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new TLS/DTLS server demo under examples/demo/dtls_server that connects to a wolfHSM POSIX (shared-memory) server and offloads wolfSSL/wolfCrypt operations via crypto callbacks.
Changes:
- Introduces a DTLS server demo implementation (
server.c,server_io.c,server.h) that registers wolfHSM crypto callbacks and performs a DTLS handshake + echo loop. - Adds demo-specific wolfSSL and wolfHSM configuration headers under
config/. - Adds build/run documentation and a standalone Makefile for the demo.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 13 comments.
Show a summary per file
| File | Description |
|---|---|
| examples/demo/dtls_server/server_io.c | Implements wolfSSL DTLS socket/handshake I/O and context setup for the demo. |
| examples/demo/dtls_server/server.h | Public demo server API and configuration struct. |
| examples/demo/dtls_server/server.c | Demo entrypoint: connects to wolfHSM server, registers callbacks, runs echo server. |
| examples/demo/dtls_server/config/wolfhsm_cfg.h | wolfHSM client compile-time configuration for the demo. |
| examples/demo/dtls_server/config/user_settings.h | wolfSSL user settings enabling DTLS/TLS13 + crypto callback support. |
| examples/demo/dtls_server/README.md | Build/run instructions and integration explanation for the demo. |
| examples/demo/dtls_server/Makefile | Build recipe for the demo binary. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
7ed8ade to
37f77f7
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated 6 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
37f77f7 to
13f0c58
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.