On Fri, 13 Nov 2026 13:35:24 GMT, Sean Mullan <[email protected]> wrote:
>> Hai-May Chao has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Benchmark with the updated ECDSA-P256 and ML-DSA-65 profiles > > test/micro/org/openjdk/bench/java/security/TestCertificates.java line 65: > >> 63: * certificate signature = SHA384withRSA >> 64: */ >> 65: private static final String RSA_CA_CERT = > > The previous CA certs had a much longer validity lifetime. They did not > expire until March 19, 2122. These 2 new certs expire on December 30, 2035. > Although this is still a relatively long time from now, the test will > unexpectedly fail after that date, so I would make the validity times longer > and consistent with the prior cert. Will be done by a separate PR. > Before this PR, certificate chains contained two certificates, and they still > contain two after this PR. The only difference is that the intermediate > certificate is replaced by a shared root certificate. Still, the number of > verification operations drops from two to one. That makes it difficult to > compare with previous runs. Probably doesn't matter since javaperf doesn't > run this benchmark (I think this is true) so it will not appear as a > regression. I agree that the new ECDSA profile is not directly comparable with previous benchmark results because its certificate path validation differs. This is done because we can have a controlled pair when comparing ECDSA and ML-DSA so that ECDSA-P256 server leaf and ML-DSA-256 server leaf are issued by the same RSA CA. Both leaves have matching validity and extensions. Then the intended variables are the server leaf public key and CertificateVerify algorithm. This enhancement establishes a new benchmark baseline, but not to be interpreted as a regression. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/33111#discussion_r4605154058
