K-FSW v1.2.1-59-gcaca356
KFSW: modular flight software on Zephyr, for small satellites
Loading...
Searching...
No Matches
kfsw_fwu_image Struct Reference

#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]
 

Detailed Description

Exact artifact description.

CRC-only callers cannot resume by matching it.

Member Data Documentation

◆ block_size

uint16_t kfsw_fwu_image::block_size

Negotiated block size; part of digest-bearing session identity.

◆ crc32

uint32_t kfsw_fwu_image::crc32

IEEE CRC32 of all artifact bytes.

◆ digest_present

bool kfsw_fwu_image::digest_present

Whether sha256 identifies the complete artifact; false forbids resume.

◆ sha256

uint8_t kfsw_fwu_image::sha256[KFSW_FWU_SHA256_SIZE]

SHA-256 of exactly size bytes, valid only with digest_present.

◆ size

uint32_t kfsw_fwu_image::size

Exact artifact length, excluding flash padding and boot metadata.


The documentation for this struct was generated from the following file: