aboutsummaryrefslogtreecommitdiffstats
path: root/epan/crypt/airpdcap_ccmp.c
AgeCommit message (Collapse)AuthorFilesLines
2017-03-02Rewrite dissectors to use Libgcrypt functions.Erik de Jong1-27/+36
As discussed on the mailinglist, rewriting dissectors to use Libgcrypt functions as Libgcrypt will be mandatory after change 20030. Removal of following functions: - crypt_md4 - crypt_rc4* - aes_cmac_encrypt_* - md5_* - sha1_* - sha256_* Further candidates: - aes_* - rijndael_* - ... Added functions: - ws_hmac_buffer Added const macros: - HASH_MD5_LENGTH - HASH_SHA1_LENGTH Changes on epan/crypt/* verified with captures from https://wiki.wireshark.org/HowToDecrypt802.11 Changes on packet-snmp.c and packet-radius.c verified with captures from https://wiki.wireshark.org/SampleCapture Changes on packet-tacacs.c verified with capture from http://ccie-in-3-months.blogspot.nl/2009/04/decoding-login-credentials-regardless.html Change-Id: Iea6ba2bf207cf0f1bf2117068fb1abcfeaafaa46 Link: https://www.wireshark.org/lists/wireshark-dev/201702/msg00011.html Reviewed-on: https://code.wireshark.org/review/20095 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2016-01-13[airpcap] Decrypt protected management frames (802.11w)Cedric Izoard1-1/+7
Enable decryption of Protected Management Frames by: - Authorizing decryption for robust management frame (i.e. management frame that may be encrypted): deauth, disassoc and action (Note: Assume all action frames are robust even if it is not the case) - Updating initialization of Additional Authentication Data (AAD) (don't filter-out subtype) and construct nonce (set mgmt flag) for management frames Bug: 11995 Change-Id: I7c34a021e4c49111b85d217c9272d24d0e29ecb2 Reviewed-on: https://code.wireshark.org/review/13232 Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-11-17Misc minor issues caught by cppcheckEvan Huus1-1/+0
All trivial (unused variables, duplicate `break`s, etc). Change-Id: Idbfffae4f6c0b0119a90ae5849de2ed7a1180c9b Reviewed-on: https://code.wireshark.org/review/11886 Petri-Dish: Evan Huus <eapache@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Evan Huus <eapache@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-08-01Move a bunch of the crypt modules and pint.h into wsutil.Jeff Morriss1-1/+1
This means wsutil now links against libcrypt. Protect a bunch of the crypt header files from multiple inclusion. svn path=/trunk/; revision=51100
2012-01-15Rename crypt-xxx to xxxJörg Mayer1-1/+1
svn path=/trunk/; revision=40511
2011-02-16Fix Visual C++ code analysis errors.Gerald Combs1-1/+1
svn path=/trunk/; revision=35970
2009-07-29Break the aes set ket/decrypt/encrypt out from airpdcap_raindoll into Ronnie Sahlberg1-0/+2
its own crypt-aes. change the integer types to glib style integers this may/will be helpful if/when we implement our own version of kerberos aes decryption of dcerpc since the existing libraries can not (yet) handle when header signing is used. we should implement our own decryption of this for cfx+aes just as we did for classic+arcfour svn path=/trunk/; revision=29228
2007-06-14The 802.11 dissector calculates the header size, so pass that value toGerald Combs1-1/+2
the WEP/WPA decryption code instead of re-calculating it. Fixes bug 1639. Remove fcsPresent, radiotapPresent, and associated code from airpdcap.c since they were always FALSE. Glib-ize some data types. Fixup white space. Update the release notes. svn path=/trunk/; revision=22104
2007-04-23Don't assume byte pointers can be safely cast to more aligned pointers;Guy Harris1-9/+6
the compiler now warns of that. svn path=/trunk/; revision=21530
2007-02-25Eliminate __inline - not all compilers support it.Guy Harris1-18/+9
svn path=/trunk/; revision=20932
2007-02-19Fix some C++ style commentsBill Meier1-1/+1
svn path=/trunk/; revision=20865
2007-01-12Add copyright attributions and licenses. License each derived workGerald Combs1-5/+40
according to its pedigree. svn path=/trunk/; revision=20401
2007-01-01Fix a compiler warning. Surround an MSVC-specific #pragma with anGerald Combs1-28/+24
#ifdef, and add a link to a -dev mailing list thread pointing out that it may not be necessary. Fixup whitespace and comments. svn path=/trunk/; revision=20256
2006-12-28Move the contents of airpdcap to epan/crypt. Try to fix the currentGerald Combs1-0/+245
distcheck failure. Move the nmake build targets for airpdcap from epan/dissectors to epan. This will probably break the Windows build. svn path=/trunk/; revision=20231