Searched refs:pool_idx (Results 1 – 3 of 3) sorted by relevance
234 prng->u.fortuna.pool_idx = prng->u.fortuna.pool0_len = 0; in fortuna_start()323 err = s_fortuna_add(0, prng->u.fortuna.pool_idx, in, inlen, prng); in fortuna_add_entropy()326 ++(prng->u.fortuna.pool_idx); in fortuna_add_entropy()327 prng->u.fortuna.pool_idx %= LTC_FORTUNA_POOLS; in fortuna_add_entropy()
354 size_t pool_idx; member360 iterator->pool_idx = 0; in bpool_foreach_iterator_init()407 if ((iterator->pool_idx + 1) >= ctx->pool_len) in bpool_foreach()410 iterator->pool_idx++; in bpool_foreach()411 iterator->next_buf = BFH(ctx->pool[iterator->pool_idx].buf); in bpool_foreach()
36 unsigned long pool_idx, /* current pool we will add to */ member
Completed in 7 milliseconds