RFR: 8331008: KDF Implementation [v9]
Kevin Driver
kdriver at openjdk.org
Fri May 10 16:49:45 UTC 2024
On Thu, 9 May 2024 13:16:05 GMT, Sean Mullan <mullan at openjdk.org> wrote:
>> Kevin Driver has updated the pull request incrementally with one additional commit since the last revision:
>>
>> code review comment
>
> src/java.base/share/classes/javax/crypto/KDF.java line 150:
>
>> 148: KDF instance = null;
>> 149: try {
>> 150: instance = getInstance(algorithm, (AlgorithmParameterSpec) null);
>
> You can return the instance directly, no need to store it in a local variable.
Done.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1596983029
More information about the security-dev
mailing list