Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/crypto/
Drandom.c48 static unsigned int pool_pos = 0; variable
86 input_rotate += pool_pos ? 7 : 14; in random_mix_pool()
87 pool_pos = (pool_pos - 1) & POOL_WORDS_MASK; in random_mix_pool()
88 w ^= pool[pool_pos]; in random_mix_pool()
89 w ^= pool[(pool_pos + POOL_TAP1) & POOL_WORDS_MASK]; in random_mix_pool()
90 w ^= pool[(pool_pos + POOL_TAP2) & POOL_WORDS_MASK]; in random_mix_pool()
91 w ^= pool[(pool_pos + POOL_TAP3) & POOL_WORDS_MASK]; in random_mix_pool()
92 w ^= pool[(pool_pos + POOL_TAP4) & POOL_WORDS_MASK]; in random_mix_pool()
93 w ^= pool[(pool_pos + POOL_TAP5) & POOL_WORDS_MASK]; in random_mix_pool()
94 pool[pool_pos] = (w >> 3) ^ twist[w & 7]; in random_mix_pool()
[all …]