RFR: 8331008: KDF Implementation (Preview) [v28]

Alan Bateman alanb at openjdk.org
Mon May 13 09:34:10 UTC 2024


On Mon, 13 May 2024 03:46:50 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:
> 
>   re-enable preview annotations

src/java.base/share/classes/javax/crypto/KDFSpi.java line 41:

> 39:  * All the abstract methods in this class must be implemented by each
> 40:  * cryptographic service provider who wishes to supply the implementation of a
> 41:  * particular key derivation algorithm.

As a general point here, this doesn't link to anything that explains what any of this means. If I implement KDFSpi then what do I do with it? It's not referenced by anything else in the API.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1598164960



More information about the security-dev mailing list