Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QMessageAuthenticationCodePrivate Class Reference
Collaboration diagram for QMessageAuthenticationCodePrivate:

Public Member Functions

 QMessageAuthenticationCodePrivate (QCryptographicHash::Algorithm m) noexcept
void setKey (QByteArrayView k) noexcept
void initMessageHash () noexcept
void finalize ()
void finalizeUnchecked () noexcept
 QMessageAuthenticationCodePrivate (QCryptographicHash::Algorithm m) noexcept
void setKey (QByteArrayView k) noexcept
void initMessageHash () noexcept
void finalize ()
void finalizeUnchecked () noexcept

Public Attributes

HashBlock key
QCryptographicHashPrivate messageHash

Detailed Description

Definition at line 1402 of file qcryptographichash.cpp.

Constructor & Destructor Documentation

◆ QMessageAuthenticationCodePrivate() [1/2]

QMessageAuthenticationCodePrivate::QMessageAuthenticationCodePrivate ( QCryptographicHash::Algorithm m)
inlineexplicitnoexcept

Definition at line 1405 of file qcryptographichash.cpp.

References QMessageAuthenticationCodePrivate().

Referenced by QMessageAuthenticationCodePrivate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ QMessageAuthenticationCodePrivate() [2/2]

QMessageAuthenticationCodePrivate::QMessageAuthenticationCodePrivate ( QCryptographicHash::Algorithm m)
inlineexplicitnoexcept

Definition at line 1405 of file qcryptographichash.cpp.

Member Function Documentation

◆ finalize() [1/2]

void QMessageAuthenticationCodePrivate::finalize ( )

Definition at line 1675 of file qcryptographichash.cpp.

References finalizeUnchecked().

Here is the call graph for this function:

◆ finalize() [2/2]

void QMessageAuthenticationCodePrivate::finalize ( )

◆ finalizeUnchecked() [1/2]

void QMessageAuthenticationCodePrivate::finalizeUnchecked ( )
noexcept

Definition at line 1683 of file qcryptographichash.cpp.

Referenced by finalize().

Here is the caller graph for this function:

◆ finalizeUnchecked() [2/2]

void QMessageAuthenticationCodePrivate::finalizeUnchecked ( )
noexcept

◆ initMessageHash() [1/2]

void QMessageAuthenticationCodePrivate::initMessageHash ( )
noexcept

Seeds messageHash from key.

This function assumes that messageHash is in its initial state (reset() has been called).

Definition at line 1467 of file qcryptographichash.cpp.

Referenced by setKey().

Here is the caller graph for this function:

◆ initMessageHash() [2/2]

void QMessageAuthenticationCodePrivate::initMessageHash ( )
noexcept

◆ setKey() [1/2]

void QMessageAuthenticationCodePrivate::setKey ( QByteArrayView newKey)
noexcept

Transforms key newKey into a block-sized format and stores it in member key.

This function assumes it can use messageHash (i.e. it's in its initial state (reset() has been called)).

Definition at line 1432 of file qcryptographichash.cpp.

References initMessageHash().

Here is the call graph for this function:

◆ setKey() [2/2]

void QMessageAuthenticationCodePrivate::setKey ( QByteArrayView k)
noexcept

Member Data Documentation

◆ key

HashBlock QMessageAuthenticationCodePrivate::key

Definition at line 1410 of file qcryptographichash.cpp.

◆ messageHash

QCryptographicHashPrivate QMessageAuthenticationCodePrivate::messageHash

Definition at line 1411 of file qcryptographichash.cpp.


The documentation for this class was generated from the following file: