Skip to content

Fix ML-DSA example in docs - #143

Merged
JacobBarthelmeh merged 2 commits into
wolfSSL:masterfrom
embhorn:zd22306
Aug 10, 2026
Merged

Fix ML-DSA example in docs#143
JacobBarthelmeh merged 2 commits into
wolfSSL:masterfrom
embhorn:zd22306

Conversation

@embhorn

@embhorn embhorn commented Aug 7, 2026

Copy link
Copy Markdown
Member

Example in doc was not updated after FIPS-204 changes

@embhorn
embhorn requested review from kojiws and a lite review from Copilot and removed request for Copilot August 7, 2026 19:12
Copilot AI lite review requested due to automatic review settings August 7, 2026 19:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the ML-DSA documentation examples to match the post–FIPS-204 API expectations around signing/verifying with an explicit context value.

Changes:

  • Update ML-DSA signing example to pass ctx=b""
  • Update ML-DSA verification example to pass ctx=b""
  • Apply the same change to the export/import keys example

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kojiws kojiws left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! LGTM.

@JacobBarthelmeh
JacobBarthelmeh merged commit cb9885b into wolfSSL:master Aug 10, 2026
2 checks passed
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.

5 participants