Skip to content

Conversation

daxpedda
Copy link
Contributor

While #1064 mostly resolves any need to add dedicated methods to compute µ for ML-DSA, one scenario was still uncovered: being able to use external-µ signing with e.g. HSMs. In which case we don't have access to the secret key, but we can compute µ with the help of the public key.

So we add a VerifyingKey::compute_mu() method that facilitates that.

This specifically targets ML-DSA.Sign and not ML-DSA.Sign_internal. I can add another method for that if desired.

Resolves #1060.
Builds on top of #1073.

@daxpedda daxpedda marked this pull request as ready for review September 19, 2025 07:54
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.

ml-dsa: add ComputeMu()
1 participant