aboutsummaryrefslogtreecommitdiffstats
path: root/epan/crypt/dot11decrypt_int.h
AgeCommit message (Collapse)AuthorFilesLines
2023-06-22Convert epan/crypt to C99 typesGerald Combs1-44/+43
Convert GLib types to their C99 equivalents. Convert the Windows types in dot11decrypt_interop.h as well and get rid of that file. Fix a couple of encoding issues. Ping #19116.
2022-04-20libgcrypt: Require version 1.8.0John Thacker1-12/+0
Libgcrypt 1.8.x is required for a large amount of decryption support and is the current LTS version of libgcrypt. The 1.6 and 1.7 series have been end-of-life since 2017-06-30 and 2019-06-30, respectively. The Linux distributions that have versions of libgcrypt before 1.8.0 are nearing or at end of support (RHEL7, SLES 12, Debian stretch, Ubuntu 16.04LTS) and can be supported by the Wireshark 3.6 LTS release series. Remove an enormous amount of ifdefs based on libgcrypt versions 1.6.0, 1.7.0, and 1.8.0. There will be a second pass for the commons defines HAVE_LIBGCRYPT_AEAD, HAVE_LIBGCRYPT_CHACHA20, and HAVE_LIBGCRYPT_CHACHA20_POLY1305, which are now always defined. The ISAKMP dissector has some comments noting that some workarounds were used for libgcrypt 1.6 that aren't needed with 1.7; perhaps that could be updated now.
2021-11-30epan: Add header files to DoxygenMoshe Kaplan1-1/+1
Add @file markers for epan headers so that Doxygen will generate documentation for them.
2020-03-14ieee80211: GCMP decryption supportMikael Kanstrup1-0/+37
Add support for decrypting GCMP/GCMP-256 encrypted IEEE 802.11 traffic Bug: 16197 Change-Id: I907d772665141c8be10a9f4a187bd76594c8d2e4 Reviewed-on: https://code.wireshark.org/review/36346 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-03-14dot11decrypt: Use libgcrypt's CCMP decryption abilityMikael Kanstrup1-0/+18
Simplify the CCMP decryption implementation by letting libgcrypt handle decryption, authentication and integrity check. This aims to simplify the implementation in preparation for CCMP-256 decryption support where changes to the CCMP decryption implementation is anyway needed. Even though performance optimization was not the target for this change it appears decryption speed is improved as well. Change-Id: I6c36315291672f6313c9303ab8e50afb87aea9ce Reviewed-on: https://code.wireshark.org/review/36343 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-07-26HTTPS (almost) everywhere.Guy Harris1-1/+1
Change all wireshark.org URLs to use https. Fix some broken links while we're at it. Change-Id: I161bf8eeca43b8027605acea666032da86f5ea1c Reviewed-on: https://code.wireshark.org/review/34089 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-06-12Add some length checks, remove a DISSECTOR_ASSERT().Guy Harris1-1/+6
Do more checks to make sure we don't run past the end of the data we're handed, and don't do a DISSECTOR_ASSERT(), as there may well be packets that don't have enough data to pass the assertion - that was causing some errors to show up in the 2.6 buildbot when doing 802.11 decryption tests. Those errors should instead be reported as "sorry, we can't do decryption" errors by the decryption code. (XXX - the 802.11 *dissector* should probably be extracting the relevant fields and doing the relevant checks, and hand the data to the decryption code, so that we don't duplicate 802.11 frame parsing with code that might not do as much necessary work as the 802.11 dissector.) Tweak some comments while we're at it. Change-Id: I1d230e07cec2fca8c23f265b5875a0bf83f79432 Reviewed-on: https://code.wireshark.org/review/28240 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-03-09spdx: convert files with multiple licenses.Dario Lombardo1-27/+1
Change-Id: Iac29428b5a6d26896e559f06acf202f03fa8ec90 Reviewed-on: https://code.wireshark.org/review/26366 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-02-24Rename airpdcap to dot11decrypt.Gerald Combs1-0/+172
Our 802.11 decryption code isn't tied to any specific product. Change the file and API names to dot11decrypt. Change-Id: I14fd951be3ae9b656a4e1959067fc0bdcc681ee2 Reviewed-on: https://code.wireshark.org/review/26058 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>