RFR: 8331008: Implement JEP 478: Key Derivation Function API (Preview) [v55]
Sean Mullan
mullan at openjdk.org
Tue May 14 19:24:02 UTC 2024
On Tue, 14 May 2024 18:52: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 updates
src/java.base/share/classes/com/sun/crypto/provider/HkdfKeyDerivation.java line 69:
> 67: HkdfKeyDerivation(String hmacAlgName, int hmacLen,
> 68: AlgorithmParameterSpec algParameterSpec)
> 69: throws InvalidAlgorithmParameterException {
I think you missed an earlier comment from @wangweij where this ctor should throw an IAPE if params != null.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1600531156
More information about the security-dev
mailing list