Lines Matching refs:entropy
197 uint32_t entropy[HARVESTSIZE]; in random_sources_feed() local
213 n = rrs->rrs_source->rs_read(entropy, sizeof(entropy)); in random_sources_feed()
214 …KASSERT((n <= sizeof(entropy)), ("%s: rs_read returned too much data (%u > %zu)", __func__, n, siz… in random_sources_feed()
224 random_harvest_direct(entropy, n, (n*8)/2, rrs->rrs_source->rs_source); in random_sources_feed()
227 explicit_bzero(entropy, sizeof(entropy)); in random_sources_feed()
410 random_harvest_queue(const void *entropy, u_int size, u_int bits, enum random_entropy_source origin) in random_harvest_queue() argument
429 memcpy(event->he_entropy, entropy, size); in random_harvest_queue()
434 event->he_entropy[0] = jenkins_hash(entropy, size, (uint32_t)(uintptr_t)event); in random_harvest_queue()
448 random_harvest_fast(const void *entropy, u_int size, u_int bits, enum random_entropy_source origin) in random_harvest_fast() argument
457 …harvest_context.hc_entropy_fast_accumulator.buf[pos] ^= jenkins_hash(entropy, size, (uint32_t)get_… in random_harvest_fast()
468 random_harvest_direct(const void *entropy, u_int size, u_int bits, enum random_entropy_source origi… in random_harvest_direct() argument
481 memcpy(event.he_entropy, entropy, size); in random_harvest_direct()