Move CRC-32 routine from wlantest to src/utils
This allows the CRC-32 routine to be shared for other purposes in addition to the WEP/TKIP/FCS within wlantest. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>master
parent
a8ef83f49d
commit
e2991ee580
@ -0,0 +1,14 @@
|
|||||||
|
/*
|
||||||
|
* 32-bit CRC for FCS calculation
|
||||||
|
* Copyright (c) 2010, Jouni Malinen <j@w1.fi>
|
||||||
|
*
|
||||||
|
* This software may be distributed under the terms of the BSD license.
|
||||||
|
* See README for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef CRC32_H
|
||||||
|
#define CRC32_H
|
||||||
|
|
||||||
|
u32 crc32(const u8 *frame, size_t frame_len);
|
||||||
|
|
||||||
|
#endif /* CRC32_H */
|
Loading…
Reference in New Issue