Lines Matching defs:mod
44 * g = g0^j mod n will be a generator again.
47 * X[n] = a*X[n-1]+b mod m is a Linear Congruential Generator
48 * with a = 7^(even random) mod m,
53 * id[n] = seed xor (g^X[n] mod n)
97 * of 0 - (mod-1)
102 pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod)
105 pmod(gen, exp, mod)
106 u_int16_t gen, exp, mod;
117 s = (s*t) % mod;
119 t = (t*t) % mod;
162 * RU_GEN^j mod RU_N