|
K-FSW v1.2.1-59-gcaca356
KFSW: modular flight software on Zephyr, for small satellites
|
#include <fwu.h>
Public Attributes | |
| uint32_t | size |
| uint32_t | crc32 |
| uint16_t | block_size |
| bool | digest_present |
| uint8_t | sha256 [KFSW_FWU_SHA256_SIZE] |
Exact artifact description.
CRC-only callers cannot resume by matching it.
| uint16_t kfsw_fwu_image::block_size |
Negotiated block size; part of digest-bearing session identity.
| uint32_t kfsw_fwu_image::crc32 |
IEEE CRC32 of all artifact bytes.
| bool kfsw_fwu_image::digest_present |
Whether sha256 identifies the complete artifact; false forbids resume.
| uint8_t kfsw_fwu_image::sha256[KFSW_FWU_SHA256_SIZE] |
SHA-256 of exactly size bytes, valid only with digest_present.
| uint32_t kfsw_fwu_image::size |
Exact artifact length, excluding flash padding and boot metadata.