aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/rx_eapol.c
Commit message (Collapse)AuthorAgeFilesLines
* wlantest: Store last received GTK for each STAJouni Malinen2011-12-221-4/+8
| | | | | | | This allows info_sta command to be used to fetch the last received GTK separately for each STA. Signed-hostap: Jouni Malinen <j@w1.fi>
* wlantest: Fix EAPOL-Key Key Data decryption for rekey caseJouni Malinen2011-12-221-2/+4
| | | | | | | KEK from TPTK needs to be used instead of from PTK when processing rekeying case similarly to what was already done with KCK. Signed-hostap: Jouni Malinen <j@w1.fi>
* wlantest: Fix handling of PTK rekeyingJouni Malinen2011-11-141-13/+53
| | | | | | | | | | | | | | | | | Use a temporary PTK buffer during 4-way handshake when rekeying PTK so that the new EAPOL-Key frame MIC values are checked against the new PTK and frames are decrypted using the old PTK. Take the new PTK into use once msg 4/4 is processed and clear RSC counters at that point (including moving of RSC update to avoid setting RSC based on the msg 4/4). In addition, add a workaround to handle supplicant implementations that set Secure bit to one during PTK rekeying 4-way handshake in msg 2/4. This was previously assumed to be msg 4/4, but the key data contents can be used to figure out whether this is msg 2/4 even if the Secure bit is set to one. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* wlantest: Avoid aliasing a function parameter by renaming local variableJouni Malinen2010-12-171-2/+2
|
* wlantest: Add more debugging details for PMK selectionJouni Malinen2010-11-211-0/+5
|
* wlantest: Move RX EAPOL processing into its own fileJouni Malinen2010-11-201-0/+989