Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Public Member Functions | |
QMessageAuthenticationCodePrivate (QCryptographicHash::Algorithm m) | |
void | setKey (QByteArrayView k) noexcept |
void | initMessageHash () noexcept |
void | finalize () |
void | finalizeUnchecked () noexcept |
Public Attributes | |
HashBlock | key |
QCryptographicHashPrivate | messageHash |
Definition at line 1338 of file qcryptographichash.cpp.
|
inline |
Definition at line 1341 of file qcryptographichash.cpp.
void QMessageAuthenticationCodePrivate::finalize | ( | ) |
Definition at line 1614 of file qcryptographichash.cpp.
References QCryptographicHashPrivate::finalizeMutex, finalizeUnchecked(), lock, messageHash, and QCryptographicHashPrivate::result.
Referenced by QMessageAuthenticationCode::resultView().
|
noexcept |
Definition at line 1622 of file qcryptographichash.cpp.
References QCryptographicHashPrivate::addData(), QCryptographicHashPrivate::finalizeUnchecked(), messageHash, QCryptographicHashPrivate::reset(), QCryptographicHashPrivate::result, and xored().
Referenced by finalize().
|
noexcept |
Seeds messageHash from key
.
This function assumes that messageHash is in its initial state (reset() has been called).
Definition at line 1403 of file qcryptographichash.cpp.
References QCryptographicHashPrivate::addData(), and xored().
Referenced by QMessageAuthenticationCode::reset().
|
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 1368 of file qcryptographichash.cpp.
References A, QCryptographicHashPrivate::addData(), blockSize, QCryptographicHashPrivate::finalizeUnchecked(), hashLengthInternal(), i, QCryptographicHashPrivate::method, qt_hash_block_size(), QCryptographicHashPrivate::reset(), and QCryptographicHashPrivate::result.
Referenced by QMessageAuthenticationCode::QMessageAuthenticationCode().
HashBlock QMessageAuthenticationCodePrivate::key |
Definition at line 1346 of file qcryptographichash.cpp.
QCryptographicHashPrivate QMessageAuthenticationCodePrivate::messageHash |
Definition at line 1347 of file qcryptographichash.cpp.
Referenced by QMessageAuthenticationCode::addData(), QMessageAuthenticationCode::addData(), finalize(), finalizeUnchecked(), QMessageAuthenticationCode::reset(), and QMessageAuthenticationCode::resultView().