Searched refs:lcg_state (Results 1 – 1 of 1) sorted by relevance
44 static uint32_t lcg_state = 5381, qh_state = 4711; variable1730 h = lcg_state; in chvt_rndsetup()1750 return (((lcg_state = 22695477 * lcg_state + 1) >> 16) & 0x7FFF); in rndget()1771 h = lcg_state; in rndset()1776 z.sp = &lcg_state; in rndset()1784 lcg_state = (t << 15) | rndget(); in rndset()1791 BAFHUpdateMem_reg(t, &lcg_state, sizeof(lcg_state)); in rndset()1793 lcg_state = t; in rndset()1795 arc4random_pushb_fast(&lcg_state, sizeof(lcg_state)); in rndset()1796 lcg_state = arc4random(); in rndset()[all …]