On Wed, 15 May 2024 17:14:55 GMT, Kevin Driver <kdri...@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