On Thu, 29 Aug 2024 19:44:37 GMT, Kevin Driver <kdri...@openjdk.org> wrote:

>> src/java.base/share/classes/com/sun/crypto/provider/HkdfKeyDerivation.java 
>> line 147:
>> 
>>> 145:             // we should be able to combine these Lists of key 
>>> segments into
>>> 146:             // single SecretKey Objects, unless we were passed 
>>> something bogus
>>> 147:             // or an unexportable P11 key
>> 
>> Still has typo "Objects", should be "object".
>> BTW, I still strongly feel that it can be combined into a byte[] instead of 
>> a SecretKey object.
>
> Filling in with additional information from our offline discussion:
> 
> For the current phrasing, the plural is actually correct. Perhaps, as you 
> suggested offline, the comment could be rephrased. 
> 
> For the second portion (after `BTW`), this has been covered elsewhere, so I'm 
> not considering it part of **this** review comment.

Addressed in 
https://github.com/openjdk/jdk/pull/20301/commits/6b7a75da2ebb1cc9d95628018d756e2ce2162768.
 Please review and confirm if resolved.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20301#discussion_r1739098818

Reply via email to