RFR: 8279903: Redundant modulo operation in ECDHKeyAgreement [v2]
John Jiang
jjiang at openjdk.java.net
Wed Jan 12 07:29:04 UTC 2022
> In class `sun.security.ec.ECDHKeyAgreement.java`, the last `mod()` in the below line looks redundant,
>
> BigInteger lhs = y.modPow(BigInteger.valueOf(2), p).mod(p);
John Jiang has updated the pull request incrementally with one additional commit since the last revision:
update copyright notes
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/7042/files
- new: https://git.openjdk.java.net/jdk/pull/7042/files/4b44997f..6504ac3d
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7042&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7042&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/7042.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7042/head:pull/7042
PR: https://git.openjdk.java.net/jdk/pull/7042
More information about the security-dev
mailing list