Skip to content

Conversation

@PranavSenthilnathan
Copy link
Member

Fixes #123097

Code used to regenerate the test vectors from the IETF reference vectors: https://gist.github.com/PranavSenthilnathan/6317f3c83aa7d91874f08fe2763210cc

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones
See info in area-owners.md if you want to be subscribed.

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

This pull request updates the implementation to align with draft 14 of the Composite ML-DSA specification by adding support for context-aware signatures. The changes expand test coverage to verify both context and non-context signature scenarios.

Changes:

  • Added context parameter support to signature verification tests
  • Updated test vectors to include context data and context-aware signatures
  • Parameterized existing tests to exercise both context and non-context code paths

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
CompositeMLDsaTestsBase.cs Added parameterized test data to test both context and non-context signature verification paths, updated test methods to use context parameter
CompositeMLDsaTestData.cs Extended test vector structure to include context data and context-aware signature fields

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Composite ML-DSA for draft 14

2 participants