aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/crc32.h
diff options
context:
space:
mode:
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 2a96befb47..3947570438 100644
--- a/wsutil/crc32.h
+++ b/wsutil/crc32.h
@@ -89,6 +89,15 @@ WS_DLL_PUBLIC guint32 crc32_ccitt_seed(const guint8 *buf, guint len, guint32 see
@return The CRC32 MPEG-2 checksum (using the given seed). */
WS_DLL_PUBLIC guint32 crc32_mpeg2_seed(const guint8 *buf, guint len, guint32 seed);
+/** Computes CRC32 checksum for the given data with the polynom 0x0AA725CF using
+ * precompiled CRC table
+ * @param buf a pointer to a buffer of the given length
+ * @param len the length of the given buffer
+ * @param seed The seed to use.
+ * @return the CRC32 checksum for the buffer
+ */
+WS_DLL_PUBLIC guint32 crc32_0x0AA725CF_seed(const guint8 *buf, guint len, guint32 seed);
+
WS_DLL_PUBLIC int AirPDcapWepDecrypt(
const guchar *seed,
const size_t seed_len,