aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/crc32.h
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-09-12 08:23:15 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-09-12 08:23:15 +0000
commit29bca9b17e2c12858f57bb90c11a916740e912a3 (patch)
tree54a95e93aff9342fe7eef41174ae94912145773c /wsutil/crc32.h
parentffe560f9d6276a3c1885da9292b4e6c2c11263ef (diff)
Move airpcap_wep.c to /wsutil
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38969 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wsutil/crc32.h')
-rw-r--r--wsutil/crc32.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/wsutil/crc32.h b/wsutil/crc32.h
index 854f5fa035..514a437596 100644
--- a/wsutil/crc32.h
+++ b/wsutil/crc32.h
@@ -43,6 +43,8 @@ extern "C" {
#define CRC32C(c,d) (c=(c>>8)^crc32c_table_lookup((c^(d))&0xFF))
+extern const guint32 crc32_ccitt_table[256];
+
/** Lookup the crc value in the crc32c_table
@param pos Position in the table. */
extern guint32 crc32c_table_lookup (guchar pos);
@@ -73,6 +75,13 @@ extern guint32 crc32_ccitt(const guint8 *buf, guint len);
@return The CRC32 CCITT checksum (using the given seed). */
extern guint32 crc32_ccitt_seed(const guint8 *buf, guint len, guint32 seed);
+
+int AirPDcapWepDecrypt(
+ const guchar *seed,
+ const size_t seed_len,
+ guchar *cypher_text,
+ const size_t data_len);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */