ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_mdl_transfer_result Struct Reference

Verified result published by a completed transfer. More...

#include <ra8_c6link_mdl_transfer.h>

Collaboration diagram for ra8_mdl_transfer_result:

Data Fields

uint64_t bytes_stored
 Bytes atomically committed.
uint32_t chunks_received
 Remote responses consumed.
mdl_format_t format
 Validated committed format.
uint8_t sha256 [k_ra8_mdl_sha256_bytes]
 Independently verified digest.
ra8_mdl_http_response_t response
 Proven terminal HTTP metadata.

Detailed Description

Verified result published by a completed transfer.

Written only after the remote terminal digest, independently calculated digest, byte count, and atomic storage commit all agree.

Invariant
bytes_stored equals the committed object's byte length.
sha256 is the digest verified against the C6 terminal record.
format is the requested, response-correlated artifact identity.
See also
ra8_c6link_mdl_transfer
Since
0.1.0

Definition at line 190 of file ra8_c6link_mdl_transfer.h.

Field Documentation

◆ bytes_stored

uint64_t ra8_mdl_transfer_result::bytes_stored

Bytes atomically committed.

Definition at line 191 of file ra8_c6link_mdl_transfer.h.

Referenced by internal_c6_get().

◆ chunks_received

uint32_t ra8_mdl_transfer_result::chunks_received

Remote responses consumed.

Definition at line 192 of file ra8_c6link_mdl_transfer.h.

◆ format

mdl_format_t ra8_mdl_transfer_result::format

Validated committed format.

Definition at line 193 of file ra8_c6link_mdl_transfer.h.

◆ response

ra8_mdl_http_response_t ra8_mdl_transfer_result::response

Proven terminal HTTP metadata.

Definition at line 195 of file ra8_c6link_mdl_transfer.h.

Referenced by internal_c6_get().

◆ sha256

uint8_t ra8_mdl_transfer_result::sha256[k_ra8_mdl_sha256_bytes]

Independently verified digest.

Definition at line 194 of file ra8_c6link_mdl_transfer.h.

Referenced by internal_mdl_transfer_commit().


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