Searched refs:blockhash (Results 1 – 3 of 3) sorted by relevance
| /src/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
| H A D | argon2-core.c | 190 block blockhash; in finalize() local 193 copy_block(&blockhash, in finalize() 200 xor_block(&blockhash, in finalize() 207 store_block(blockhash_bytes, &blockhash); in finalize() 210 sodium_memzero(blockhash.v, in finalize() 368 fill_first_blocks(uint8_t *blockhash, const argon2_instance_t *instance) in fill_first_blocks() argument 375 STORE32_LE(blockhash + ARGON2_PREHASH_DIGEST_LENGTH, 0); in fill_first_blocks() 376 STORE32_LE(blockhash + ARGON2_PREHASH_DIGEST_LENGTH + 4, l); in fill_first_blocks() 377 blake2b_long(blockhash_bytes, ARGON2_BLOCK_SIZE, blockhash, in fill_first_blocks() 382 STORE32_LE(blockhash + ARGON2_PREHASH_DIGEST_LENGTH, 1); in fill_first_blocks() [all …]
|
| H A D | argon2-core.h | 229 void initial_hash(uint8_t *blockhash, argon2_context *context, 238 void fill_first_blocks(uint8_t *blockhash, const argon2_instance_t *instance);
|
| /src/crypto/openssl/providers/implementations/kdfs/ |
| H A D | argon2.c | 234 static void fill_first_blocks(uint8_t *blockhash, const KDF_ARGON2 *ctx); 257 static void initial_hash(uint8_t *blockhash, KDF_ARGON2 *ctx); 344 static void fill_first_blocks(uint8_t *blockhash, const KDF_ARGON2 *ctx) in fill_first_blocks() argument 354 store32(blockhash + ARGON2_PREHASH_DIGEST_LENGTH, 0); in fill_first_blocks() 355 store32(blockhash + ARGON2_PREHASH_DIGEST_LENGTH + 4, l); in fill_first_blocks() 357 blockhash, ARGON2_PREHASH_SEED_LENGTH); in fill_first_blocks() 360 store32(blockhash + ARGON2_PREHASH_DIGEST_LENGTH, 1); in fill_first_blocks() 362 blockhash, ARGON2_PREHASH_SEED_LENGTH); in fill_first_blocks() 645 static void initial_hash(uint8_t *blockhash, KDF_ARGON2 *ctx) in initial_hash() argument 652 if (ctx == NULL || blockhash == NULL) in initial_hash() [all …]
|