Lines Matching full:random

2 * randm.c - Random number generator program file.
53 static long randCount = 0; /* Pseudo-random incrementer */
60 * Initialize the random number generator.
74 * Churn the randomness pool on a random event. Call this early and often
75 * on random and semi-random system events to build randomness in time for
78 * If new random data is available, pass a pointer to that and it will be
107 * Use the random pool to generate random data. This degrades to pseudo
108 * random when used faster than randomness is supplied using churnRand().
143 * Return a new random number.
161 static u32_t avRandomSeed = 0; /* Seed used for random number generation. */
168 * Initialize the random number generator.
170 * Here we attempt to compute a random number seed but even if
171 * it isn't random, we'll randomize it later.
178 * operational. Thus we call it again on the first random
205 /* Initialize the Borland random number generator. */ in avRandomInit()
210 * Randomize our random seed value. Here we use the fact that
211 * this function is called at *truely random* times by the polling
212 * and network functions. Here we only get 16 bits of new random
233 * Return a new random number.
234 * Here we use the Borland rand() function to supply a pseudo random
235 * number which we make truely random by combining it with our own
236 * seed which is randomized by truely random events.
237 * Thus the numbers will be truely random unless there have been no
238 * operator or network events in which case it will be pseudo random