#[repr(packed(1))]pub struct MetadataLen120 {
pub major_version: u32,
pub minor_version: u32,
pub software_id: u32,
pub hardware_id: u32,
pub oem_id: u32,
pub model_id: u32,
pub app_id: u32,
pub flags: QtiFlagsV6,
pub soc_version: [u32; 12],
pub multi_serial_numbers: [u32; 8],
pub root_cert_index: u32,
pub anti_rollback_version: u32,
}
Expand description
The 120 bytes QTI metadata and OEM metadata representation.
Only HashTableSegment
containing MbnHeaderV6
has 120 bytes metadata.
Fields§
§major_version: u32
Metadata major version.
minor_version: u32
Metadata minor version.
software_id: u32
A 32-bit software type value of the image which specifies the signed image.
hardware_id: u32
The hardware ID is composed of JTAG ID.
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.
app_id: u32
Required for a TZ application.
flags: QtiFlagsV6
See QtiFlagsV6
.
soc_version: [u32; 12]
Contains up to 12 unique SoC hardware version values.
multi_serial_numbers: [u32; 8]
Contains up to 8 serial numbers.
root_cert_index: u32
The active root certificate index in MRC (Multiple Root Certificate).
anti_rollback_version: u32
Anti-rollback version specifies the minimum supported version.
Implementations§
Trait Implementations§
Source§impl Clone for MetadataLen120
impl Clone for MetadataLen120
Source§fn clone(&self) -> MetadataLen120
fn clone(&self) -> MetadataLen120
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MetadataLen120
impl Debug for MetadataLen120
Source§impl Default for MetadataLen120
impl Default for MetadataLen120
Source§fn default() -> MetadataLen120
fn default() -> MetadataLen120
Returns the “default value” for a type. Read more
Source§impl Display for MetadataLen120
impl Display for MetadataLen120
Source§impl From<MetadataLen120> for [u8; 120]
impl From<MetadataLen120> for [u8; 120]
Source§fn from(value: MetadataLen120) -> Self
fn from(value: MetadataLen120) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MetadataLen120
impl PartialEq for MetadataLen120
impl Copy for MetadataLen120
impl Eq for MetadataLen120
impl StructuralPartialEq for MetadataLen120
Auto Trait Implementations§
impl Freeze for MetadataLen120
impl RefUnwindSafe for MetadataLen120
impl Send for MetadataLen120
impl Sync for MetadataLen120
impl Unpin for MetadataLen120
impl UnwindSafe for MetadataLen120
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more