16#ifndef LIBWIFI_CORE_CRC_H
17#define LIBWIFI_CORE_CRC_H
29uint32_t
libwifi_crc32(
const unsigned char *message,
int message_len);
int libwifi_frame_verify(void *frame, size_t frame_len)
Check if the given raw 802.11 frame has a valid FCS.
uint32_t libwifi_crc32(const unsigned char *message, int message_len)
Calculate the CRC32 sum of a given buffer.
uint32_t libwifi_calculate_fcs(const unsigned char *frame, size_t frame_len)
Calculate the frame checksum for an 802.11 frame.