hostapd/wlantest
Jouni Malinen 1abdeaa412 wlantest: Fix TK iteration based on the PTK file
Use of ptk_len is not valid here to check what is the length of the
actual TK. Fix this by using ptk->tk_len instead so that the appropriate
decryption function can be selected for cases where the TKs are
configured through the PTK file.

Fixes: ce7bdb54e5 ("wlantest: Extend Management frame decryption to support GCMP and CCMP-256")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2024-02-01 19:51:56 +02:00
..
.gitignore gitignore: Clean up a bit 2020-10-11 19:32:50 +03:00
bip.c wlantest: Add test vectors for S1G BIP 2024-01-20 19:39:27 +02:00
bss.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
ccmp.c Minor formatting changes to CCMP test vectors 2023-08-11 11:46:37 +03:00
ctrl.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
gcmp.c wlantest: Use AP MLD address in CCMP/GCMP AAD for A3 2023-01-10 12:38:59 +02:00
inject.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
Makefile wlantest: Key derivation for SAE-EXT-KEY 2022-10-12 22:33:27 +03:00
monitor.c wlantest: Comment out Linux packet socket from OS X build 2020-04-05 18:53:59 +03:00
process.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
readpcap.c wlantest: Detect and report plaintext payload in protected frames 2020-03-14 17:36:41 +02:00
rx_data.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
rx_eapol.c wlantest: Adjust kdk_len according to RSNX capability for FT 2024-01-25 20:08:08 +02:00
rx_ip.c wlantest: Avoid unaligned iphdr pointers 2021-02-13 23:07:34 +02:00
rx_mgmt.c wlantest: Fix TK iteration based on the PTK file 2024-02-01 19:51:56 +02:00
rx_tdls.c Simplify Timeout Interval element parsing 2015-04-22 22:05:11 +03:00
sta.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
test_vectors.c wlantest: Do not decrease debug level for test vectors 2024-01-20 19:45:20 +02:00
tkip.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
wep.c Use a less generic name for IEEE802.11 CRC-32 routine 2022-09-16 21:39:47 +03:00
wired.c wlantest: Use BSD compatible UDP header struct 2020-04-05 18:53:59 +03:00
wlantest.c wlantest: Support multiple input files 2023-08-08 11:00:42 +03:00
wlantest.h wlantest: Add test vectors for S1G BIP 2024-01-20 19:39:27 +02:00
wlantest_cli.c wlantest: Replace the duplicate functions with reuse of cli.h 2021-12-11 21:50:41 +02:00
wlantest_ctrl.h wlantest: Add a BSS probe_response counter 2013-12-26 13:37:06 +02:00
writepcap.c wlantest: Ethernet interface capture 2019-12-27 23:16:45 +02:00