libaaruformat 1.0
Aaru Data Preservation Suite - Format Library
Loading...
Searching...
No Matches
WiiuPartitionRegion Struct Reference

A Wii U partition region entry (in-memory representation). More...

#include </home/claunia/Development/Aaru/libaaruformat/src/wiiu/wiiu_crypto.h>

Data Fields

uint32_t start_sector
 First physical sector of partition (plaintext header).
uint32_t end_sector
 End physical sector (exclusive).
uint8_t key [16]
 AES-128 key for encrypted sectors in this partition.

Detailed Description

A Wii U partition region entry (in-memory representation).

Stores the physical sector range and AES-128 key for one partition. Physical sector numbers are in 0x8000-byte units (matching disc TOC). By convention, the partition's start_sector is a plaintext header; sectors [start_sector+1, end_sector) are encrypted with key.

Definition at line 48 of file wiiu_crypto.h.

Field Documentation

◆ end_sector

uint32_t WiiuPartitionRegion::end_sector

End physical sector (exclusive).

Definition at line 51 of file wiiu_crypto.h.

Referenced by wiiu_deserialize_partition_key_map().

◆ key

uint8_t WiiuPartitionRegion::key[16]

AES-128 key for encrypted sectors in this partition.

Definition at line 52 of file wiiu_crypto.h.

Referenced by wiiu_get_sector_key().

◆ start_sector

uint32_t WiiuPartitionRegion::start_sector

First physical sector of partition (plaintext header).

Definition at line 50 of file wiiu_crypto.h.

Referenced by wiiu_deserialize_partition_key_map().


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