3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00
iwd/monitor
James Prestwood 374b367ba4 eapol: allow 16, 24 and 32 byte MIC lengths
The MIC length was hard coded to 16 bytes everywhere, and since several
AKMs require larger MIC's (24/32) this needed to change. The main issue
was that the MIC was hard coded to 16 bytes inside eapol_key. Instead
of doing this, the MIC, key_data_length, and key_data elements were all
bundled into key_data[0]. In order to retrieve the MIC, key_data_len,
or key_data several macros were introduced which account for the MIC
length provided.

A consequence of this is that all the verify functions inside eapol now
require the MIC length as a parameter because without it they cannot
determine the byte offset of key_data or key_data_length.

The MIC length for a given handshake is set inside the SM when starting
EAPoL. This length is determined by the AKM for the handshake.
2019-01-17 15:20:28 -06:00
..
display.c monitor: Fix includes for using with -std=c99 compiler option 2018-11-01 22:19:11 +01:00
display.h monitor: Improve message and attribute display handling 2014-08-09 22:59:42 -07:00
main.c monitor: Fix includes for using with -std=c99 compiler option 2018-11-01 22:19:11 +01:00
nlmon.c eapol: allow 16, 24 and 32 byte MIC lengths 2019-01-17 15:20:28 -06:00
nlmon.h monitor: added scan/wiphy flags 2018-05-15 19:42:46 -05:00
pcap.c monitor: add missing sys/stat.h include 2018-11-10 17:49:04 +01:00
pcap.h monitor: Add support for writing combined PCAP trace files 2014-08-12 19:35:59 -07:00