diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-08-08 10:10:36 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-08-08 17:11:03 +0000 |
commit | 9b9005eb94d9c89a02d93e8dda0c19b8e2d1a6d7 (patch) | |
tree | f5a9c6f552bec38fff10c479f6fd1a1755b80af9 /wsutil/Makefile.common | |
parent | 57927c8a56ad132c3a9ca507bdb1584043a94abb (diff) |
The DRM DCP CRC-16 is the same as the X.25 CRC-16.
So just use crc16_x25_ccitt_tvb(), which goes a byte at a time rather
than a bit at a time, and which takes a tvbuff rather than requiring you
to call tvb_get_ptr().
It also doesn't 1's-complement the result, so we can compare it against the
0x1D0F in ETSI TS 102 821 V1.4.1 (2012-10) rather than against a
1's-complement version, 0xE2F0.
Change-Id: Ia513f851f0a8ff1e7853278ddf3618c532fb2aba
Reviewed-on: https://code.wireshark.org/review/3507
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wsutil/Makefile.common')
-rw-r--r-- | wsutil/Makefile.common | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/wsutil/Makefile.common b/wsutil/Makefile.common index 95736cd1f8..cb595977c1 100644 --- a/wsutil/Makefile.common +++ b/wsutil/Makefile.common @@ -48,7 +48,6 @@ LIBWSUTIL_SRC = \ crc16.c \ crc16-plain.c \ crc32.c \ - crcdrm.c \ des.c \ eax.c \ filesystem.c \ @@ -101,7 +100,6 @@ libwsutil_nonrepl_INCLUDES = \ crc16.h \ crc16-plain.h \ crc32.h \ - crcdrm.h \ des.h \ eax.h \ filesystem.h \ |