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

Redundant modulo operation in ECDHKeyAgreement

    XMLWordPrintable

Details

    Description

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: