RFR: 8351351: Pre-hash mode, context string, etc for ML-DSA [v2]

Weijun Wang weijun at openjdk.org
Wed Feb 11 19:11:21 UTC 2026


> Add a new `SignatureParameterSpec` internal API to fully utilize the capabilities of ML-DSA. The updated ACVP test demonstrates its usage.
> 
> The new API is internal because it's not yet clear how to provide this feature to users. A key should not be shared between plain ML-DSA and HashML-DSA, but context can. Features like `internal` and `externalMu` should only be used for very special occasions.

Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:

  rename

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/23934/files
  - new: https://git.openjdk.org/jdk/pull/23934/files/ec5ba64b..51451708

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23934&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23934&range=00-01

  Stats: 14 lines in 4 files changed: 0 ins; 1 del; 13 mod
  Patch: https://git.openjdk.org/jdk/pull/23934.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23934/head:pull/23934

PR: https://git.openjdk.org/jdk/pull/23934



More information about the security-dev mailing list