Searched refs:blockhash_bytes (Results 1 – 2 of 2) sorted by relevance
| /src/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
| H A D | argon2-core.c | 206 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()
|
| /src/crypto/openssl/providers/implementations/kdfs/ |
| H A D | argon2.c | 347 uint8_t blockhash_bytes[ARGON2_BLOCK_SIZE]; in fill_first_blocks() local 356 blake2b_long(ctx->md, ctx->mac, blockhash_bytes, ARGON2_BLOCK_SIZE, in fill_first_blocks() 359 blockhash_bytes); in fill_first_blocks() 361 blake2b_long(ctx->md, ctx->mac, blockhash_bytes, ARGON2_BLOCK_SIZE, in fill_first_blocks() 364 blockhash_bytes); in fill_first_blocks() 366 OPENSSL_cleanse(blockhash_bytes, ARGON2_BLOCK_SIZE); in fill_first_blocks() 753 uint8_t blockhash_bytes[ARGON2_BLOCK_SIZE]; in finalize() local 769 store_block(blockhash_bytes, &blockhash); in finalize() 770 blake2b_long(ctx->md, ctx->mac, out, ctx->outlen, blockhash_bytes, in finalize() 773 OPENSSL_cleanse(blockhash_bytes, ARGON2_BLOCK_SIZE); in finalize()
|