On Wed, 4 Mar 2026 08:55:46 GMT, Shawn Emery <[email protected]> wrote:
>> src/java.base/share/classes/sun/security/util/math/intpoly/IntegerPolynomial25519.java
>> line 83:
>>
>>> 81: // Overriden for performance (unroll and unnesting)
>>> 82: @Override
>>> 83: protected void carry(long[] limbs) {
>>
>> Have you tried working with all positive limbs (as in
>> IntegerPolynomial1305.java)?
>
> I had initially, but had to Override a number of methods because the
> superclass assumes that the limbs are signed. I assume to keep the limbs
> signed given that there is no difference in performance.
OK.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29981#discussion_r2882987238