Graphe de collaboration de Arcane::SHA3Algorithm::SHA3:Classes | |
| struct | sha3_ctx |
| Algorithm context. Plus de détails... | |
Fonctions membres publiques | |
| void | keccak_init (unsigned int bits) |
| Initializing a sha3 context for given number of output bits. | |
| void | sha3_224_init () |
| Initialize context before calculating hash. | |
| void | sha3_256_init () |
| Initialize context before calculating hash. | |
| void | sha3_384_init () |
| Initialize context before calculating hash. | |
| void | sha3_512_init () |
| Initialize context before calculating hash. | |
| void | sha3_update (Span< const std::byte > bytes) |
| Calculate message hash. | |
| void | sha3_final (ByteArray &output_hash) |
| Store calculated hash into the given array. | |
Fonctions membres publiques statiques | |
| static void | keccak_theta (uint64_t *A) |
| Keccak theta() transformation. | |
| static void | keccak_pi (uint64_t *A) |
| Keccak pi() transformation. | |
| static void | keccak_chi (uint64_t *A) |
| Keccak chi() transformation. | |
| static void | sha3_permutation (uint64_t *state) |
| static void | sha3_process_block (uint64_t hash[25], const uint64_t *block, size_t block_size) |
| The core transformation. Process the specified block of data. | |
Attributs privés | |
| sha3_ctx | m_context |
Définition à la ligne 84 du fichier SHA3HashAlgorithm.cc.
|
static |
Keccak chi() transformation.
Définition à la ligne 271 du fichier SHA3HashAlgorithm.cc.
| void Arcane::SHA3Algorithm::SHA3::keccak_init | ( | unsigned int | bits | ) |
Initializing a sha3 context for given number of output bits.
Définition à la ligne 130 du fichier SHA3HashAlgorithm.cc.
Références ARCANE_FATAL.
Référencé par sha3_224_init(), sha3_256_init(), sha3_384_init(), et sha3_512_init().
Voici le graphe des appelants de cette fonction :
|
static |
Keccak pi() transformation.
Définition à la ligne 223 du fichier SHA3HashAlgorithm.cc.
|
static |
Keccak theta() transformation.
Définition à la ligne 203 du fichier SHA3HashAlgorithm.cc.
| void Arcane::SHA3Algorithm::SHA3::sha3_224_init | ( | ) |
Initialize context before calculating hash.
Définition à la ligne 152 du fichier SHA3HashAlgorithm.cc.
Références keccak_init().
Voici le graphe d'appel pour cette fonction :| void Arcane::SHA3Algorithm::SHA3::sha3_256_init | ( | ) |
Initialize context before calculating hash.
Définition à la ligne 163 du fichier SHA3HashAlgorithm.cc.
Références keccak_init().
Voici le graphe d'appel pour cette fonction :| void Arcane::SHA3Algorithm::SHA3::sha3_384_init | ( | ) |
Initialize context before calculating hash.
Définition à la ligne 174 du fichier SHA3HashAlgorithm.cc.
Références keccak_init().
Voici le graphe d'appel pour cette fonction :| void Arcane::SHA3Algorithm::SHA3::sha3_512_init | ( | ) |
Initialize context before calculating hash.
Définition à la ligne 185 du fichier SHA3HashAlgorithm.cc.
Références keccak_init().
Voici le graphe d'appel pour cette fonction :| void Arcane::SHA3Algorithm::SHA3::sha3_final | ( | ByteArray & | output_hash | ) |
Store calculated hash into the given array.
| output_hash | calculated hash in binary form |
Définition à la ligne 439 du fichier SHA3HashAlgorithm.cc.
Références ARCANE_FATAL, Arcane::Array< DataType >::data(), Arcane::Array< DataType >::resize(), et sha3_process_block().
Voici le graphe d'appel pour cette fonction :
|
static |
Définition à la ligne 285 du fichier SHA3HashAlgorithm.cc.
|
static |
The core transformation. Process the specified block of data.
| hash | the algorithm state |
| block | the message block to process |
| block_size | the size of the processed block in bytes |
Définition à la ligne 335 du fichier SHA3HashAlgorithm.cc.
Référencé par sha3_final(), et sha3_update().
Voici le graphe des appelants de cette fonction :| void Arcane::SHA3Algorithm::SHA3::sha3_update | ( | Span< const std::byte > | bytes | ) |
Calculate message hash.
Can be called repeatedly with chunks of the message to be hashed.
| ctx | the algorithm context containing current hashing state |
| bytes | message chunk |
Définition à la ligne 385 du fichier SHA3HashAlgorithm.cc.
Références Arcane::SpanImpl< T, SizeType, Extent >::data(), sha3_process_block(), et Arcane::SpanImpl< T, SizeType, Extent >::size().
Voici le graphe d'appel pour cette fonction :
|
private |
Définition à la ligne 99 du fichier SHA3HashAlgorithm.cc.