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

/bionic/libc/upstream-openbsd/lib/libc/net/
H A Dres_random.c78 #define RU_M 31104 /* RU_M = 2^7*3^5 - don't change */ macro
180 ru_x = arc4random_uniform(RU_M);
190 ru_a = pmod(RU_AGEN, (tmp >> 16) & 0xfffe, RU_M);
246 ru_x = (ru_a * ru_x + ru_b) % RU_M;

Completed in 68 milliseconds