Lines Matching defs:pool
49 static u32 pool[POOL_WORDS];
93 w ^= pool[pool_pos];
94 w ^= pool[(pool_pos + POOL_TAP1) & POOL_WORDS_MASK];
95 w ^= pool[(pool_pos + POOL_TAP2) & POOL_WORDS_MASK];
96 w ^= pool[(pool_pos + POOL_TAP3) & POOL_WORDS_MASK];
97 w ^= pool[(pool_pos + POOL_TAP4) & POOL_WORDS_MASK];
98 w ^= pool[(pool_pos + POOL_TAP5) & POOL_WORDS_MASK];
99 pool[pool_pos] = (w >> 3) ^ twist[w & 7];
111 /* First, add hash back to pool to make backtracking more difficult. */
112 hmac_sha1(dummy_key, sizeof(dummy_key), (const u8 *) pool,
113 sizeof(pool), hash);
115 /* Hash half the pool to extra data */
117 buf[i] = pool[(pool_pos - i) & POOL_WORDS_MASK];
148 wpa_hexdump_key(MSG_EXCESSIVE, "random pool",
149 (const u8 *) pool, sizeof(pool));
152 wpa_hexdump_key(MSG_EXCESSIVE, "random pool",
153 (const u8 *) pool, sizeof(pool));
173 /* Mix in additional entropy extracted from the internal pool */
179 wpa_hexdump_key(MSG_EXCESSIVE, "random from internal pool",
299 wpa_printf(MSG_INFO, "random: Not enough entropy pool available for "
312 wpa_printf(MSG_DEBUG, "random: Mark internal entropy pool to be "