wireshark/epan/crypt
Mikael Kanstrup 3fdabc62d4 dot11decrypt: Let dissector parse eapol frames
To be able to support authentication key management suites that use
different MIC, PMK, PTK lengths the engine would need to be extended
to support parsing EAPOL Key frames with variable field lengts. Though
as the IEEE 802.11 dissector already support this the alternative
(implemented in this patch) is to remove the EAPOL frame parsing inside
the engine and have the dissector feed it with a struct of parsed
fields instead.

For this a new type DOT11DECRYPT_EAPOL_PARSED is exported and
dot11decrypt now expects dissector to fill this struct with parsed
EAPOL fields before calling Dot11DecryptScanEapolForKeys.

Dissection of EAPOL fields is scattered over several functions in the
dissector code so parsed fields are temporarily stored in proto data
and then gathered before fed into dot11decrypt engine.

Change-Id: Ic6aeb4900f373dcde1ea3f1f0f24df2ae827576e
Reviewed-on: https://code.wireshark.org/review/35020
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-11-14 08:25:13 +00:00
..
CMakeLists.txt HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
CMakeListsCustom.txt.example spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
dot11decrypt.c dot11decrypt: Let dissector parse eapol frames 2019-11-14 08:25:13 +00:00
dot11decrypt_ccmp.c spdx: convert files with multiple licenses. 2018-03-09 12:13:23 +00:00
dot11decrypt_debug.h dot11decrypt: Shorten the debug macros 2019-11-03 17:20:46 +00:00
dot11decrypt_int.h HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
dot11decrypt_interop.h spdx: convert files with multiple licenses. 2018-03-09 12:13:23 +00:00
dot11decrypt_rijndael.c dot11decrypt: Create RC4 decryption and key copy helper functions 2018-11-09 05:51:22 +00:00
dot11decrypt_rijndael.h dot11decrypt: Create RC4 decryption and key copy helper functions 2018-11-09 05:51:22 +00:00
dot11decrypt_system.h dot11decrypt: Let dissector parse eapol frames 2019-11-14 08:25:13 +00:00
dot11decrypt_tkip.c spdx: convert files with multiple licenses. 2018-03-09 12:13:23 +00:00
dot11decrypt_user.h ieee80211: Support decrypting WPA3-Personal / SAE captures 2019-03-21 12:13:58 +00:00
dot11decrypt_ws.h spdx: convert files with multiple licenses. 2018-03-09 12:13:23 +00:00
kasumi.h
wep-wpadefs.h spdx: convert files with multiple licenses. 2018-03-09 12:13:23 +00:00