#include <fast_crc.hpp>
Definition at line 15 of file fast_crc.hpp.
◆ check()
| auto FastCrc::check |
( |
char * | base, |
|
|
const uint32_t | size = DEFAULT_SIZE ) -> bool |
|
inlinestatic |
◆ check_app_valid()
| auto FastCrc::check_app_valid |
( |
const std::string_view | file_path | ) |
-> bool |
|
inlinestatic |
◆ fast_crc32()
| auto FastCrc::fast_crc32 |
( |
uint32_t | sum, |
|
|
const unsigned char * | ptr, |
|
|
uint32_t | len ) -> uint32_t |
|
inlinestatic |
◆ set_crc32_init_value()
| auto FastCrc::set_crc32_init_value |
( |
const uint32_t | start | ) |
-> uint32_t |
|
inlinestatic |
◆ BIT_IN_BYTE
| size_t FastCrc::BIT_IN_BYTE = 8 |
|
staticconstexpr |
◆ BYTE_MASK
| uint32_t FastCrc::BYTE_MASK = 0xFF |
|
staticconstexpr |
◆ DEFAULT_SIZE
| size_t FastCrc::DEFAULT_SIZE = 0x08080000 - 0x08008000 |
|
staticconstexpr |
◆ ERASED_FLASH_MARKER
| uint32_t FastCrc::ERASED_FLASH_MARKER = 0xFFFFFFFF |
|
staticconstexpr |
◆ POLY
| uint32_t FastCrc::POLY = 0x4C11DB7 |
|
staticconstexpr |
◆ TOP_BYTE_SHIFT
| int FastCrc::TOP_BYTE_SHIFT = 24 |
|
staticconstexpr |
◆ UINT32_BIT_COUNT
| int FastCrc::UINT32_BIT_COUNT = 32 |
|
staticconstexpr |
The documentation for this class was generated from the following file: