Create better internal buffer for AEADs

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 22
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: