RFR: 8331008: KDF Implementation

Sean Mullan mullan at openjdk.org
Wed May 8 20:31:55 UTC 2024


On Tue, 23 Apr 2024 20:42:51 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).

src/java.base/share/classes/com/sun/crypto/provider/SunJCE.java line 463:

> 461:          * Key Derivation engines
> 462:          */
> 463:         ps("KDF", "HKDF/HmacSHA256",

In the JEP, the example uses "HkdfSHA256". The JEP should be updated if the above format is going to be used instead.

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

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



More information about the security-dev mailing list