diff options
Diffstat (limited to 'wsutil/crc32.h')
-rw-r--r-- | wsutil/crc32.h | 9 |
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 */ |