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

One-shot DOTF bring-up descriptor consumed by ra8_dotf_open. More...

#include <ra8_dotf.h>

Collaboration diagram for ra8_dotf_open_cfg_t:

Data Fields

uint8_t channel
 0 = DOTF0, 1 = DOTF1.
ra8_dotf_key_handle_t key
 RSIP-wrapped key handle.
uint32_t iv_words [4]
 128-bit IV in word order.
ra8_dotf_region_t region
 Initial conversion region.
ra8_dotf_sca_level_t sca_level
 Side-channel level.
bool enable_after
 true => arm AES after staging.

Detailed Description

One-shot DOTF bring-up descriptor consumed by ra8_dotf_open.

Bundles the typical cold-boot sequence (init -> install_key -> set_iv -> set_region -> enable) into a single descriptor so the bootloader can cross from "DOTF off" to "XiP armed" with a single call. Per-field semantics mirror the underlying setters.

cppcheck cannot see tests/ so it flags every member as unused; all fields are read by ra8_dotf_open in ra8_dotf.c.

Definition at line 690 of file ra8_dotf.h.

Field Documentation

◆ channel

uint8_t ra8_dotf_open_cfg_t::channel

0 = DOTF0, 1 = DOTF1.

Definition at line 691 of file ra8_dotf.h.

Referenced by internal_open_finalise(), internal_open_stage_key_iv_region(), and internal_open_validate_init().

◆ enable_after

bool ra8_dotf_open_cfg_t::enable_after

true => arm AES after staging.

Definition at line 696 of file ra8_dotf.h.

Referenced by internal_open_finalise().

◆ iv_words

uint32_t ra8_dotf_open_cfg_t::iv_words[4]

128-bit IV in word order.

Definition at line 693 of file ra8_dotf.h.

Referenced by internal_open_stage_key_iv_region().

◆ key

ra8_dotf_key_handle_t ra8_dotf_open_cfg_t::key

RSIP-wrapped key handle.

Definition at line 692 of file ra8_dotf.h.

Referenced by internal_open_stage_key_iv_region().

◆ region

ra8_dotf_region_t ra8_dotf_open_cfg_t::region

Initial conversion region.

Definition at line 694 of file ra8_dotf.h.

Referenced by internal_open_stage_key_iv_region().

◆ sca_level

ra8_dotf_sca_level_t ra8_dotf_open_cfg_t::sca_level

Side-channel level.

Definition at line 695 of file ra8_dotf.h.

Referenced by internal_open_finalise().


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