Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Drandom32.c250 #define LCG(x) ((x) * 69069U) /* super-duper LCG */ in prandom_state_selftest_seed() macro
251 state->s1 = __seed(LCG(seed), 2U); in prandom_state_selftest_seed()
252 state->s2 = __seed(LCG(state->s1), 8U); in prandom_state_selftest_seed()
253 state->s3 = __seed(LCG(state->s2), 16U); in prandom_state_selftest_seed()
254 state->s4 = __seed(LCG(state->s3), 128U); in prandom_state_selftest_seed()