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

Sean Mullan mullan at openjdk.org
Mon Sep 9 21:11:25 UTC 2024


On Fri, 6 Sep 2024 18:45:42 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).
>> 
>> Work was begun in [another PR](https://github.com/openjdk/jdk/pull/18924).
>
> Kevin Driver has updated the pull request incrementally with one additional commit since the last revision:
> 
>   updated comments around locking mechanism

src/java.base/share/classes/javax/crypto/KDF.java line 352:

> 350:                         new InvalidAlgorithmParameterException(
> 351:                             "No provider can be found that supports the "
> 352:                             + "specified parameters"));

Slight tweak in message: s/specified parameters/specified algorithm and parameters/

src/java.base/share/classes/javax/crypto/KDF.java line 369:

> 367:                 lastException =
> 368:                     new NoSuchAlgorithmException(
> 369:                         new InvalidAlgorithmParameterException(

Slight tweak in message: s/specified parameters/specified algorithm and parameters/

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20301#discussion_r1750928271
PR Review Comment: https://git.openjdk.org/jdk/pull/20301#discussion_r1750928472


More information about the security-dev mailing list