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

Weijun Wang weijun at openjdk.org
Tue May 14 14:08:10 UTC 2024


On Mon, 13 May 2024 23:11:45 GMT, Kevin Driver <kdriver at openjdk.org> wrote:

>> 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 incrementally with one additional commit since the last revision:
> 
>   javadoc improvements

RFC 5869's title has "extract-and-expand", but inside the text when talking about the 2-step mode it uses "extract-then-expand". To be precise, I suggest we name this mode to "Extract-Then-Expand", and the class name to `ExtractThenExpand`, and the builder method to `thenExpand`. Also, to be symmetric with the `extractOnly` method, rename `expand` method to `expandOnly`.

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

PR Comment: https://git.openjdk.org/jdk/pull/18924#issuecomment-2110335008



More information about the security-dev mailing list