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

Alan Bateman alanb at openjdk.org
Sun Sep 8 16:55:23 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 413:

> 411:      * @throws InvalidAlgorithmParameterException
> 412:      *     if no {@code Provider} supports a {@code KDFSpi} implementation for
> 413:      *     the specified algorithm and parameters

Can you double check the description of InvalidAlgorithmParameterException? This factory method has a provider parameter so I assume it's that _the_ provider doesn't support the ...

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

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


More information about the security-dev mailing list