Searched refs:FXRNG_HASH_SZ (Results 1 – 3 of 3) sorted by relevance
35 #define FXRNG_HASH_SZ BLAKE2B_OUTBYTES /* 64 */ macro49 rc = blake2b_init(&h->state, FXRNG_HASH_SZ); in fxrng_hash_init()63 fxrng_hash_finish(struct fxrng_hash *h, uint8_t buf[static FXRNG_HASH_SZ], size_t sz) in fxrng_hash_finish() argument
449 uint8_t hash[FXRNG_HASH_SZ]; in fxrng_alg_seeded()501 uint8_t hash[FXRNG_HASH_SZ * FXRNG_NPOOLS]; in fxent_timer_reseed_npools()515 fxrng_hash_finish(&fxent_pool[i], hash + i * FXRNG_HASH_SZ, in fxent_timer_reseed_npools()516 FXRNG_HASH_SZ); in fxent_timer_reseed_npools()520 fxrng_brng_reseed(hash, n * FXRNG_HASH_SZ); in fxent_timer_reseed_npools()521 explicit_bzero(hash, n * FXRNG_HASH_SZ); in fxent_timer_reseed_npools()
174 uint8_t hash_out[FXRNG_HASH_SZ]; in fxrng_rng_reseed_internal()179 _Static_assert(FX_CHACHA20_KEYSIZE <= FXRNG_HASH_SZ, ""); in fxrng_rng_reseed_internal()