On Mon, 10 Jun 2024 15:01:55 GMT, Ferenc Rakoczi <d...@openjdk.org> wrote:

> This PR removes some unnecessary conversions between byte arrays and long 
> arrays during SHA3 digest computations.

src/java.base/share/classes/sun/security/provider/SHA3.java line 70:

> 68:     private long[] state = new long[DM*DM];
> 69: 
> 70:     // The following two arrays are allocated to size WIDTH bytes, but we 
> only

Only one of the following arrays is of WIDTH length... outdated comment?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19632#discussion_r1635306158

Reply via email to