RFR: 8271616: oddPart in MutableBigInteger::mutableModInverse contains info on final result

Valerie Peng valeriep at openjdk.java.net
Tue Aug 3 23:52:29 UTC 2021


On Tue, 3 Aug 2021 19:05:55 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> `oddPart` contains a lot of info on the `modInverse` output, sometimes it's even the same. Clearing it in case the result is sensitive.
> 
> No new regression test since it's difficult to access a temporary local variable in an internal class. Existing tier1-2 tests passed.

Marked as reviewed by valeriep (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/4973


More information about the core-libs-dev mailing list