Home
last modified time | relevance | path

Searched refs:checksum_size (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.7.0/subsys/retention/
Dretention.c56 uint8_t checksum_size; member
89 if (config->checksum_size == CHECKSUM_CRC8 || in retention_checksum()
90 config->checksum_size == CHECKSUM_CRC16 || in retention_checksum()
91 config->checksum_size == CHECKSUM_CRC32) { in retention_checksum()
93 size_t end = config->offset + config->size - config->checksum_size; in retention_checksum()
107 if (config->checksum_size == CHECKSUM_CRC8) { in retention_checksum()
110 } else if (config->checksum_size == CHECKSUM_CRC16) { in retention_checksum()
113 } else if (config->checksum_size == CHECKSUM_CRC32) { in retention_checksum()
178 if (config->prefix_len == 0 && config->checksum_size == 0) { in retention_is_valid()
218 if (config->checksum_size != 0) { in retention_is_valid()
[all …]