RFR: 8331008: Implement JEP 478: Key Derivation Function API (Preview) [v11]
Kevin Driver
kdriver at openjdk.org
Fri Aug 30 16:37:56 UTC 2024
On Thu, 29 Aug 2024 17:50:17 GMT, Valerie Peng <valeriep at 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
More information about the security-dev
mailing list