Searched refs:blockhash (Results 1 – 2 of 2) sorted by relevance
/freebsd/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);
|