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
QCryptographicHashPrivate::State Union Reference
+ Collaboration diagram for QCryptographicHashPrivate::State:

Public Types

enum class  Sha3Variant { Sha3 , Keccak , Sha3 , Keccak }
 
enum class  Sha3Variant { Sha3 , Keccak , Sha3 , Keccak }
 

Public Member Functions

 State (QCryptographicHash::Algorithm method)
 
void destroy (QCryptographicHash::Algorithm method)
 
void reset (QCryptographicHash::Algorithm method) noexcept
 
void addData (QCryptographicHash::Algorithm method, QByteArrayView data) noexcept
 
void finalizeUnchecked (QCryptographicHash::Algorithm method, HashResult &result) noexcept
 
 State (QCryptographicHash::Algorithm method)
 
void destroy (QCryptographicHash::Algorithm method)
 
void reset (QCryptographicHash::Algorithm method) noexcept
 
void addData (QCryptographicHash::Algorithm method, QByteArrayView data) noexcept
 
void finalizeUnchecked (QCryptographicHash::Algorithm method, HashResult &result) noexcept
 

Static Public Member Functions

static void sha3Finish (SHA3Context &ctx, HashResult &result, Sha3Variant sha3Variant)
 
static void sha3Finish (SHA3Context &ctx, HashResult &result, Sha3Variant sha3Variant)
 

Public Attributes

Sha1State sha1Context
 
MD5Context md5Context
 
md4_context md4Context
 
SHA224Context sha224Context
 
SHA256Context sha256Context
 
SHA384Context sha384Context
 
SHA512Context sha512Context
 
SHA3Context sha3Context
 
blake2b_state blake2bContext
 
blake2s_state blake2sContext
 

Detailed Description

Definition at line 275 of file qcryptographichash.cpp.

Member Enumeration Documentation

◆ Sha3Variant [1/2]

Enumerator
Sha3 
Keccak 
Sha3 
Keccak 

Definition at line 299 of file qcryptographichash.cpp.

◆ Sha3Variant [2/2]

Enumerator
Sha3 
Keccak 
Sha3 
Keccak 

Definition at line 299 of file qcryptographichash.cpp.

Constructor & Destructor Documentation

◆ State() [1/2]

QCryptographicHashPrivate::State::State ( QCryptographicHash::Algorithm method)
explicit

◆ State() [2/2]

QCryptographicHashPrivate::State::State ( QCryptographicHash::Algorithm method)
explicit

Member Function Documentation

◆ addData() [1/2]

void QCryptographicHashPrivate::State::addData ( QCryptographicHash::Algorithm method,
QByteArrayView data )
noexcept

◆ addData() [2/2]

void QCryptographicHashPrivate::State::addData ( QCryptographicHash::Algorithm method,
QByteArrayView data )
noexcept

◆ destroy() [1/2]

void QCryptographicHashPrivate::State::destroy ( QCryptographicHash::Algorithm method)

Definition at line 636 of file qcryptographichash.cpp.

◆ destroy() [2/2]

void QCryptographicHashPrivate::State::destroy ( QCryptographicHash::Algorithm method)

◆ finalizeUnchecked() [1/2]

void QCryptographicHashPrivate::State::finalizeUnchecked ( QCryptographicHash::Algorithm method,
HashResult & result )
noexcept

◆ finalizeUnchecked() [2/2]

void QCryptographicHashPrivate::State::finalizeUnchecked ( QCryptographicHash::Algorithm method,
HashResult & result )
noexcept

◆ reset() [1/2]

void QCryptographicHashPrivate::State::reset ( QCryptographicHash::Algorithm method)
noexcept

Definition at line 703 of file qcryptographichash.cpp.

References sha224Context, sha256Context, sha384Context, and sha512Context.

◆ reset() [2/2]

void QCryptographicHashPrivate::State::reset ( QCryptographicHash::Algorithm method)
noexcept

◆ sha3Finish() [1/2]

void QCryptographicHashPrivate::State::sha3Finish ( SHA3Context & ctx,
HashResult & result,
Sha3Variant sha3Variant )
static

Definition at line 311 of file qcryptographichash.cpp.

References Keccak, and Sha3.

◆ sha3Finish() [2/2]

static void QCryptographicHashPrivate::State::sha3Finish ( SHA3Context & ctx,
HashResult & result,
Sha3Variant sha3Variant )
static

Member Data Documentation

◆ blake2bContext

blake2b_state QCryptographicHashPrivate::State::blake2bContext

Definition at line 301 of file qcryptographichash.cpp.

◆ blake2sContext

blake2s_state QCryptographicHashPrivate::State::blake2sContext

Definition at line 302 of file qcryptographichash.cpp.

◆ md4Context

md4_context QCryptographicHashPrivate::State::md4Context

Definition at line 291 of file qcryptographichash.cpp.

◆ md5Context

MD5Context QCryptographicHashPrivate::State::md5Context

Definition at line 290 of file qcryptographichash.cpp.

◆ sha1Context

Sha1State QCryptographicHashPrivate::State::sha1Context

Definition at line 286 of file qcryptographichash.cpp.

◆ sha224Context

SHA224Context QCryptographicHashPrivate::State::sha224Context

Definition at line 292 of file qcryptographichash.cpp.

Referenced by State(), addData(), finalizeUnchecked(), and reset().

◆ sha256Context

SHA256Context QCryptographicHashPrivate::State::sha256Context

Definition at line 293 of file qcryptographichash.cpp.

Referenced by State(), addData(), finalizeUnchecked(), and reset().

◆ sha384Context

SHA384Context QCryptographicHashPrivate::State::sha384Context

Definition at line 294 of file qcryptographichash.cpp.

Referenced by State(), addData(), finalizeUnchecked(), and reset().

◆ sha3Context

SHA3Context QCryptographicHashPrivate::State::sha3Context

Definition at line 297 of file qcryptographichash.cpp.

Referenced by State(), addData(), and finalizeUnchecked().

◆ sha512Context

SHA512Context QCryptographicHashPrivate::State::sha512Context

Definition at line 295 of file qcryptographichash.cpp.

Referenced by State(), addData(), finalizeUnchecked(), and reset().


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