[jdk17u-dev] RFR: 8301793: AlgorithmId should not encode a missing parameters field as NULL unless hardcoded

Weijun Wang weijun at openjdk.org
Wed Jun 18 20:03:42 UTC 2025


On Mon, 2 Jun 2025 11:36:33 GMT, Varada M <varadam at openjdk.org> wrote:

> In jdk17, ML-KEM and ML-DSA keys there are no algorithm parameters but adds a NULL to the encoding when it shouldn’t. With this backport the algorithms that don't need parameters, the NULL is omitted as expected.

The change looks good to me. Sorry for the late review.

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

Marked as reviewed by weijun (Reviewer).

PR Review: https://git.openjdk.org/jdk17u-dev/pull/3615#pullrequestreview-2940508085


More information about the jdk-updates-dev mailing list