RFR: 8331008: Implement JEP 478: Key Derivation Function API (Preview) [v15]
Sean Mullan
mullan at openjdk.org
Thu Aug 29 18:35:32 UTC 2024
On Wed, 28 Aug 2024 20:37:57 GMT, Kevin Driver <kdriver at openjdk.org> wrote:
>> Every time HKDF-Expand is used in either TLS 1.3 or HPKE, there is always a non-empty info. Even if the original RFC says this argument is optional, I don't think it's useful to provide a one-argument overloaded method.
>
> Agreed.
Ok, I'll accept that I guess. Whenever I see "null" as a valid parameter value, I try to think if adding an overloaded method w/o that value is a better way to support it.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20301#discussion_r1736898871
More information about the security-dev
mailing list