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

Create better internal buffer for AEADs

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: