On Thu, 2 Oct 2025 22:52:49 GMT, Hai-May Chao <[email protected]> wrote:

> Implement hybrid key exchange support for TLS 1.3 by adding three 
> post-quantum hybrid named groups: X25519MLKEM768, SecP256r1MLKEM768, and 
> SecP384r1MLKEM1024.
> Please see [JEP 527](https://openjdk.org/jeps/527) for details about this 
> change.

src/java.base/share/classes/com/sun/crypto/provider/DH.java line 138:

> 136:         private final PublicKey pkR;
> 137:         private final PrivateKey skR;
> 138:         private final AlgorithmParameterSpec spec;

This variable is not being used, it can be removed together with the 
constructor parameter.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27614#discussion_r2402727971

Reply via email to