RFR: 8331008: KDF Implementation (Preview) [v31]

Kevin Driver kdriver at openjdk.org
Mon May 13 16:15:53 UTC 2024


On Thu, 9 May 2024 15:17:17 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Kevin Driver has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - method reuse
>>  - null/boundary/modifiability checks
>
> src/java.base/share/classes/javax/crypto/spec/HKDFParameterSpec.java line 96:
> 
>> 94:                     + "been called");
>> 95:             }
>> 96:             return extractExpand(new Extract(List.copyOf(ikms), List.copyOf(salts)), info, length);
> 
> You can reuse `extractOnly` method here.

see: beb8f6f8519

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

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



More information about the security-dev mailing list