]> git.ipfire.org Git - thirdparty/hostap.git/commit
Generate random ANonce instead of one based on Counter
authorJouni Malinen <j@w1.fi>
Sun, 26 Feb 2012 10:06:36 +0000 (12:06 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 26 Feb 2012 10:06:36 +0000 (12:06 +0200)
commit3825a19bfac313919721177724c9fb455a70b241
treee89d87c3a92bd261a1169bd87f0a8eeb734483be
parent6e2a570ec47454d6611b34f36c96a1809b6e26c5
Generate random ANonce instead of one based on Counter

Definition of ANonce selection in IEEE Std 802.11i-2004 is somewhat
ambiguous. The Authenticator state machine uses a counter that is
incremented by one for each 4-way handshake. However, the security
analysis of 4-way handshake points out that unpredictable nonces help in
preventing precomputation attacks. Instead of the state machine
definition, use an unpredictable nonce value here to provide stronger
protection against potential precomputation attacks.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/ap/wpa_auth.c