wireshark/epan/crypt
Mikael Kanstrup ad69ec2e11 dot11decrypt: Fix WEP decryption
For WPA security association (SA) entries are created on sucessful
PTK derivation from 4-way handshake frames. WEP though don't use
4-way handshake frames for key derivation and therefore no SA entry
is created. Still WEP decryption implementaton expects to find
an SA otherwise the decryption is skipped.

Fix broken WEP decryption by removing the check for an existing SA
entry and instead form the SA on first successful decryption.

Add also a test for WEP decryption.

Fixes: v3.3.0rc0-1263-g099d241046 ("dot11decrypt: Avoid allocating SA on packet decryption")
2020-10-21 11:03:44 +00:00
..
CMakeLists.txt Tools: Clean up checkAPI and add ui/qt. 2020-09-05 07:41:29 +00:00
CMakeListsCustom.txt.example typo: replaceing--> replacing 2020-09-20 15:07:21 -07:00
dot11decrypt.c dot11decrypt: Fix WEP decryption 2020-10-21 11:03:44 +00:00
dot11decrypt_ccmp.c dot11decrypt: Make ccmp_construct_aad an internal utility function 2020-03-14 07:37:31 +00:00
dot11decrypt_ccmp_compat.c dot11decrypt: Silent Coverity Scan out-of-bounds access error 2020-04-05 08:30:35 +00:00
dot11decrypt_debug.h dot11decrypt: Remove DEBUG_TRACE_START/END macros 2020-05-25 10:33:34 +00:00
dot11decrypt_gcmp.c ieee80211: GCMP decryption support 2020-03-14 17:53:36 +00:00
dot11decrypt_int.h ieee80211: GCMP decryption support 2020-03-14 17:53:36 +00:00
dot11decrypt_interop.h spdx: convert files with multiple licenses. 2018-03-09 12:13:23 +00:00
dot11decrypt_system.h dot11decrypt: Use hash table to store SA entries 2020-05-25 12:31:37 +00:00
dot11decrypt_tkip.c spdx: convert files with multiple licenses. 2018-03-09 12:13:23 +00:00
dot11decrypt_user.h dot11decrypt: Support decryption using TK user input 2020-06-01 07:23:56 +00:00
dot11decrypt_util.c dot11decrypt: Silent Coverity Scan out-of-bounds access error 2020-04-05 08:30:35 +00:00
dot11decrypt_util.h Add a newline at the end of the file. 2020-04-20 19:21:13 +00:00
dot11decrypt_ws.h spdx: convert files with multiple licenses. 2018-03-09 12:13:23 +00:00
kasumi.h epan: use SPDX indentifiers. 2018-02-08 19:29:45 +00:00
wep-wpadefs.h dot11decrypt: Support decryption using TK user input 2020-06-01 07:23:56 +00:00