wireshark/wsutil
Erik de Jong f1c75cf6ef Rewrite dissectors to use Libgcrypt functions.
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>
2017-03-02 23:58:05 +00:00
..
.editorconfig Link version code statically again 2016-04-21 18:59:56 +00:00
CMakeLists.txt Rewrite dissectors to use Libgcrypt functions. 2017-03-02 23:58:05 +00:00
Makefile.am Rewrite dissectors to use Libgcrypt functions. 2017-03-02 23:58:05 +00:00
adler32.c Restore string.h as OS X misses it for strlen() 2014-12-28 23:47:16 +00:00
adler32.h
aes.c AES: Fix dereference of null pointer 2016-02-11 18:04:36 +00:00
aes.h Add AES-CMAC encryption support 2016-02-03 20:54:35 +00:00
airpdcap_wep.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
base32.c Move Base32_encode from packet-fc00.c to wsutil (as ws_base32_decode) 2016-11-02 04:34:44 +00:00
base32.h Move Base32_encode from packet-fc00.c to wsutil (as ws_base32_decode) 2016-11-02 04:34:44 +00:00
base64.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
base64.h
bits_count_ones.h [pedantic] Replace usage of 'long' and 'long long' 2014-11-19 16:31:42 +00:00
bits_ctz.h Set width of hex output according to bitmask 2016-01-24 00:03:18 +00:00
bitswap.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
bitswap.h
buffer.c wiretap: add cleanup routine. 2017-02-14 10:22:20 +00:00
buffer.h wiretap: add cleanup routine. 2017-02-14 10:22:20 +00:00
cfutils.c cfutils.c: Fix ISO C forbids an empty translation unit [-Wpedantic] 2015-11-29 21:54:34 +00:00
cfutils.h cfutils.c: Fix ISO C forbids an empty translation unit [-Wpedantic] 2015-11-29 21:54:34 +00:00
clopts_common.c Let strtoi with NULL endptr require no invalid characters 2016-09-12 16:00:52 +00:00
clopts_common.h Add get_ routines to get a guint32, and use them. 2016-09-08 18:27:21 +00:00
cmdarg_err.c Deleting unnecessary #includes from wsutil. 2014-12-28 23:33:54 +00:00
cmdarg_err.h Move some more stuff into wsutil. 2014-06-29 23:03:24 +00:00
copyright_info.c Happy new Year 2017 ! 2017-01-01 14:14:18 +00:00
copyright_info.h Move get_copyright_info() to wsutil. 2014-06-21 17:33:05 +00:00
cpu_info.c Show memory info on macOS and Linux 2016-09-23 11:59:59 +00:00
cpu_info.h dumpcap: Include CPU info as hardware description in SHB 2016-09-23 08:13:43 +00:00
crash_info.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
crash_info.h
crc6.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
crc6.h
crc7.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
crc7.h
crc8.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
crc8.h
crc10.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
crc10.h Clean up the CRC-10 code. 2014-08-08 18:09:02 +00:00
crc11.c Deleting unnecessary #includes from wsutil. 2014-12-28 23:33:54 +00:00
crc11.h
crc16-plain.c Deleting unnecessary #includes from wsutil. 2014-12-28 23:33:54 +00:00
crc16-plain.h
crc16.c add functions to calculate the CRC of an ISO14443-A message 2016-02-08 06:01:05 +00:00
crc16.h add functions to calculate the CRC of an ISO14443-A message 2016-02-08 06:01:05 +00:00
crc32.c The "MPEG-2" CRC-32 is also the ATM CRC-32. 2014-08-08 19:52:08 +00:00
crc32.h
des.c Deleting unnecessary #includes from wsutil. 2014-12-28 23:33:54 +00:00
des.h
eax.c Make Libgcrypt a mandatory dependency 2017-02-13 18:35:47 +00:00
eax.h
file_util.c Qt+Win32: Make software updates more friendly. 2016-12-20 14:18:14 +00:00
file_util.h Qt+Win32: Make software updates more friendly. 2016-12-20 14:18:14 +00:00
filesystem.c Fix compilation without plugins: 2017-02-25 13:36:40 +00:00
filesystem.h Clean up some memory leaks in wsutil/filesystem.c 2017-02-19 01:27:14 +00:00
frequency-utils.c Match what most source say are the actual Japanese 4.9 GHz channels. 2015-11-05 22:39:52 +00:00
frequency-utils.h Get rid of ws80211_frequency_to_channel(). 2015-11-05 22:56:07 +00:00
g711.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
g711.h
getopt_long.c Use AC_REPLACE_FUNCS and LTLIBOBJS 2016-04-04 23:58:41 +00:00
getopt_long.h Use AC_REPLACE_FUNCS and LTLIBOBJS 2016-04-04 23:58:41 +00:00
glib-compat.c Add some glib functions not available in older glibs 2017-02-20 12:55:49 +00:00
glib-compat.h Add some glib functions not available in older glibs 2017-02-20 12:55:49 +00:00
inet_addr-int.h Use AC_REPLACE_FUNCS and LTLIBOBJS 2016-04-04 23:58:41 +00:00
inet_addr.c Make sure config.h is included before inet_addr.h. 2016-12-02 10:33:42 +00:00
inet_addr.h Move ip6_to_str_buf() to to_str.c and make it take the buffer length. 2016-06-06 22:00:41 +00:00
inet_aton.c Add inet_pton/inet_ntop interface to libwsutil 2016-02-19 15:55:09 +00:00
inet_aton.h Just #include wsutil/inet_aton.h 2016-02-13 23:51:53 +00:00
inet_ipv6.h Move IPv6 inet definitions to wsutil/inet_ipv6.h 2016-07-30 13:14:43 +00:00
inet_ntop.c Use AC_REPLACE_FUNCS and LTLIBOBJS 2016-04-04 23:58:41 +00:00
inet_pton.c Include ws_diag_control.h in config.h 2016-04-04 23:05:31 +00:00
interface.c wsutil: add enumeration of local ip addresses in Windows. 2016-08-26 21:04:40 +00:00
interface.h extcap: add local_interfaces_to_list() to wsutil. 2016-03-04 05:53:56 +00:00
jsmn.c wsutil: split libjsmn. 2016-09-30 20:12:00 +00:00
jsmn.h jsmn(.h): fix warning: '@param' command used in a comment that is not attached to a function declaration [-Wdocumentation] 2016-10-06 14:20:16 +00:00
mpeg-audio.c Add editor-modelines; adjust whitespace. 2014-10-14 16:45:09 +00:00
mpeg-audio.h
nstime.c Fix up the compare chain in nstime_delta(). 2016-05-09 23:52:33 +00:00
nstime.h No need for "struct nstime_t", "nstime_t" by itself suffices. 2016-01-03 07:19:34 +00:00
os_version_info.c Finish moving the parenthesis. 2016-06-13 02:16:26 +00:00
os_version_info.h Move get_os_major_version() to wsutil and rename it to get_windows_major_version(). 2014-06-21 21:33:11 +00:00
pint.h pint(.h): Add Modelines and fix indent (use spaces) 2017-02-05 13:19:46 +00:00
plugins.c wsutil: fix bugs in plugins_cleanup(). 2017-02-26 18:00:23 +00:00
plugins.h wsutil: remove leaks from filesystem and plugins code. 2017-02-18 13:45:14 +00:00
popcount.c Move popcount() to an optionally built part of wsutil for systems that 2014-12-23 00:22:23 +00:00
popcount.h Move popcount() to an optionally built part of wsutil for systems that 2014-12-23 00:22:23 +00:00
privileges.c Move npf_sys_is_running() from wsutil to caputils. 2016-06-03 21:24:47 +00:00
privileges.h Move npf_sys_is_running() from wsutil to caputils. 2016-06-03 21:24:47 +00:00
processes.h Make sure pid_t is defined. 2017-02-07 21:36:10 +00:00
report_err.c Make failure_alert_box() be printf-like. 2016-03-27 02:06:28 +00:00
report_err.h Make failure_alert_box() be printf-like. 2016-03-27 02:06:28 +00:00
sign_ext.h No need to operate on full bit width (CID 1355344 / 1355348) 2016-03-16 01:08:27 +00:00
sober128.c wsutil/sober128: remove unused macros and functions 2017-02-02 21:13:55 +00:00
sober128.h wsutil/sober128: remove unused macros and functions 2017-02-02 21:13:55 +00:00
socket.h Clean up some UN*X-vs-Windows socket issues. 2017-01-26 07:00:06 +00:00
str_util.c Include ws_diag_control.h in config.h 2016-04-04 23:05:31 +00:00
str_util.h Don't include "file.h" if you don't need it. 2015-11-04 08:46:30 +00:00
strnatcmp.c Deleting unnecessary #includes from wsutil. 2014-12-28 23:33:54 +00:00
strnatcmp.h Rename the strnatcmp.c routines and make them use the g_ascii_XXX() routines. 2014-10-29 17:54:51 +00:00
strptime.c Replace tabs by spaces when editor modelines has "expandtab" 2015-02-13 17:34:53 +00:00
strptime.h
strtoi.c wsutil: add initializer (found by clang ccc). 2016-11-03 08:32:18 +00:00
strtoi.h wsutil: add statements for c++ calls. 2016-10-22 23:27:26 +00:00
tempfile.c More checks for localtime() and gmtime() returning NULL. 2016-10-22 02:27:32 +00:00
tempfile.h Allow create_tempfile to support a suffix. 2016-06-01 06:24:05 +00:00
time_util.c Avoid colliding with the (old) UNIX stime() system call. 2016-08-07 03:07:38 +00:00
time_util.h time_util: fix -Wshadow issue 2016-08-30 10:35:33 +00:00
type_util.c Keep everything unsigned there. 2015-05-09 01:27:17 +00:00
type_util.h Add some #includes to satisfy check-abi 2014-07-23 17:48:34 +00:00
unicode-utils.c Win32: Pass a mutable string to CreateProcess. 2016-04-28 23:50:28 +00:00
unicode-utils.h Win32: Pass a mutable string to CreateProcess. 2016-04-28 23:50:28 +00:00
utf8_entities.h Improve some unit strings with unicode characters 2016-12-16 22:49:30 +00:00
win32-utils.c wsutil: Move Win32 helper routines from capchild 2016-06-25 15:06:27 +00:00
win32-utils.h wsutil: Move Win32 helper routines from capchild 2016-06-25 15:06:27 +00:00
ws_cpuid.h "#else", not "#elif", for the last part of a chain of conditionals. 2014-12-31 21:26:10 +00:00
ws_mempbrk.c Remove tvb_ from the names of wsutil mempbrk routines. 2015-02-21 20:39:25 +00:00
ws_mempbrk.h Remove tvb_ from the names of wsutil mempbrk routines. 2015-02-21 20:39:25 +00:00
ws_mempbrk_int.h Remove tvb_ from the names of wsutil mempbrk routines. 2015-02-21 20:39:25 +00:00
ws_mempbrk_sse42.c The official #define for 32-bit and 64-bit Windows is _WIN32. 2015-09-02 22:59:10 +00:00
ws_printf.h Fix some of the checkAPIs.pl warnings for g_warning. 2016-07-26 04:08:50 +00:00
wsgcrypt.c Rewrite dissectors to use Libgcrypt functions. 2017-03-02 23:58:05 +00:00
wsgcrypt.h Rewrite dissectors to use Libgcrypt functions. 2017-03-02 23:58:05 +00:00
wsgetopt.h Eliminate include of <ctype.h>. 2014-10-17 07:02:37 +00:00
wsjsmn.c Add sharkd - daemon variant 2017-01-25 07:19:05 +00:00
wsjsmn.h Add sharkd - daemon variant 2017-01-25 07:19:05 +00:00