RFR: 8342181: Update tests to use stronger Key and Salt size

Fernando Guallini fguallini at openjdk.org
Thu Oct 17 11:33:22 UTC 2024


Several tests currently use weak key and salt sizes. If the purpose of the tests is not to evaluate weak keys, they should be updated to use stronger keys. This PR does not intend to update the tests to use stronger algorithms.

There is no significant increase in tests run time, those still run consistently fast

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

Commit messages:
 - removed test 3072 from SupportedDSAParamGen.java
 - iteration count 1000
 - updated SecKeyFacSunJCEPrf.java and SupportedDSAParamGen.java
 - initial commit - only keysizes and salt

Changes: https://git.openjdk.org/jdk/pull/21537/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21537&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8342181
  Stats: 83 lines in 34 files changed: 0 ins; 1 del; 82 mod
  Patch: https://git.openjdk.org/jdk/pull/21537.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21537/head:pull/21537

PR: https://git.openjdk.org/jdk/pull/21537


More information about the security-dev mailing list