#[repr(packed(1))]pub struct MetadataLen224 {Show 14 fields
pub major_version: u32,
pub minor_version: u32,
pub anti_rollback_version: u32,
pub root_cert_index: u32,
pub soc_version: [u32; 12],
pub feature_id: u32,
pub hardware_id: u32,
pub multi_serial_numbers: [u64; 8],
pub oem_id: u32,
pub model_id: u32,
pub oem_lifecycle_state: u64,
pub oem_root_cert_hash_algorithm: u32,
pub oem_root_cert_hash: [u8; 64],
pub flags: QtiFlagsV7,
}
Expand description
The 224 bytes QTI metadata and OEM metadata representation.
Only HashTableSegment
containing MbnHeaderV7
has 224 bytes metadata.
Fields§
§major_version: u32
Metadata major version.
minor_version: u32
Metadata minor version.
anti_rollback_version: u32
Anti-rollback version specifies the minimum supported version.
root_cert_index: u32
The active root certificate index in MRC (Multiple Root Certificate).
soc_version: [u32; 12]
Contains up to 12 unique SoC hardware version values.
feature_id: u32
SoC feature ID.
hardware_id: u32
The hardware ID is composed of JTAG ID.
multi_serial_numbers: [u64; 8]
Contains up to 8 serial numbers.
oem_id: u32
A 32-bit value served as CASS account ID for the OEM.
model_id: u32
Model ID prevents misuse of images across various models.
oem_lifecycle_state: u64
OEM lifecycle state.
0x200000000
: Development0xD00000000
: Production
oem_root_cert_hash_algorithm: u32
Hash algorithm used for OEM root certificate.
- 0: N/A
- 2: SHA256
- 3: SHA384
oem_root_cert_hash: [u8; 64]
OEM root certificate hash value.
Use the last 32 bytes when oem_root_cert_hash_algorithm
is 2 (SHA256) or the last 48 bytes when it is 3 (SHA384).
flags: QtiFlagsV7
See QtiFlagsV7
.
Implementations§
Trait Implementations§
Source§impl Clone for MetadataLen224
impl Clone for MetadataLen224
Source§fn clone(&self) -> MetadataLen224
fn clone(&self) -> MetadataLen224
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more