aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/cmdarg_err.h
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2017-02-01 13:12:01 +0100
committerPeter Wu <peter@lekensteyn.nl>2017-02-02 21:13:55 +0000
commit7893ffa478bdbd4cd48aa438569a0bd32fada99b (patch)
tree4be67fc33e3c79dbe093a9b5383501082ed321fe /wsutil/cmdarg_err.h
parentf15d5dde0b5cc0532b70279e7a7492fafe94ed3c (diff)
wsutil/sober128: remove unused macros and functions
Removed unused macros/functions that are apparently imported from LibTomCrypt, only LOAD32L and STORE32L are needed. Remove code that tries to distinguish between little/big endian, since WORDS_BIGENDIAN was never defined, this would never have worked on big endian anyway. Remove the special ROR "optimization" for GCC on i386, modern compilers are able to optimize it to exactly the same thing. The generic LOAD32L/STORE32L macros are less optimized (as can be seen in the generated code), but this was not noticable in the mean running time. Tested with the packet capture from bug 3232, the result is the same: tshark -ocorosync_totemnet.private_keys:example.com -r corosync-totemsrp--key:example.com--2nodes.pcap -Vx Bug: 13368 Change-Id: I59bf27d7dd990bbcd5ad34a1797f4a6c8a04512d Reviewed-on: https://code.wireshark.org/review/19894 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'wsutil/cmdarg_err.h')
0 files changed, 0 insertions, 0 deletions