wireshark/epan/crypt
Elijah Conners f72a33fc1c dot11decrypt: explicitly cast *pmk_len and msk_len
In a typical setting where int is 32 bits and the type guint8 is 8 bits,
the overflow check in Dot11DecryptDerivePmkFromMsk will automatically
promote the sum of msk_len and *pmk_len to an int. Since int is 32 bits
and guint8 will always be 8 bits, the sum will never overflow.
Therefore, an explicit casting of the sum of msk_len and *pmk_len to
the type guint8 is necessary.

Signed-off-by: Elijah Conners <business@elijahpepe.com>
2022-06-03 23:13:34 +00:00
..
CMakeLists.txt libgcrypt: Require version 1.8.0 2022-04-20 21:30:21 -04:00
CMakeListsCustom.txt.example typo: replaceing--> replacing 2020-09-20 15:07:21 -07:00
dot11decrypt.c dot11decrypt: explicitly cast *pmk_len and msk_len 2022-06-03 23:13:34 +00:00
dot11decrypt_ccmp.c dot11decrypt: Make ccmp_construct_aad an internal utility function 2020-03-14 07:37:31 +00:00
dot11decrypt_debug.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
dot11decrypt_gcmp.c ieee80211: GCMP decryption support 2020-03-14 17:53:36 +00:00
dot11decrypt_int.h libgcrypt: Require version 1.8.0 2022-04-20 21:30:21 -04:00
dot11decrypt_interop.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
dot11decrypt_system.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
dot11decrypt_tkip.c dot11decrypt: Cleanup debug log level usage 2021-06-20 23:32:17 +02:00
dot11decrypt_user.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
dot11decrypt_util.c dot11decrypt_util: Enhance Documentation 2021-09-03 04:46:34 +00:00
dot11decrypt_util.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
dot11decrypt_ws.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
kasumi.h epan: Add header files to Doxygen 2021-11-30 08:46:49 +00:00
wep-wpadefs.h dot11decrypt: Add partial FT-EAP decryption support 2021-01-20 16:10:12 +00:00