[8u] RFR: Backport 8208648: ECC Field Arithmetic Enhancements

Andrew John Hughes gnu.andrew at redhat.com
Thu Jun 27 04:29:40 UTC 2019



On 14/06/2019 22:37, Alvarez, David wrote:
> Hi,
> 
> Here is the proper RFR for 8208648: ECC Field Arithmetic Enhancements
> 
> Sorry for the confusion
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8208648
> Original: http://hg.openjdk.java.net/jdk/jdk/rev/746602d9682f
> Webrev: http://cr.openjdk.java.net/~phh/8208648/webrev.8u.00/
> 
> JDK-8208648 is marked as jdk8u-critical-yes
> 
> This is the second of a chain of three patches, JDK-8181594, JDK-8208648 and JDK-8208698 I will be sending today.
> 
> The patch did not apply cleanly. The following conflicts appeared:
> 
> sun/security/util/ArrayUtil.java is not present in jdk8u. ArrayUtil is a utility class with static methods. I created the file but only with the static methods that were required for this patch (all of them were included in the original patch).
> sun/security/util/math/intpoly/IntegerPolynomial1305.java had a minor conflict due to mismatching of the context lines
> sun/security/util/math/intpoly/IntegerPolynomial.java had significant amount of rejections, but they were mostly easy to fix, caused by context mismatching.
> 
> Additionally, some of the new implementations of IntegerPolynomial contained an @Override for a method (finalCarryReduceLast) that is not present in the jdk8u version of IntegerPolynomial.java, so I removed the annotation.
> 
> Below are the relevant changes I've done to resolve the rejects and compilation errors.
> 
> Thanks,
> David
> 
> 

With JDK-8203228 & JDK-8201317 now applied, the intpoly changes now
apply cleanly, so I've pushed this using your version of ArrayUtil.java.

Thanks,
-- 
Andrew :)

Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222
https://keybase.io/gnu_andrew



More information about the jdk8u-dev mailing list