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

/xnu-2782.1.97/bsd/netinet6/
H A Dip6_id.c136 const u_int32_t ru_n; /* ru_n: prime, ru_n - 1: product of pfacts[] */ member in struct:randomtab
139 const u_int32_t pfacts[4]; /* factors of ru_n */
159 { 2, 3, 59652323, 0 }, /* factors of ru_n */
171 { 2, 3, 14563, 0 }, /* factors of ru_n */
229 j = RandomULong() % p->ru_n;
244 j = (j + 1) % p->ru_n;
247 p->ru_g = pmod(p->ru_gen, j, p->ru_n);
278 return ((p->ru_seed ^ pmod(p->ru_g, p->ru_seed2 ^ p->ru_x, p->ru_n)) |
[all...]

Completed in 19 milliseconds