Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8279903

Redundant modulo operation in ECDHKeyAgreement

XMLWordPrintable

      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);

            jjiang John Jiang
            jjiang John Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: