RFR: 4887998: Use Integer.rotateLeft() and rotateRight() in crypto implementations

Jatin Bhateja jbhateja at openjdk.org
Tue Jul 12 05:24:45 UTC 2022

On Tue, 12 Jul 2022 00:44:37 GMT, Mark Powers <duke at openjdk.org> wrote:

>> https://bugs.openjdk.org/browse/JDK-4887998
> 1. I tried to keep as much of the original parenthesis as possible. I can do the minimum number if that is what you prefer.
> 2. I'll change MD4, MD5, and SHA-1 to use `rotateLeft` in keeping with how they are described in their respective RFCs.

Hi @mcpowers , Currently scalar rotate inferencing is done by way of ideal transforms if it finds a matching graph pattern, apart from explicit replacement of  expression with Java SE APIs do we see any performance improvements with this patch.


PR: https://git.openjdk.org/jdk/pull/9456

More information about the security-dev mailing list