RFR: 8331008: Implement JEP 478: Key Derivation Function API (Preview) [v78]

Kevin Driver kdriver at openjdk.org
Thu May 23 15:49:57 UTC 2024


> Introduce an API for Key Derivation Functions (KDFs), which are cryptographic algorithms for deriving additional keys from a secret key and other data. See [JEP 478](https://openjdk.org/jeps/478).

Kevin Driver has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 98 additional commits since the last revision:

 - Merge remote-tracking branch 'origin/master' into kdf-jep-wip
   # Please enter a commit message to explain why this merge is necessary,
   # especially if it merges an updated upstream into a topic branch.
   #
   # Lines starting with '#' will be ignored, and an empty message aborts
   # the commit.
 - javadoc formatting
 - javadoc formatting
 - remove unused declared exception in impls
 - throw a ProviderException instead of "eating" an NSAE for Mac
 - fix edge-case in consolidateKeyMaterial
 - change thrown exception in engineDeriveKey in impl code
 - edge case handling in deriveXXX methods and a few javadoc fixes
 - getInstance javadoc consistency
 - getInstance javadoc consistency
 - ... and 88 more: https://git.openjdk.org/jdk/compare/e7822bce...ef718cbf

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18924/files
  - new: https://git.openjdk.org/jdk/pull/18924/files/a61c59d7..ef718cbf

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18924&range=77
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18924&range=76-77

  Stats: 54542 lines in 894 files changed: 42618 ins; 8491 del; 3433 mod
  Patch: https://git.openjdk.org/jdk/pull/18924.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18924/head:pull/18924

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



More information about the security-dev mailing list