Software APIs
partition_info Struct Reference

Data Fields

uint32_t start_addr
 The absolute OTP address at which this partition starts.
 
uint32_t len
 The length of this partition, in bytes, including the digest and the zeroization marker.
 
uint32_t align_mask
 The alignment mask for this partition.
 
bool is_software
 Whether this is a software-managed partition with a software-managed digest.
 
bool has_digest
 Whether this partition has a digest field.
 
bool is_lifecycle
 Whether this partition is the lifecycle partition.
 
bool is_zeroizable
 Whether this partition is zeroizable.
 

Detailed Description

Definition at line 424 of file dif_otp_ctrl.c.

Field Documentation

◆ align_mask

uint32_t partition_info::align_mask

The alignment mask for this partition.

A valid address for this partition must be such that addr & align_mask == 0.

Definition at line 444 of file dif_otp_ctrl.c.

◆ has_digest

bool partition_info::has_digest

Whether this partition has a digest field.

Definition at line 455 of file dif_otp_ctrl.c.

◆ is_lifecycle

bool partition_info::is_lifecycle

Whether this partition is the lifecycle partition.

Definition at line 460 of file dif_otp_ctrl.c.

◆ is_software

bool partition_info::is_software

Whether this is a software-managed partition with a software-managed digest.

Definition at line 450 of file dif_otp_ctrl.c.

◆ is_zeroizable

bool partition_info::is_zeroizable

Whether this partition is zeroizable.

Definition at line 465 of file dif_otp_ctrl.c.

◆ len

uint32_t partition_info::len

The length of this partition, in bytes, including the digest and the zeroization marker.

If the partition has a digest, it is expected to be at address start_addr + len - sizeof(uint64_t), or at start_addr + len - 2 * sizeof(uint64_t) if the partition is zeroizable.

Definition at line 437 of file dif_otp_ctrl.c.

◆ start_addr

uint32_t partition_info::start_addr

The absolute OTP address at which this partition starts.

Definition at line 428 of file dif_otp_ctrl.c.