RU_M
ru_x = arc4random_uniform(RU_M);
ru_a = pmod(RU_AGEN, (tmp >> 16) & 0xfffe, RU_M);
ru_x = (ru_a * ru_x + ru_b) % RU_M;