Skip to content

Conversation

@Hamish77
Copy link
Contributor

#19

  • PKCS#11 mechanism with hash value 𝜇 for calculating an ML-DSA signature, also to generate a Mu.
  • First draft for discussion still needs changes

@Hamish77
Copy link
Contributor Author

Decision to split the PR into two Signature of External Mu and generate Mu need to create branch for both.
gen mu params need public key handle rather than value or the hash of public key?

@simo5
Copy link
Contributor

simo5 commented Oct 22, 2025

I think we should have a the public key to generate mu, but I think others are open to just passing the bare public key value or even directly the public key hash. It is unclear to me why that is desirable, this is the public key corresponding to the private key that is going to eventually sign the generated mu value, so I would think the public key would easily be loaded once on the generator side and reused over and over to generate MUs to then pass to the other module for signing.

@bubbva bubbva added this to the 3.2 milestone Oct 23, 2025
@bubbva bubbva moved this from No Status to In Progress in PKCS#11 Prototype Project Board Oct 23, 2025
@Hamish77 Hamish77 marked this pull request as ready for review November 3, 2025 20:24
@Hamish77 Hamish77 modified the milestones: 3.2, 3.3 Nov 3, 2025
@Hamish77 Hamish77 changed the title #19 PKCS#11 mechanism with hash value 𝜇 for calculating an ML-DSA signature first draft #19 PKCS#11 mechanism for External ML-DSA M𝜇 Calculation/Generation Nov 3, 2025
@simo5 simo5 changed the title #19 PKCS#11 mechanism for External ML-DSA M𝜇 Calculation/Generation PKCS#11 mechanism for External ML-DSA M𝜇 Calculation/Generation Nov 5, 2025
@vdukhovni
Copy link

Is leaving HashML-DSA-style external-μ out of the specification a deliberate choice?
I'd have expected to also see an optional DER encoding of the hash OID that if provided implies 1 rather than 0 for the first byte of $M'$ and then gets prepended to the message prehash octets.

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

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

PKCS#11 mechanism with hash value 𝜇 for calculating an ML-DSA signature

4 participants