Void Sentry
An AI-driven, real-time Sentry Turret platform leveraging asynchronous I/O and computer vision to deliver high-precision autonomous motion tracking on resource-constrained embedded hardware.
Loading...
Searching...
No Matches
crc32.h File Reference

Shared CRC-32 for versioned NVS blobs (pure C++20, natively tested). More...

#include <cstdint>
#include <span>

Go to the source code of this file.

Functions

uint32_t checksum::crc32 (std::span< const uint8_t > data)
 CRC-32 (IEEE 802.3, reflected, init 0xFFFFFFFF, final xor 0xFFFFFFFF).
 

Detailed Description

Shared CRC-32 for versioned NVS blobs (pure C++20, natively tested).

Function Documentation

◆ crc32()

uint32_t checksum::crc32 ( std::span< const uint8_t > data)

CRC-32 (IEEE 802.3, reflected, init 0xFFFFFFFF, final xor 0xFFFFFFFF).

Table-driven; the 256-entry table is built at compile time and lives in flash.