Home
last modified time | relevance | path

Searched refs:LCG (Results 1 – 1 of 1) sorted by relevance

/lib/
Drandom32.c164 #define LCG(x) ((x) * 69069U) /* super-duper LCG */ in prandom_seed_early() macro
166 state->s1 = __seed(HWSEED() ^ LCG(seed), 2U); in prandom_seed_early()
167 state->s2 = __seed(HWSEED() ^ LCG(state->s1), 8U); in prandom_seed_early()
168 state->s3 = __seed(HWSEED() ^ LCG(state->s2), 16U); in prandom_seed_early()
169 state->s4 = __seed(HWSEED() ^ LCG(state->s3), 128U); in prandom_seed_early()