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

Optimize Java implementation of P256 arithmetic

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • security-libs

      There are several places where MontgomeryIntegerPolynomialP256.mult() can be optimized. In particular, since modulus[2] = 0 several multiplications can be removed. Other multiplications can be replaced by shifts, which would also save time. Preliminary tests indicate an improvement between 5-10% is possible. Testing of these changes is covered by MontgomeryPolynomialFuzzTest

            bperez Ben Perez
            bperez Ben Perez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: