On Thu, 26 Nov 2026 09:05:31 GMT, Hai-May Chao <[email protected]> wrote:
>> Weijun Wang has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> comment; rename
>
> src/java.base/share/classes/sun/security/ssl/NamedGroup.java line 301:
>
>> 299: try {
>> 300: // Skip AlgorithmParameters for KEMs (not supported).
>> 301: // A KEM must provide both KeyPairGenerator and KEM.
>
> perhaps s/A KEM/A TLS KEM named group/
Updated.
> src/java.base/share/classes/sun/security/ssl/NamedGroup.java line 306:
>
>> 304: if (namedGroupSpec == NamedGroupSpec.NAMED_GROUP_KEM) {
>> 305: if (keAlgParamSpec instanceof NamedParameterSpec
>> nps) {
>> 306: KeyPairGenerator.getInstance(nps.getName());
>
> Check `KeyFactory` availability for pure ML-KEM groups as `KeyShareExtension`
> class needs it?
The `requireRawPublicKey` method cannot be called here. I think it's OK to omit
the check. It's very unlikely the a pure ML-KEM already has `KeyPairGenerator`
and `KEM` but no `KeyFactory`.
> test/jdk/sun/security/ssl/CipherSuite/DisabledCurve.java line 133:
>
>> 131:
>> 132: String namedGroups = System.getProperty("jdk.tls.namedGroups",
>> "");
>> 133: boolean hybridGroup = namedGroups.contains("MLKEM");
>
> s/hybridGroup/pqcGroup/ to include pure ML-KEM groups.
Updated.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/33954#discussion_r4739618286
PR Review Comment: https://git.openjdk.org/jdk/pull/33954#discussion_r4739637801
PR Review Comment: https://git.openjdk.org/jdk/pull/33954#discussion_r4739619581