RFR: 8353578: Refactor existing usage of internal HKDF impl to use the KDF API

Valerie Peng valeriep at openjdk.org
Wed Apr 2 21:52:03 UTC 2025


This PR removes the internal JSSE HKDF impl and changes to use the KDF API for the HKDF support from JCA/JCE providers.

This is just code refactoring. Known-answer regression test for the internal JSSE HKDF impl is removed as the test vectors are already covered by the HKDF impl in SunJCE provider.

Thanks in advance for the review~

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

Commit messages:
 - 8353578: Refactor existing usage of internal HKDF impl to use the KDF API

Changes: https://git.openjdk.org/jdk/pull/24393/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24393&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8353578
  Stats: 599 lines in 14 files changed: 53 ins; 480 del; 66 mod
  Patch: https://git.openjdk.org/jdk/pull/24393.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24393/head:pull/24393

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


More information about the security-dev mailing list