xref: /dflybsd-src/contrib/wpa_supplicant/src/utils/crc32.h (revision 3a84a4273475ed07d0ab1c2dfeffdfedef35d9cd)
1*a1157835SDaniel Fojt /*
2*a1157835SDaniel Fojt  * 32-bit CRC for FCS calculation
3*a1157835SDaniel Fojt  * Copyright (c) 2010, Jouni Malinen <j@w1.fi>
4*a1157835SDaniel Fojt  *
5*a1157835SDaniel Fojt  * This software may be distributed under the terms of the BSD license.
6*a1157835SDaniel Fojt  * See README for more details.
7*a1157835SDaniel Fojt  */
8*a1157835SDaniel Fojt 
9*a1157835SDaniel Fojt #ifndef CRC32_H
10*a1157835SDaniel Fojt #define CRC32_H
11*a1157835SDaniel Fojt 
12*a1157835SDaniel Fojt u32 crc32(const u8 *frame, size_t frame_len);
13*a1157835SDaniel Fojt 
14*a1157835SDaniel Fojt #endif /* CRC32_H */
15