RFR: 8288050: Add support of SHA-512/224 and SHA-512/256 to the PBKDF2 and PBES2 impls in SunJCE provider

Valerie Peng valeriep at openjdk.org
Thu Nov 24 00:12:53 UTC 2022


This RFE enhances existing PBE algorithms with the "SHA512/224" and "SHA512/256" support. 
Current transformation parsing in javax.crypto.Cipher class is re-written to handle the additional "/" in the "SHA512/224" and "SHA512/256" algorithm names. Existing tests are updated with the additional new algorithms.

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

Commit messages:
 - remove trailing whitespace
 - 8288050: Add support of SHA-512/224 and SHA-512/256 to the PBKDF2 and PBES2 impls in SunJCE provider

Changes: https://git.openjdk.org/jdk/pull/11339/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11339&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8288050
  Stats: 373 lines in 26 files changed: 249 ins; 20 del; 104 mod
  Patch: https://git.openjdk.org/jdk/pull/11339.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11339/head:pull/11339

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



More information about the security-dev mailing list