Searched refs:hc_entropy_fast_accumulator (Results 1 - 1 of 1) sorted by relevance

/freebsd-12-stable/sys/dev/random/
H A Drandom_harvestq.c134 } hc_entropy_fast_accumulator; member in struct:harvest_context
180 if (harvest_context.hc_entropy_fast_accumulator.buf[i]) {
181 random_harvest_direct(harvest_context.hc_entropy_fast_accumulator.buf + i, sizeof(harvest_context.hc_entropy_fast_accumulator.buf[0]), RANDOM_UMA);
182 harvest_context.hc_entropy_fast_accumulator.buf[i] = 0;
500 pos = harvest_context.hc_entropy_fast_accumulator.pos;
501 harvest_context.hc_entropy_fast_accumulator.buf[pos] ^= jenkins_hash(entropy, size, (uint32_t)get_cyclecount());
502 harvest_context.hc_entropy_fast_accumulator.pos = (pos + 1)%RANDOM_ACCUM_MAX;

Completed in 47 milliseconds