Composite ML-DSA + RSA Managed Composer#117259
Merged
PranavSenthilnathan merged 17 commits intodotnet:mainfrom Jul 18, 2025
Merged
Composite ML-DSA + RSA Managed Composer#117259PranavSenthilnathan merged 17 commits intodotnet:mainfrom
PranavSenthilnathan merged 17 commits intodotnet:mainfrom
Conversation
Contributor
|
Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones |
This was referenced Jul 3, 2025
bartonjs
requested changes
Jul 7, 2025
Member
bartonjs
left a comment
There was a problem hiding this comment.
Posting review "between" code and tests
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsaAlgorithm.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsa.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsa.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsaMessageEncoder.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsaMessageEncoder.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/ManagedCompositeMLDsaComposer.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/ManagedCompositeMLDsaComposer.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/ManagedCompositeMLDsaComposer.cs
Outdated
Show resolved
Hide resolved
...ty/Cryptography/AlgorithmImplementations/CompositeMLDsa/CompositeMLDsaAlgorithmExtensions.cs
Outdated
Show resolved
Hide resolved
.../Security/Cryptography/AlgorithmImplementations/CompositeMLDsa/CompositeMLDsaFactoryTests.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jul 7, 2025
.../Security/Cryptography/AlgorithmImplementations/CompositeMLDsa/CompositeMLDsaFactoryTests.cs
Outdated
Show resolved
Hide resolved
...m/Security/Cryptography/AlgorithmImplementations/CompositeMLDsa/CompositeMLDsaTestHelpers.cs
Show resolved
Hide resolved
src/libraries/Common/tests/System/Security/Cryptography/Helpers.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/MLDsaImplementation.NotSupported.cs
Show resolved
Hide resolved
...System.Security.Cryptography/src/System/Security/Cryptography/MLDsaImplementation.OpenSsl.cs
Show resolved
Hide resolved
vcsjones
reviewed
Jul 7, 2025
src/libraries/Common/src/System/Security/Cryptography/ManagedCompositeMLDsaComposer.cs
Outdated
Show resolved
Hide resolved
This was referenced Jul 9, 2025
This was referenced Jul 11, 2025
This was referenced Jul 11, 2025
bartonjs
reviewed
Jul 15, 2025
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsa.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jul 15, 2025
Member
bartonjs
left a comment
There was a problem hiding this comment.
I thought I'd get further than I did... but here's what I got so far.
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsaAlgorithm.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsaAlgorithm.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsaAlgorithm.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsaManaged.cs
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/RSAKeyFormatHelper.cs
Show resolved
Hide resolved
bartonjs
reviewed
Jul 15, 2025
Member
bartonjs
left a comment
There was a problem hiding this comment.
Posting between src and tests
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsa.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Security.Cryptography/src/Resources/Strings.resx
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsa.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsaAlgorithm.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsaManaged.RSA.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsaManaged.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsaManaged.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsaManaged.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsaManaged.cs
Outdated
Show resolved
Hide resolved
bartonjs
reviewed
Jul 15, 2025
Member
bartonjs
left a comment
There was a problem hiding this comment.
Also made it through the tests!
...Security/Cryptography/AlgorithmImplementations/CompositeMLDsa/CompositeMLDsaContractTests.cs
Outdated
Show resolved
Hide resolved
...Security/Cryptography/AlgorithmImplementations/CompositeMLDsa/CompositeMLDsaContractTests.cs
Outdated
Show resolved
Hide resolved
...Security/Cryptography/AlgorithmImplementations/CompositeMLDsa/CompositeMLDsaContractTests.cs
Outdated
Show resolved
Hide resolved
...Security/Cryptography/AlgorithmImplementations/CompositeMLDsa/CompositeMLDsaContractTests.cs
Outdated
Show resolved
Hide resolved
.../Security/Cryptography/AlgorithmImplementations/CompositeMLDsa/CompositeMLDsaFactoryTests.cs
Show resolved
Hide resolved
.../Security/Cryptography/AlgorithmImplementations/CompositeMLDsa/CompositeMLDsaFactoryTests.cs
Outdated
Show resolved
Hide resolved
.../Security/Cryptography/AlgorithmImplementations/CompositeMLDsa/CompositeMLDsaTestData.Raw.cs
Show resolved
Hide resolved
...tem/Security/Cryptography/AlgorithmImplementations/CompositeMLDsa/CompositeMLDsaTestsBase.cs
Show resolved
Hide resolved
...tem/Security/Cryptography/AlgorithmImplementations/CompositeMLDsa/CompositeMLDsaTestsBase.cs
Outdated
Show resolved
Hide resolved
bartonjs
approved these changes
Jul 17, 2025
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsa.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/src/System/Security/Cryptography/CompositeMLDsa.cs
Outdated
Show resolved
Hide resolved
bartonjs
approved these changes
Jul 17, 2025
bartonjs
approved these changes
Jul 18, 2025
Member
Author
|
/ba-g #117772 |
|
@PranavSenthilnathan: Good job! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add managed Composite ML-DSA implementation that uses the ML-DSA and RSA primitives to implement the composite algorithm. This works downlevel in Microsoft.Bcl.Cryptography as well.
Contributes to #116998