RFR: 8331008: Implement JEP 478: Key Derivation Function API (Preview) [v77]
Alan Bateman
alanb at openjdk.org
Thu May 16 06:24:16 UTC 2024
On Wed, 15 May 2024 19:59:59 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 formatting
src/java.base/share/classes/javax/crypto/KDFSpi.java line 85:
> 83: * @param alg
> 84: * the algorithm of the resultant {@code SecretKey} object (may not be
> 85: * {@code null})
Now that the method specifying NPE when either param is null then I assume the "may not be null" is no longer needed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1602681710
More information about the security-dev
mailing list