Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/
Drandom32.c262 #define LCG(x) ((x) * 69069U) /* super-duper LCG */ in prandom_seed_early() macro
264 state->s1 = __seed(HWSEED() ^ LCG(seed), 2U); in prandom_seed_early()
265 state->s2 = __seed(HWSEED() ^ LCG(state->s1), 8U); in prandom_seed_early()
266 state->s3 = __seed(HWSEED() ^ LCG(state->s2), 16U); in prandom_seed_early()
267 state->s4 = __seed(HWSEED() ^ LCG(state->s3), 128U); in prandom_seed_early()