Skip to content

add demo for DTLS server that offloads all crypto to wolfHSM server#283

Draft
JacobBarthelmeh wants to merge 1 commit intowolfSSL:mainfrom
JacobBarthelmeh:dtls_demo
Draft

add demo for DTLS server that offloads all crypto to wolfHSM server#283
JacobBarthelmeh wants to merge 1 commit intowolfSSL:mainfrom
JacobBarthelmeh:dtls_demo

Conversation

@JacobBarthelmeh
Copy link
Contributor

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

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.

1 participant