Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Drandom.c41 #define POOL_WORDS_MASK (POOL_WORDS - 1) macro
93 pool_pos = (pool_pos - 1) & POOL_WORDS_MASK; in random_mix_pool()
95 w ^= pool[(pool_pos + POOL_TAP1) & POOL_WORDS_MASK]; in random_mix_pool()
96 w ^= pool[(pool_pos + POOL_TAP2) & POOL_WORDS_MASK]; in random_mix_pool()
97 w ^= pool[(pool_pos + POOL_TAP3) & POOL_WORDS_MASK]; in random_mix_pool()
98 w ^= pool[(pool_pos + POOL_TAP4) & POOL_WORDS_MASK]; in random_mix_pool()
99 w ^= pool[(pool_pos + POOL_TAP5) & POOL_WORDS_MASK]; in random_mix_pool()
118 buf[i] = pool[(pool_pos - i) & POOL_WORDS_MASK]; in random_extract()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Drandom.c41 #define POOL_WORDS_MASK (POOL_WORDS - 1) macro
93 pool_pos = (pool_pos - 1) & POOL_WORDS_MASK; in random_mix_pool()
95 w ^= pool[(pool_pos + POOL_TAP1) & POOL_WORDS_MASK]; in random_mix_pool()
96 w ^= pool[(pool_pos + POOL_TAP2) & POOL_WORDS_MASK]; in random_mix_pool()
97 w ^= pool[(pool_pos + POOL_TAP3) & POOL_WORDS_MASK]; in random_mix_pool()
98 w ^= pool[(pool_pos + POOL_TAP4) & POOL_WORDS_MASK]; in random_mix_pool()
99 w ^= pool[(pool_pos + POOL_TAP5) & POOL_WORDS_MASK]; in random_mix_pool()
118 buf[i] = pool[(pool_pos - i) & POOL_WORDS_MASK]; in random_extract()