RFR: 8333867: SHA3 performance can be improved
Daniel Jeliński
djelinski at openjdk.org
Tue Jun 11 18:25:15 UTC 2024
On Mon, 10 Jun 2024 15:01:55 GMT, Ferenc Rakoczi <duke at 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
More information about the security-dev
mailing list