Home
last modified time | relevance | path

Searched refs:random_state (Results 1 – 2 of 2) sorted by relevance

/freebsd-9-stable/sys/dev/random/
Dyarrow.c54 static struct random_state random_state; variable
71 pl = random_state.which; in random_process_event()
72 source = &random_state.pool[pl].source[event->source]; in random_process_event()
73 yarrow_hash_iterate(&random_state.pool[pl].hash, event->entropy, in random_process_event()
75 yarrow_hash_iterate(&random_state.pool[pl].hash, &event->somecounter, in random_process_event()
85 if (random_state.pool[pl].source[src].bits in random_process_event()
86 > random_state.pool[pl].thresh) in random_process_event()
96 if (overthreshhold[SLOW] >= random_state.slowoverthresh) in random_process_event()
100 random_state.which = !random_state.which; in random_process_event()
120 &random_state.gengateinterval, 10, in random_yarrow_init_alg()
[all …]
Dyarrow.h42 struct random_state { struct