RFR: 8285743: Ensure each IntegerPolynomial object is only created once [v2]
Weijun Wang
weijun at openjdk.java.net
Mon May 9 13:49:00 UTC 2022
On Fri, 29 Apr 2022 22:57:20 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> All `IntegerPolynimial`s are singletons now. Also, hand-coded implementations for Ed25519 and Ed448 are removed. They were not used since `FieldGen` starts generating classes for them.
>>
>> No new regression test. This is a clean-up.
>
> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>
> move singleton back into impl and make constructor private
make/jdk/src/classes/build/tools/intpoly/FieldGen.java line 837:
> 835: // c[i + j] += 2 * a[i] * a[j]
> 836: // }
> 837: // }
The comment was in the hand-coded curve25519 code. Moved here.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8476
More information about the security-dev
mailing list