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

Conversion-area descriptor for ra8_dotf_set_region. More...

#include <ra8_dotf.h>

Data Fields

uint32_t start_addr
 First byte of the encrypted region (incl).
uint32_t end_addr
 Last byte of the encrypted region (incl).
uint8_t key_index
 RSIP key index (forwarded to install_key flow).
uint8_t region_id
 0..k_ra8_dotf_max_regions-1 staging slot.

Detailed Description

Conversion-area descriptor for ra8_dotf_set_region.

Per HUM Ch 45.3 p 3049 the start and end addresses must be 4 KB aligned and start_addr <= end_addr is mandatory. The driver rejects misaligned, inverted, out-of-window or overlap-with-other- channel regions before touching hardware.

cppcheck cannot see test code, so it complains about every field being unused; ra8_dotf_set_region reads them all.

Definition at line 172 of file ra8_dotf.h.

Field Documentation

◆ end_addr

uint32_t ra8_dotf_region_t::end_addr

Last byte of the encrypted region (incl).

Definition at line 174 of file ra8_dotf.h.

Referenced by internal_check_overlap(), internal_state_reset(), internal_validate_region(), and ra8_dotf_select_region().

◆ key_index

uint8_t ra8_dotf_region_t::key_index

RSIP key index (forwarded to install_key flow).

Definition at line 175 of file ra8_dotf.h.

Referenced by internal_state_reset().

◆ region_id

uint8_t ra8_dotf_region_t::region_id

0..k_ra8_dotf_max_regions-1 staging slot.

Definition at line 176 of file ra8_dotf.h.

Referenced by internal_open_stage_key_iv_region(), internal_state_reset(), internal_validate_region(), and ra8_dotf_set_region().

◆ start_addr

uint32_t ra8_dotf_region_t::start_addr

First byte of the encrypted region (incl).

Definition at line 173 of file ra8_dotf.h.

Referenced by internal_check_overlap(), internal_state_reset(), internal_validate_region(), and ra8_dotf_select_region().


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