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

Mark Powers duke at openjdk.org
Tue Jul 12 00:48:19 UTC 2022


On Mon, 11 Jul 2022 21:20:43 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.

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

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



More information about the security-dev mailing list