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

Port QMessageAuthenticationCode to QByteArrayView

    XMLWordPrintable

Details

    • 5
    • 590172ccc (dev), f0cb27f9f (6.5), c19f9716f (dev), 93cb61e30 (dev), 6a6e9337c (dev)
    • Foundation Sprint 77, Foundation Sprint 78

    Description

      See epic for rationale.

      resultView() is already done.

      Both the setData() calls and they key should be passed by QByteArrayView.

      Acceptance criteria:

      • the following API parts are ported to QByteArrayView:
        • ctor (key)
        • setKey()
        • addData()
        • hash() (key and message)

      We need to decide how to deal with the QBA->QBAV SiCs:

      • accept, like in QCryptographicHash?
      • make QBA Q_WEAK_OVERLOAD?
      • make QBAV accept anything that implicitly converts to QBA, QAnyStringView-like?

      Attachments

        For Gerrit Dashboard: QTBUG-111676
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: