Skip to content

Rename Dilithium API to ML-DSA and make CI track latest wolfSSL stable#33

Merged
dgarske merged 3 commits into
wolfSSL:mainfrom
aidangarske:mldsa-rename
Jun 3, 2026
Merged

Rename Dilithium API to ML-DSA and make CI track latest wolfSSL stable#33
dgarske merged 3 commits into
wolfSSL:mainfrom
aidangarske:mldsa-rename

Conversation

@aidangarske
Copy link
Copy Markdown
Member

@aidangarske aidangarske commented May 30, 2026

Description

Copilot AI review requested due to automatic review settings May 30, 2026 20:02
@aidangarske aidangarske marked this pull request as ready for review May 30, 2026 20:04
@aidangarske aidangarske changed the title Rename Dilithium API to ML-DSA and make CI track latest wolfSSL stable [WIP] Rename Dilithium API to ML-DSA and make CI track latest wolfSSL stable May 30, 2026

This comment was marked as resolved.

aidangarske added a commit to aidangarske/wolfCOSE that referenced this pull request May 30, 2026
CI failures on PR wolfSSL#33 were runtime, not compile: the Examples and
Scenarios jobs built the demo/scenario binaries (linked against the
shared libwolfssl) but ran them without LD_LIBRARY_PATH, so they failed
with "libwolfssl.so.44: cannot open shared object file". Export
LD_LIBRARY_PATH in the run step for both workflows.

Review follow-ups:
- multi-compiler.yml: make the compiler list a real matrix axis so it
  cross-products with the wolfSSL ref (6 compilers x 2 refs) instead of
  collapsing via include-merge.
- sanitizer.yml: drop the "|| true" that masked forced-failure / ASan
  regressions in the coverage-force-failure step.
- tools/wolfcose_tool.c: check wc_MlDsaKey_Init / wc_MlDsaKey_SetParams
  return codes in keygen/sign/verify before using the key instead of
  proceeding on a possibly-uninitialized key.
- tools/wolfcose_tool.c: the verify command returned 1 on the success
  path (pre-existing); return 0 so a successful ML-DSA verify exits zero.
@aidangarske aidangarske requested a review from Frauschi June 1, 2026 18:02
@aidangarske aidangarske changed the title [WIP] Rename Dilithium API to ML-DSA and make CI track latest wolfSSL stable Rename Dilithium API to ML-DSA and make CI track latest wolfSSL stable Jun 1, 2026
aidangarske added a commit to aidangarske/wolfCOSE that referenced this pull request Jun 1, 2026
CI failures on PR wolfSSL#33 were runtime, not compile: the Examples and
Scenarios jobs built the demo/scenario binaries (linked against the
shared libwolfssl) but ran them without LD_LIBRARY_PATH, so they failed
with "libwolfssl.so.44: cannot open shared object file". Export
LD_LIBRARY_PATH in the run step for both workflows.

Review follow-ups:
- multi-compiler.yml: make the compiler list a real matrix axis so it
  cross-products with the wolfSSL ref (6 compilers x 2 refs) instead of
  collapsing via include-merge.
- sanitizer.yml: drop the "|| true" that masked forced-failure / ASan
  regressions in the coverage-force-failure step.
- tools/wolfcose_tool.c: check wc_MlDsaKey_Init / wc_MlDsaKey_SetParams
  return codes in keygen/sign/verify before using the key instead of
  proceeding on a possibly-uninitialized key.
- tools/wolfcose_tool.c: the verify command returned 1 on the success
  path (pre-existing); return 0 so a successful ML-DSA verify exits zero.
Copy link
Copy Markdown

@Frauschi Frauschi left a comment

Choose a reason for hiding this comment

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

Mostly small nits

Comment thread .github/workflows/build-test.yml Outdated
Comment thread .github/workflows/build-test.yml Outdated
Comment thread .github/workflows/cmdline-test.yml Outdated
Comment thread .github/workflows/comprehensive-tests.yml Outdated
Comment thread .github/workflows/coverage.yml Outdated
Comment thread tests/test_cose.c Outdated
Comment thread tests/test_cose.c Outdated
Comment thread tests/test_cose.c Outdated
Comment thread tests/test_cose.c Outdated
Comment thread tests/test_cose.c Outdated
wolfSSL-Fenrir-bot

This comment was marked as resolved.

@aidangarske aidangarske force-pushed the mldsa-rename branch 2 times, most recently from 9204913 to d896716 Compare June 2, 2026 18:32
@aidangarske aidangarske added enhancement New feature or request feature Feature addition testing Testing additions labels Jun 2, 2026
@aidangarske aidangarske requested a review from dgarske June 2, 2026 19:31
@aidangarske aidangarske requested a review from Frauschi June 3, 2026 01:07
@dgarske dgarske merged commit 697498d into wolfSSL:main Jun 3, 2026
61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature Feature addition testing Testing additions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants