Skip to content

Conversation

@samuel40791765
Copy link
Contributor

cherry picked from commit on main: 745d009

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

### Description of changes:
The previous ML-DSA change weren't routing against the right APIs. This
fixes that.

Issues were mainly:
1. `extmu` is exclusive to `signatureInterface=internal`, but we were
passing in false for `signatureInterface=external`.
2. `ml_dsa_*_sign` APIs are non-deterministic and we weren't passing in
`rnd` as the random bytes. This routes the SignGen tests to the right
places.

### Call-outs:
N/A

### Testing:
New ACVP demo vector, verified against expected outputs and added to
this change. The new tests fail without the new changes made to ACVP.

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and the ISC license.

(cherry picked from commit 745d009)
@samuel40791765 samuel40791765 requested a review from a team as a code owner December 8, 2025 19:33
@samuel40791765 samuel40791765 enabled auto-merge (squash) December 8, 2025 19:33
@samuel40791765 samuel40791765 merged commit 1276fc7 into aws:fips-2025-09-12 Dec 8, 2025
59 of 73 checks passed
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.69%. Comparing base (56ebad6) to head (cfc86d9).
⚠️ Report is 1 commits behind head on fips-2025-09-12.

Additional details and impacted files
@@                 Coverage Diff                 @@
##           fips-2025-09-12    #2890      +/-   ##
===================================================
- Coverage            78.69%   78.69%   -0.01%     
===================================================
  Files                  667      667              
  Lines               113027   113027              
  Branches             16069    16068       -1     
===================================================
- Hits                 88951    88947       -4     
- Misses               23302    23306       +4     
  Partials               774      774              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

4 participants