![]() |
Qt 6.x
The Qt SDK
|
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 1302 of file qcryptographichash.cpp.
|
inline |
Definition at line 1305 of file qcryptographichash.cpp.
void QMessageAuthenticationCodePrivate::finalize | ( | ) |
Definition at line 1567 of file qcryptographichash.cpp.
References QCryptographicHashPrivate::finalizeMutex, finalizeUnchecked(), lock, messageHash, and QCryptographicHashPrivate::result.
Referenced by QMessageAuthenticationCode::resultView().
|
noexcept |
Definition at line 1575 of file qcryptographichash.cpp.
References QCryptographicHashPrivate::addData(), QCryptographicHashPrivate::finalizeUnchecked(), messageHash, QCryptographicHashPrivate::reset(), QCryptographicHashPrivate::result, and xored().
Referenced by finalize(), and QMessageAuthenticationCode::hash().
|
noexcept |
Seeds messageHash from key
.
This function assumes that messageHash is in its initial state (reset() has been called).
Definition at line 1367 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 1332 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(), and QMessageAuthenticationCode::hash().
HashBlock QMessageAuthenticationCodePrivate::key |
Definition at line 1310 of file qcryptographichash.cpp.
QCryptographicHashPrivate QMessageAuthenticationCodePrivate::messageHash |
Definition at line 1311 of file qcryptographichash.cpp.
Referenced by QMessageAuthenticationCode::addData(), QMessageAuthenticationCode::addData(), finalize(), finalizeUnchecked(), QMessageAuthenticationCode::hash(), QMessageAuthenticationCode::reset(), and QMessageAuthenticationCode::resultView().