Home
last modified time | relevance | path

Searched refs:blockhash_bytes (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-core.c206 uint8_t blockhash_bytes[ARGON2_BLOCK_SIZE]; in finalize() local
207 store_block(blockhash_bytes, &blockhash); in finalize()
208 blake2b_long(context->out, context->outlen, blockhash_bytes, in finalize()
212 sodium_memzero(blockhash_bytes, in finalize()
373 uint8_t blockhash_bytes[ARGON2_BLOCK_SIZE]; in fill_first_blocks() local
377 blake2b_long(blockhash_bytes, ARGON2_BLOCK_SIZE, blockhash, in fill_first_blocks()
380 blockhash_bytes); in fill_first_blocks()
383 blake2b_long(blockhash_bytes, ARGON2_BLOCK_SIZE, blockhash, in fill_first_blocks()
386 blockhash_bytes); in fill_first_blocks()
388 sodium_memzero(blockhash_bytes, ARGON2_BLOCK_SIZE); in fill_first_blocks()
/netbsd-src/external/apache2/argon2/dist/phc-winner-argon2/src/
H A Dcore.c175 uint8_t blockhash_bytes[ARGON2_BLOCK_SIZE]; in finalize() local
176 store_block(blockhash_bytes, &blockhash); in finalize()
177 blake2b_long(context->out, context->outlen, blockhash_bytes, in finalize()
181 clear_internal_memory(blockhash_bytes, ARGON2_BLOCK_SIZE); in finalize()
523 uint8_t blockhash_bytes[ARGON2_BLOCK_SIZE]; in fill_first_blocks() local
528 blake2b_long(blockhash_bytes, ARGON2_BLOCK_SIZE, blockhash, in fill_first_blocks()
531 blockhash_bytes); in fill_first_blocks()
534 blake2b_long(blockhash_bytes, ARGON2_BLOCK_SIZE, blockhash, in fill_first_blocks()
537 blockhash_bytes); in fill_first_blocks()
539 clear_internal_memory(blockhash_bytes, ARGON2_BLOCK_SIZE); in fill_first_blocks()