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

Improve ECC math operations

    XMLWordPrintable

Details

    Description

      Some BigInteger and curve point operations used in EC calculations can be rewritten in a more performant manner:
      - coefficient * 2^power is equivalent to coefficient << power
      - number mod 2^n is equivalent to number & (2^n-1)
      - pair of IntegerModuloP operations:
      t2 = t1+t1
      t1=t1+t2
      is equivalent to t1=t1*3, which can be implemented more efficiently

      Attachments

        Issue Links

          Activity

            People

              djelinski Daniel Jelinski
              djelinski Daniel Jelinski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: