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

Alan Bateman alanb at openjdk.org
Thu May 16 06:16:11 UTC 2024


On Wed, 15 May 2024 17:14:55 GMT, Kevin Driver <kdriver at openjdk.org> wrote:

> An empty ikm and/or salt list is a supported scenario, so this should be fine. I have added the documentation comment about the order of elements.

The context for asking is that HKDFParameterSpec.ofExtract has wording to say that the addXXX methods should be called. It doesn't say "must" but the wording does give the impression that it wouldn't be valid to go straight to the methods that build.

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

PR Comment: https://git.openjdk.org/jdk/pull/18924#issuecomment-2114111312



More information about the security-dev mailing list