On Thu, 29 Aug 2024 17:50:17 GMT, Valerie Peng <valer...@openjdk.org> wrote:

>> But this way, the first update call is skipped. Even if the last parameter 
>> (the length) is zero, does it affect the internal state of the Mac in some 
>> way?
>
> You can double-check if output is the same.
> Conceptually, if you call update() with a 0-length input vs skipping the 
> update() call, they should be equivalent.

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_r1739094896

Reply via email to