|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Dependency-injection vtable for the non-volatile version counter. More...
#include <ra8_dfu_antirollback.h>
Data Fields | |
| ra8_rot_antirollback_read_fn_t | read |
| Read stored highest-accepted version. | |
| ra8_rot_antirollback_commit_fn_t | commit |
| Persist the newly-accepted version. | |
Dependency-injection vtable for the non-volatile version counter.
The single seam between the pure anti-rollback policy and the durable storage that backs the monotonic counter. Production wires the real OTP / data-flash accessors; host tests wire mocks. Both function pointers must be non-NULL for ra8_rot_antirollback_verify to proceed – a NULL member is a default-deny.
Definition at line 148 of file ra8_dfu_antirollback.h.
| ra8_rot_antirollback_commit_fn_t ra8_rot_antirollback_store_t::commit |
Persist the newly-accepted version.
Definition at line 150 of file ra8_dfu_antirollback.h.
| ra8_rot_antirollback_read_fn_t ra8_rot_antirollback_store_t::read |
Read stored highest-accepted version.
Definition at line 149 of file ra8_dfu_antirollback.h.