Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-125521

Have QCryptographicHash::hashInto() write directly into the supplied QSpan buffer

    XMLWordPrintable

Details

    • 5
    • Foundation Sprint 108, Foundation Sprint 109, Foundation Sprint 110, Foundation Sprint 111, Foundation Sprint 112, Foundation Sprint 113, Foundation Sprint 114, Foundation Sprint 115, Foundation Sprint 116, Foundation Sprint 117, Foundation Sprint 118, Foundation Sprint 119, Foundation Sprint 120

    Description

      Currently, QCryptographicHash::hashInto() still uses QSmallByteArray Private::result to hold the result, and only copies from there into the user-supplied buffer after finalizing. It would be more efficient to write into the user-supplied buffer directly.

      Ditto QMesageAuthenticationCode.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mmutz Marc Mutz
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes