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

Kevin Driver kdriver at openjdk.org
Tue May 14 02:02:10 UTC 2024


On Tue, 14 May 2024 00:12:23 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> What would we say in the javadoc? We throw `null` temporarily, since there are no known algorithms that support parameters? We may not want to issue a change/fix if this becomes no longer the case (ie- some provider besides us offers one).
>
> This is inside the HKDF impl, and we know params is not required. The params is provided through `getInstance(alg, params)`. Just throw `InvalidAlgorithmParameterException` as specified there.

Ah, my mistake. Overlooked the classname. 😰

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

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



More information about the security-dev mailing list