On Mon, 30 Nov 2026 15:55:38 GMT, Artur Barashev <[email protected]> wrote:
>> Weijun Wang has updated the pull request incrementally with two additional
>> commits since the last revision:
>>
>> - consolidate error handling
>> - disable MLKEM768 with ML-KEM-768
>
> src/java.base/share/classes/sun/security/ssl/KeyShareExtension.java line 743:
>
>> 741: kemCred) {
>> 742: AlgorithmParameterSpec paramSpec =
>> kemCred.getNamedGroup().
>> 743: keAlgParamSpec;
>
> Should we keep `keAlgParamSpec` to match `ML-KEM-768`? And also keep the
> check for the NamedGroup name, so restrictions using either the JCA algorithm
> name or the TLS group name are enforced.
Instead, I added a new check in `NamedGroup::isPermitted` for the new case
where group name and underlying JCA algorithm name are different.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/33954#discussion_r4742647424