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

Improve ECC math operations

XMLWordPrintable

      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

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

              Created:
              Updated:
              Resolved: