Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/crypto/
Drandom.c37 #define POOL_WORDS_MASK (POOL_WORDS - 1) macro
87 pool_pos = (pool_pos - 1) & POOL_WORDS_MASK; 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()
112 buf[i] = pool[(pool_pos - i) & POOL_WORDS_MASK]; in random_extract()