RFR: 8350459: MontgomeryIntegerPolynomialP256 multiply intrinsic with AVX2 on x86_64 [v8]

Volodymyr Paprotski vpaprotski at openjdk.org
Thu Apr 3 18:52:12 UTC 2025


On Fri, 28 Mar 2025 20:10:42 GMT, Volodymyr Paprotski <vpaprotski at openjdk.org> wrote:

>> src/java.base/share/classes/sun/security/util/math/intpoly/MontgomeryIntegerPolynomialP256.java line 164:
>> 
>>> 162:     protected void mult(long[] a, long[] b, long[] r) {
>>> 163:         multImpl(a, b, r);
>>> 164:         reducePositive(r);
>> 
>> `reducePositive` is now seems unused
>
> oh.. hmm.. I had a second PR that I decided wasnt worth it that was going to reuse this code.. 
> 
> Will create a second JBS and remove

https://github.com/openjdk/jdk/pull/24423

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23719#discussion_r2027562079


More information about the security-dev mailing list