RFR: 8188044: We need Math.unsignedMultiplyHigh [v2]
Andrew Dinn
adinn at redhat.com
Fri Jul 2 15:55:27 UTC 2021
On 02/07/2021 16:30, Raffaello Giulietti wrote:
> FWIW, adinn's branchless code together with
> PR https://git.openjdk.java.net/jdk/pull/4660
> make both methods less vulnerable to timing attacks.
That was indeed the point of the change. However, I doubt the difference
in timing is going to be significant given Andrew's micro-benchmark results.
regards,
Andrew Dinn
-----------
Red Hat Distinguished Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill
More information about the core-libs-dev
mailing list