On Fri, 20 Nov 2026 05:19:20 GMT, Hai-May Chao <[email protected]> wrote:
>> Enhance SSLHandshake benchmark to measure the TLS 1.3 server authentication >> of an ML-DSA-65 server certificate and CertificateVerify, compared with an >> ECDSA P-256 server authentication profile, across classical and hybrid key >> exchange groups. >> >> --------- >> - [X] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Hai-May Chao has updated the pull request incrementally with one additional > commit since the last revision: > > Change tlsProfile value ordering test/micro/org/openjdk/bench/java/security/SSLHandshake.java line 62: > 60: getServerContext(TestCertificates.AUTH_PROFILE_ECDSA_P256); > 61: private static final SSLContext SSL_SERVER_CTX_MLDSA65 = > 62: getServerContext(TestCertificates.AUTH_PROFILE_MLDSA65); Why did you opt for using 2 distinct server contexts instead of keeping the current scheme? (one context with all chains, let the client choose the preferred signature scheme) test/micro/org/openjdk/bench/java/security/TestCertificates.java line 202: > 200: Key key = getPrivKey("EC", controlledEcdsaP256ServerKey); > 201: result.setKeyEntry("server", key, new char[0], > 202: new Certificate[] {serverCert, caCert}); Please drop the caCert. It's a bad practice to include the root CA in the server certificate chain. test/micro/org/openjdk/bench/java/security/TestCertificates.java line 210: > 208: Key key = getPrivKey("ML-DSA", > controlledMldsa65ServerKey); > 209: result.setKeyEntry("server", key, new char[0], > 210: new Certificate[] {serverCert, caCert}); Same here. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/33111#discussion_r4663238439 PR Review Comment: https://git.openjdk.org/jdk/pull/33111#discussion_r4663044410 PR Review Comment: https://git.openjdk.org/jdk/pull/33111#discussion_r4663045615
