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

Cipher should optimize cases where only one buffer is a DirectBuffer

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 5.0, 6
    • security-libs
    • None
    • b21
    • generic, x86, sparc
    • generic, solaris_10

        The SunPKCS11 symmetric cipher implementation contain an optimized code path for the engineUpdate(ByteBuffer, ByteBuffer) and engineDoFinal() methods if both the input and the output ByteBuffer are direct buffers. We should consider doing a partial optimization if only one of the two buffers is a direct buffer.

              valeriep Valerie Peng
              andreas Andreas Sterbenz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: