fragattacks/wlantest
Jouni Malinen 0482414743 wlantest: Fix EAPOL-Key Key Data padding removal
The case where a single 0xdd octet without any 0x00 octets is used as
padding was addressed incorrectly and that ended up truncating one octet
of the actual plaintext version of the Key Data value. Fix this by
removing the unnecessary change to the p pointer before calculating the
new length since p is already pointing to one past the last octet of the
full plaintext.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2020-09-30 00:19:53 +03:00
..
bip.c wlantest: Fix bip_protect() memory allocation 2016-03-14 18:42:46 +02:00
bss.c wlantest: Basic Extended Key ID support 2020-03-16 00:07:20 +02:00
ccmp.c IEEE P802.11ah/D10.0 PV1 CCMP test vectors 2016-09-23 17:49:33 +03:00
ctrl.c OCV: Add wlantest support for indicating OCV 2018-12-17 00:02:14 +02:00
gcmp.c Declare all read only data structures as const 2015-04-25 17:33:06 +03:00
inject.c Remove trailing whitespace 2016-12-28 14:31:42 +02:00
Makefile wlantest: Do not include rt library for OS X builds 2020-04-05 18:53:59 +03:00
monitor.c wlantest: Comment out Linux packet socket from OS X build 2020-04-05 18:53:59 +03:00
process.c wlantest: Ethernet interface capture 2019-12-27 23:16:45 +02:00
readpcap.c wlantest: Detect and report plaintext payload in protected frames 2020-03-14 17:36:41 +02:00
rx_data.c wlantest: Add frame number fo replay detected messages 2020-04-04 00:06:59 +03:00
rx_eapol.c wlantest: Fix EAPOL-Key Key Data padding removal 2020-09-30 00:19:53 +03:00
rx_ip.c wlantest: Comment out ICMP processing from OS X builds 2020-04-05 18:53:59 +03:00
rx_mgmt.c wlantest: Validate FT elements in Reassociation Response frame 2020-05-24 00:35:56 +03:00
rx_tdls.c Simplify Timeout Interval element parsing 2015-04-22 22:05:11 +03:00
sta.c wlantest: Update BSS IEs based on EAPOL-Key msg 3/4 2020-02-28 00:51:07 +02:00
test_vectors.c Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
tkip.c Use os_memdup() 2017-03-07 13:19:10 +02:00
wep.c Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
wired.c wlantest: Use BSD compatible UDP header struct 2020-04-05 18:53:59 +03:00
wlantest_cli.c wlantest: Add a BSS probe_response counter 2013-12-26 13:37:06 +02:00
wlantest_ctrl.h wlantest: Add a BSS probe_response counter 2013-12-26 13:37:06 +02:00
wlantest.c wlantest: Ethernet interface capture 2019-12-27 23:16:45 +02:00
wlantest.h wlantest: Validate FT elements in Reassociation Request frame 2020-05-24 00:35:53 +03:00
writepcap.c wlantest: Ethernet interface capture 2019-12-27 23:16:45 +02:00