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

Create better internal buffer for AEADs

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 22
    • None
    • security-libs
    • None

      Currently AES/GCM and CC20P1305 use ByteArrayOutputStream for their internal buffering. For internal buffer usage, BAOS makes an unnecessary copy when the buffer is retrieved. It also lacks ByteBuffer support. This optimization accelerates multi-part decryption.

      For CC20P1305, it used the generic CipherSpi.bufferCrypt() for ByteBuffers. Adding this optimized support will help across more categories.

            ascarpino Anthony Scarpino
            ascarpino Anthony Scarpino
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: